aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-05-20 14:18:17 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-05-20 14:18:17 +0300
commit84094ce335d9b51307b44729a5e43fe97f1d5f6a (patch)
treed4f4573ed8f25ddd2f02df5b55b750ea892d83c2 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
parent672dbf2bd4c1a2348d7c8e0ca79dce946078c569 (diff)
parent4130d9b00f5500fef2f9f1637dbe473942929958 (diff)
downloadTango-84094ce335d9b51307b44729a5e43fe97f1d5f6a.tar.gz
Tango-84094ce335d9b51307b44729a5e43fe97f1d5f6a.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs6
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...