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 | |
| 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')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs | 8 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest | 2 |
2 files changed, 9 insertions, 1 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) diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest b/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest index d72e75011..efc5f8179 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest @@ -16,7 +16,7 @@ Remove this element if your application requires this virtualization for backwards compatibility. --> - <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> + <!--<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />--> </requestedPrivileges> </security> </trustInfo> |
