From de5315c050369dd7d2cc7cdc2b82e9cde0d6da24 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 21 Jan 2019 18:27:13 +0200 Subject: Testing some external bridge communication.. Implemented external bridge application logs routing !!! --- .../PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs index 7c6287933..2a0392dd6 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs @@ -132,6 +132,8 @@ namespace Tango.PPC.Common.Connection await MachineOperator.Connect(); + await Task.Delay(1000); + await MachineOperator.UploadHardwareConfiguration(Machine.Configuration.HardwareVersion, Machine.Configuration); } else { @@ -142,6 +144,9 @@ namespace Tango.PPC.Common.Connection MachineOperator.JobHandlingMode = JobHandlerModes.SettingUp; MachineOperatorChanged?.Invoke(this, new MachineOperatorChangedEventArgs(MachineOperator, MachineOperator)); await MachineOperator.Connect(); + + await Task.Delay(1000); + await MachineOperator.UploadHardwareConfiguration(Machine.Configuration.HardwareVersion, Machine.Configuration); } } else @@ -162,6 +167,9 @@ namespace Tango.PPC.Common.Connection LogManager.Log("Connecting machine operator..."); MachineOperatorChanged?.Invoke(this, new MachineOperatorChangedEventArgs(MachineOperator, MachineOperator)); await MachineOperator.Connect(); + + await Task.Delay(1000); + await MachineOperator.UploadHardwareConfiguration(Machine.Configuration.HardwareVersion, Machine.Configuration); } } catch (Exception ex) -- cgit v1.3.1