diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-11-04 19:05:32 +0200 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-11-04 19:05:32 +0200 |
| commit | 7722d51930bcc1240b0c5e3ad54c9be7da73309d (patch) | |
| tree | 488ff1b9ad68583694ac0c2c8e7b51fa691f22e4 /Software/Visual_Studio/PPC/Tango.PPC.Shared | |
| parent | 32438c457c4e5c0103c7ba2a3c86b4a5638d6335 (diff) | |
| download | Tango-7722d51930bcc1240b0c5e3ad54c9be7da73309d.tar.gz Tango-7722d51930bcc1240b0c5e3ad54c9be7da73309d.zip | |
Some more work on StatisticsService.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Shared')
5 files changed, 20 insertions, 4 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/Filters.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/Filters.cs index 0438c699a..d15b3784b 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/Filters.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/Filters.cs @@ -10,7 +10,7 @@ namespace Tango.PPC.Shared.Statistics { public DateTime StartDateUTC { get; set; } public DateTime EndDateUTC { get; set; } - public List<String> Threads { get; set; } + public List<String> RmlGuids { get; set; } public String JobName { get; set; } public int MinLength { get; set; } public int MaxLength { get; set; } @@ -19,7 +19,7 @@ namespace Tango.PPC.Shared.Statistics public Filters() { - Threads = new List<string>(); + RmlGuids = new List<string>(); EndStatuses = new List<int>(); } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/PresentationJob.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/PresentationJob.cs index ac6b6dcab..b96aa5524 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/PresentationJob.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/PresentationJob.cs @@ -8,6 +8,7 @@ namespace Tango.PPC.Shared.Statistics { public class PresentationJob { + public int ID { get; set; } public List<PresentationSegment> Segments { get; set; } public PresentationJob() diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/RequiredFiltersData.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/RequiredFiltersData.cs index 6b934fa49..da2e6ca42 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/RequiredFiltersData.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/RequiredFiltersData.cs @@ -8,13 +8,13 @@ namespace Tango.PPC.Shared.Statistics { public class RequiredFiltersData { - public List<String> Rmls { get; set; } + public List<ThreadFilterData> Rmls { get; set; } public List<String> Jobs { get; set; } public RequiredFiltersData() { - Rmls = new List<string>(); + Rmls = new List<ThreadFilterData>(); Jobs = new List<string>(); } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/ThreadFilterData.cs b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/ThreadFilterData.cs new file mode 100644 index 000000000..fc76240df --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Statistics/ThreadFilterData.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.PPC.Shared.Statistics +{ + public class ThreadFilterData + { + public String Guid { get; set; } + public String Name { get; set; } + } +} diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj index 7761d401b..5b66527aa 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj +++ b/Software/Visual_Studio/PPC/Tango.PPC.Shared/Tango.PPC.Shared.csproj @@ -133,6 +133,7 @@ <Compile Include="Statistics\PresentationJob.cs" /> <Compile Include="Statistics\PresentationSegment.cs" /> <Compile Include="Statistics\StatisticsResult.cs" /> + <Compile Include="Statistics\ThreadFilterData.cs" /> <Compile Include="Updates\GetUpdatesAndPackagesRequest.cs" /> <Compile Include="Updates\GetUpdatesAndPackagesResponse.cs" /> <Compile Include="Updates\PackageInstallation.cs" /> |
