1.UnloadServo超时时间可配置

This commit is contained in:
HCL 2023-12-28 15:44:49 +08:00
parent 63fd0f7a10
commit 4baba50d5f
2 changed files with 4 additions and 2 deletions

View File

@ -32,6 +32,7 @@ namespace SicModules.UnLoads.Routines
private int _slowPumpTimeout = 100; private int _slowPumpTimeout = 100;
private int _fastPumpTimeout = 100; private int _fastPumpTimeout = 100;
private int _slowVentTimeout = 100; private int _slowVentTimeout = 100;
private int _fastVentTimeout = 100;
private int _ventDelayTime; private int _ventDelayTime;
@ -63,6 +64,7 @@ namespace SicModules.UnLoads.Routines
_ventDelayTime = SC.GetValue<int>("UnLoad.Vent.VentDelayTime"); _ventDelayTime = SC.GetValue<int>("UnLoad.Vent.VentDelayTime");
_fastVentTimeout = SC.GetValue<int>("UnLoad.Vent.FastVentTimeout");
string reason; string reason;
if (!UnLoadDevice.SetFastVentValve(false, out reason) || !UnLoadDevice.SetSlowVentValve(false, out reason)) if (!UnLoadDevice.SetFastVentValve(false, out reason) || !UnLoadDevice.SetSlowVentValve(false, out reason))
@ -140,7 +142,7 @@ namespace SicModules.UnLoads.Routines
} }
else else
{ {
SlowVent((int)RoutineStep.SlowVent, _targetPressure, _slowVentTimeout); SlowVent((int)RoutineStep.SlowVent, _targetPressure, _fastVentTimeout);
if (_useSettingValue) if (_useSettingValue)
{ {

View File

@ -54,5 +54,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("1.1.4.12")] [assembly: AssemblyVersion("1.1.4.13")]
[assembly: AssemblyInformationalVersion("自动通用版有EFEM")] [assembly: AssemblyInformationalVersion("自动通用版有EFEM")]