diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-21 18:27:13 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-21 18:27:13 +0200 |
| commit | de5315c050369dd7d2cc7cdc2b82e9cde0d6da24 (patch) | |
| tree | 2cf2436f58182e3841471880cee90b0993c9e033 /Software/Visual_Studio/PPC/Tango.PPC.Common/Connection | |
| parent | e1506d483f8f7beadb1367d6a00acfb4754183fc (diff) | |
| download | Tango-de5315c050369dd7d2cc7cdc2b82e9cde0d6da24.tar.gz Tango-de5315c050369dd7d2cc7cdc2b82e9cde0d6da24.zip | |
Testing some external bridge communication..
Implemented external bridge application logs routing !!!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Connection')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs | 8 |
1 files changed, 8 insertions, 0 deletions
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) |
