diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-17 02:08:31 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-17 02:08:31 +0200 |
| commit | d99c80d6633d2932cf67fc7013100a639882c6dc (patch) | |
| tree | adfd15f59a653699e26818e19319ee40e4dce063 /Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization | |
| parent | bdf56799cd6c4c42ec7a8dc36f56ddd17a5feeab (diff) | |
| download | Tango-d99c80d6633d2932cf67fc7013100a639882c6dc.tar.gz Tango-d99c80d6633d2932cf67fc7013100a639882c6dc.zip | |
Implemented PPC Updates/Synchronization View.
Refactored database updates to be deleted if no differences.
Updated MS and PPC with Offline Updates.
Refactored Machine Designer Updates View to take only last 100 update entries.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs index 22c3dbe20..7520026e4 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs @@ -463,10 +463,10 @@ namespace Tango.PPC.Common.Synchronization request.FirmwareVersion = _appManager.FirmwareVersion.ToString(); UpdateCurrentStatus(SynchronizationState.Synchronizing, "Uploading machine data..."); - LogManager.Log($"Uploading machine data:\nJobs: {request.Jobs.Count}\nJob Runs: {request.JobRuns.Count}\nEvents: {request.MachineEvents.Count}"); + LogManager.Log($"Uploading machine data:\nJobs: {request.Jobs.Count}\nJob Runs: {request.JobRuns.Count}\nEvents: {request.MachineEvents.Count}\nOffline Updates: {request.OfflineUpdates.Count}"); var response = await this.client.UploadMachineData(request); notifyToken = response.NotifyCompletedToken; - LogManager.Log($"Upload response received:\nFailed Jobs: {response.FailedJobs.Count}\nFailed Job Runs: {response.FailedJobRuns.Count}\nFailed Events: {response.FailedMachineEvents.Count}"); + LogManager.Log($"Upload response received:\nFailed Jobs: {response.FailedJobs.Count}\nFailed Job Runs: {response.FailedJobRuns.Count}\nFailed Events: {response.FailedMachineEvents.Count}\nFailed Offline Updates: {response.FailedOfflineUpdates.Count}"); LogManager.Log("Finalizing upload..."); UpdateCurrentStatus(SynchronizationState.Synchronizing, "Finalizing upload..."); await FinalizeMachineDataUpload(request, response); |
