diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-09-23 18:22:32 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-09-23 18:22:32 +0300 |
| commit | b5c5758e431077d84fb53a3ff62f8e751fca2731 (patch) | |
| tree | b866fcbb29e2346f121455f503bde63071c2af5e /Software/Visual_Studio/PPC/Tango.PPC.Common/Connection | |
| parent | d6974df76b1401f101ca3c7fc3182f73e493ca51 (diff) | |
| download | Tango-b5c5758e431077d84fb53a3ff62f8e751fca2731.tar.gz Tango-b5c5758e431077d84fb53a3ff62f8e751fca2731.zip | |
Implemented Insufficient liquid levels !!!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Connection')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs | 11 |
1 files changed, 5 insertions, 6 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 cd432538c..a16e2f649 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs @@ -89,6 +89,11 @@ namespace Tango.PPC.Common.Connection MachineOperator.GradientGenerationConfiguration.IsEnabled = settings.EnableGradientGeneration; MachineOperator.GradientGenerationConfiguration.ResolutionCM = settings.GradientGenerationResolution; + + MachineOperator.EmergencyNotificationProvider.Address = settings.EmergencyComPort; + MachineOperator.EmergencyNotificationProvider.IsEnabled = settings.EnableEmergencyNotifications; + + MachineOperator.EnableJobLiquidQuantityValidation = settings.EnableJobLiquidQuantityValidation; } private async void ConnectionThreadMethod() @@ -159,9 +164,6 @@ namespace Tango.PPC.Common.Connection await Task.Delay(1000); await MachineOperator.UploadHardwareConfiguration(Machine.Configuration.HardwareVersion, Machine.Configuration); MachineOperator.UseKeepAlive = true; - - MachineOperator.EmergencyNotificationProvider.Address = settings.EmergencyComPort; - MachineOperator.EmergencyNotificationProvider.IsEnabled = settings.EnableEmergencyNotifications; } } else @@ -184,9 +186,6 @@ namespace Tango.PPC.Common.Connection await Task.Delay(1000); await MachineOperator.UploadHardwareConfiguration(Machine.Configuration.HardwareVersion, Machine.Configuration); - - MachineOperator.EmergencyNotificationProvider.Address = settings.EmergencyComPort; - MachineOperator.EmergencyNotificationProvider.IsEnabled = settings.EnableEmergencyNotifications; } } catch (Exception ex) |
