aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Controllers
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-21 19:14:00 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-21 19:14:00 +0200
commit582c05b00aa1d0fd9086b4a245dcc987eee9fc39 (patch)
tree7b26e3b9b182a921ff9f69db63bc5f6972c205de /Software/Visual_Studio/Web/Tango.MachineService/Controllers
parent76cdf188e28544cd5056c30f35d77590d9a79cae (diff)
downloadTango-582c05b00aa1d0fd9086b4a245dcc987eee9fc39.tar.gz
Tango-582c05b00aa1d0fd9086b4a245dcc987eee9fc39.zip
Working some more on ActionLogs across MS.
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs
index 10a732221..ade8f88bc 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs
@@ -160,6 +160,8 @@ namespace Tango.MachineService.Controllers
tangoUpdate.UpdateStatus = TangoUpdateStatuses.SetupStarted;
db.TangoUpdates.Add(tangoUpdate);
+ machine.ProductionDate = DateTime.UtcNow;
+
db.SaveChanges();
_pendingUpdates.Add(new PPCPendingUpdate()