aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-21 05:10:59 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-21 05:10:59 +0300
commit573eed2d8575a29d09c9602acf1f2765adc9abcb (patch)
tree1c5d1b7b1f606b69e79d33097aade57571cc194e /Software/Visual_Studio/Web/Tango.MachineService
parent7956c30b196eb5d0d322c08bd5125eaae30f69e5 (diff)
downloadTango-573eed2d8575a29d09c9602acf1f2765adc9abcb.tar.gz
Tango-573eed2d8575a29d09c9602acf1f2765adc9abcb.zip
DataStore Synchronization !
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs2
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;