|
@@ -39,14 +39,16 @@ namespace Venus_RT.Modules.TM
|
|
|
|
|
|
public RState Start(params object[] objs)
|
|
|
{
|
|
|
- if(objs.Length > 0)
|
|
|
+
|
|
|
+ bool isLoadLock = (ModuleHelper.IsLoadLock(Module));
|
|
|
+ if (objs.Length > 0 && isLoadLock)
|
|
|
{
|
|
|
_needCooling = (bool)objs[0];
|
|
|
_coolingMFCFlow = SC.GetValue<double>($"{Module}.Cooling.MFCFlow");
|
|
|
}
|
|
|
|
|
|
_skipRepeatVent = false;
|
|
|
- if ((ModuleHelper.IsLoadLock(Module)) && !_needCooling && IsPressureReady())
|
|
|
+ if (isLoadLock && !_needCooling && IsPressureReady())
|
|
|
_skipRepeatVent = true; ;
|
|
|
|
|
|
_JetTM.TurnSoftPumpValve(Module, false);
|