diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-21 04:06:23 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-21 04:06:23 +0300 |
| commit | e8cec64cf5c35b17fed6a1f8f4ea0665d4ddf39b (patch) | |
| tree | b6818e4199eef7cb0b1e183aaf1af08cdba723e9 /Software/Visual_Studio/PPC/Tango.PPC.Common/Web | |
| parent | e54736fabf4338e9f98a7b8aba738180ae57c120 (diff) | |
| download | Tango-e8cec64cf5c35b17fed6a1f8f4ea0665d4ddf39b.tar.gz Tango-e8cec64cf5c35b17fed6a1f8f4ea0665d4ddf39b.zip | |
DataStore EF !
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Web')
5 files changed, 11 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataRequest.cs index 66fca8e36..bbb0e883b 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataRequest.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataRequest.cs @@ -14,9 +14,11 @@ namespace Tango.PPC.Common.Web public bool RequestJobs { get; set; } public bool RequestJobRuns { get; set; } public bool RequestMachineEvents { get; set; } + public bool RequestDataStoreItems { get; set; } public int MaxJobs { get; set; } public int MaxJobRuns { get; set; } public int MaxMachinesEvents { get; set; } + public int MaxDataStoreItems { get; set; } } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataResponse.cs index 5c3f7ba78..e90c7c2ac 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataResponse.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/DownloadMachineDataResponse.cs @@ -14,12 +14,14 @@ namespace Tango.PPC.Common.Web public List<JobDTO> Jobs { get; set; } public List<JobRunDTO> JobRuns { get; set; } public List<MachinesEventDTO> MachineEvents { get; set; } + public List<DataStoreItemDTO> DataStoreItems { get; set; } public DownloadMachineDataResponse() { Jobs = new List<JobDTO>(); JobRuns = new List<JobRunDTO>(); MachineEvents = new List<MachinesEventDTO>(); + DataStoreItems = new List<DataStoreItemDTO>(); } } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/NotifyMachineDataDownloadCompletedRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/NotifyMachineDataDownloadCompletedRequest.cs index fc135c234..fda7a4666 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/NotifyMachineDataDownloadCompletedRequest.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/NotifyMachineDataDownloadCompletedRequest.cs @@ -14,12 +14,14 @@ namespace Tango.PPC.Common.Web public List<String> SynchronizedJobs { get; set; } public List<String> SynchronizedJobRuns { get; set; } public List<String> SynchronizedMachineEvents { get; set; } + public List<String> SynchronizedDataStoreItems { get; set; } public NotifyMachineDataDownloadCompletedRequest() { SynchronizedJobs = new List<string>(); SynchronizedJobRuns = new List<string>(); SynchronizedMachineEvents = new List<string>(); + SynchronizedDataStoreItems = new List<string>(); } } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataRequest.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataRequest.cs index d7475819c..8eee667cd 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataRequest.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataRequest.cs @@ -15,6 +15,7 @@ namespace Tango.PPC.Common.Web public List<JobRunDTO> JobRuns { get; set; } public List<MachinesEventDTO> MachineEvents { get; set; } public List<TangoUpdateDTO> OfflineUpdates { get; set; } + public List<DataStoreItemDTO> DataStoreItems { get; set; } public String ApplicationVersion { get; set; } public String FirmwareVersion { get; set; } @@ -24,6 +25,7 @@ namespace Tango.PPC.Common.Web JobRuns = new List<JobRunDTO>(); MachineEvents = new List<MachinesEventDTO>(); OfflineUpdates = new List<TangoUpdateDTO>(); + DataStoreItems = new List<DataStoreItemDTO>(); } } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataResponse.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataResponse.cs index 0119c07b6..ba0b4089b 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataResponse.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataResponse.cs @@ -15,6 +15,8 @@ namespace Tango.PPC.Common.Web public List<SynchronizationFailedEntity> FailedJobRuns { get; set; } public List<SynchronizationFailedEntity> FailedMachineEvents { get; set; } public List<SynchronizationFailedEntity> FailedOfflineUpdates { get; set; } + public List<SynchronizationFailedEntity> FailedDataStoreItems { get; set; } + public String NotifyCompletedToken { get; set; } public UploadMachineDataResponse() @@ -23,6 +25,7 @@ namespace Tango.PPC.Common.Web FailedJobRuns = new List<SynchronizationFailedEntity>(); FailedMachineEvents = new List<SynchronizationFailedEntity>(); FailedOfflineUpdates = new List<SynchronizationFailedEntity>(); + FailedDataStoreItems = new List<SynchronizationFailedEntity>(); } } } |
