From e8cec64cf5c35b17fed6a1f8f4ea0665d4ddf39b Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Wed, 21 Oct 2020 04:06:23 +0300 Subject: DataStore EF ! --- .../PPC/Tango.PPC.Common/Web/DownloadMachineDataRequest.cs | 2 ++ .../PPC/Tango.PPC.Common/Web/DownloadMachineDataResponse.cs | 2 ++ .../Tango.PPC.Common/Web/NotifyMachineDataDownloadCompletedRequest.cs | 2 ++ .../Visual_Studio/PPC/Tango.PPC.Common/Web/UploadMachineDataRequest.cs | 2 ++ .../PPC/Tango.PPC.Common/Web/UploadMachineDataResponse.cs | 3 +++ 5 files changed, 11 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Web') 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 Jobs { get; set; } public List JobRuns { get; set; } public List MachineEvents { get; set; } + public List DataStoreItems { get; set; } public DownloadMachineDataResponse() { Jobs = new List(); JobRuns = new List(); MachineEvents = new List(); + DataStoreItems = new List(); } } } 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 SynchronizedJobs { get; set; } public List SynchronizedJobRuns { get; set; } public List SynchronizedMachineEvents { get; set; } + public List SynchronizedDataStoreItems { get; set; } public NotifyMachineDataDownloadCompletedRequest() { SynchronizedJobs = new List(); SynchronizedJobRuns = new List(); SynchronizedMachineEvents = new List(); + SynchronizedDataStoreItems = new List(); } } } 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 JobRuns { get; set; } public List MachineEvents { get; set; } public List OfflineUpdates { get; set; } + public List 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(); MachineEvents = new List(); OfflineUpdates = new List(); + DataStoreItems = new List(); } } } 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 FailedJobRuns { get; set; } public List FailedMachineEvents { get; set; } public List FailedOfflineUpdates { get; set; } + public List FailedDataStoreItems { get; set; } + public String NotifyCompletedToken { get; set; } public UploadMachineDataResponse() @@ -23,6 +25,7 @@ namespace Tango.PPC.Common.Web FailedJobRuns = new List(); FailedMachineEvents = new List(); FailedOfflineUpdates = new List(); + FailedDataStoreItems = new List(); } } } -- cgit v1.3.1