diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-21 05:10:59 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-21 05:10:59 +0300 |
| commit | 573eed2d8575a29d09c9602acf1f2765adc9abcb (patch) | |
| tree | 1c5d1b7b1f606b69e79d33097aade57571cc194e /Software/Visual_Studio/Web | |
| parent | 7956c30b196eb5d0d322c08bd5125eaae30f69e5 (diff) | |
| download | Tango-573eed2d8575a29d09c9602acf1f2765adc9abcb.tar.gz Tango-573eed2d8575a29d09c9602acf1f2765adc9abcb.zip | |
DataStore Synchronization !
Diffstat (limited to 'Software/Visual_Studio/Web')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs index 2eb2b01c4..fbc4f8a0a 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs @@ -582,7 +582,7 @@ namespace Tango.MachineService.Controllers db.DataStoreItems.Add(dataStoreItem); db.SaveChanges(); } - else if (dataStoreItem.LastUpdated > existingItem.LastUpdated) + else if (dataStoreItem.LastUpdated >= existingItem.LastUpdated) { existingItem.DataType = dataStoreItem.DataType; existingItem.Value = dataStoreItem.Value; |
