From 8b7a4f49dddb3ff8d57f33c43413c9dc96de7c0e Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 16 May 2019 11:55:03 +0300 Subject: Added SUSPEND_VERSION_UPDATE Added PERFORM_SCHEMA_UPDATE Added DEVICE_COM_PORT fields to DB, MS, PPC. --- .../PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs index fa9c95742..39ff7e54d 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs @@ -145,6 +145,12 @@ namespace Tango.PPC.Common.MachineSetup LogManager.Log($"Machine setup response received: {Environment.NewLine}{setup_response.ToJsonString()}"); + if (!String.IsNullOrWhiteSpace(setup_response.DeviceComPort)) + { + settings.EmbeddedComPort = setup_response.DeviceComPort; + settings.Save(); + } + if (setup_response.SetupFirmware) { //Connecting to machine... -- cgit v1.3.1