diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-05-16 11:55:03 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-05-16 11:55:03 +0300 |
| commit | 8b7a4f49dddb3ff8d57f33c43413c9dc96de7c0e (patch) | |
| tree | 5bc6ec1061fe535985d2528778fb1aaf0067a351 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup | |
| parent | bc8f67547d767a22a5da85bef322a8c15503197c (diff) | |
| download | Tango-8b7a4f49dddb3ff8d57f33c43413c9dc96de7c0e.tar.gz Tango-8b7a4f49dddb3ff8d57f33c43413c9dc96de7c0e.zip | |
Added SUSPEND_VERSION_UPDATE
Added PERFORM_SCHEMA_UPDATE
Added DEVICE_COM_PORT
fields to DB, MS, PPC.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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... |
