diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-11-03 09:16:24 +0200 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-11-03 09:16:24 +0200 |
| commit | bcfaaf57b60a63acacf0651f5a69b45304abc132 (patch) | |
| tree | a8f7166e9b522af1af019c636825659ae1a84c44 /Software/Visual_Studio/FSE/Tango.FSE.Common | |
| parent | b93d7795c84da2e5317fd12d9a41cdd63fcb6659 (diff) | |
| download | Tango-bcfaaf57b60a63acacf0651f5a69b45304abc132.tar.gz Tango-bcfaaf57b60a63acacf0651f5a69b45304abc132.zip | |
FSE Statistics module starter.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Common')
4 files changed, 57 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/IStatisticsProvider.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/IStatisticsProvider.cs new file mode 100644 index 000000000..2f72b3b32 --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/IStatisticsProvider.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FSE.Common.Statistics +{ + public interface IStatisticsProvider + { + Task<StatisticsModel> GetStatistics(); + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/StatisticsFilterData.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/StatisticsFilterData.cs new file mode 100644 index 000000000..aa04574b0 --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/StatisticsFilterData.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.FSE.Common.Statistics +{ + public class StatisticsFilterData + { + public List<String> Rmls { get; set; } + + public List<String> Jobs { get; set; } + + public StatisticsFilterData() + { + Rmls = new List<string>(); + Jobs = new List<string>(); + } + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/StatisticsModel.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/StatisticsModel.cs new file mode 100644 index 000000000..d23105b30 --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/Statistics/StatisticsModel.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.BL.DTO; +using Tango.BL.Entities; + +namespace Tango.FSE.Common.Statistics +{ + public class StatisticsModel + { + public List<JobRun> JobRuns { get; set; } + + public StatisticsModel() + { + JobRuns = new List<JobRun>(); + } + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj b/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj index 3e389289e..47fb9a46e 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/Tango.FSE.Common.csproj @@ -322,6 +322,9 @@ <Compile Include="SQL\RemoteSqlCommand.cs" /> <Compile Include="SQL\RemoteSqlCommandMode.cs" /> <Compile Include="SQL\RemoteSqlCommandResult.cs" /> + <Compile Include="Statistics\IStatisticsProvider.cs" /> + <Compile Include="Statistics\StatisticsFilterData.cs" /> + <Compile Include="Statistics\StatisticsModel.cs" /> <Compile Include="Storage\IStorageProvider.cs" /> <Compile Include="Storage\IStorageResult.cs" /> <Compile Include="Storage\SingleStorageResult.cs" /> |
