diff --git a/Modules/Mainframe/TMs/Routines/TMSlitValveRoutine.cs b/Modules/Mainframe/TMs/Routines/TMSlitValveRoutine.cs index 7b9d96b0..8c803fe9 100644 --- a/Modules/Mainframe/TMs/Routines/TMSlitValveRoutine.cs +++ b/Modules/Mainframe/TMs/Routines/TMSlitValveRoutine.cs @@ -217,17 +217,17 @@ namespace SicModules.TMs.Routines if (isAtmMode) { - //if (_pmPT1.FeedBack < atmBase) - //{ - // EV.PostWarningLog(Module, $"can not open slit valve, running in ATM mode, but {_paramTarget} not in ATM"); - // return Result.FAIL; - //} + if (_pmPT1.FeedBack < atmBase) + { + EV.PostAlarmLog(Module, $"can not open slit valve, running in ATM mode, but {_paramTarget} not in ATM"); + return Result.FAIL; + } } else { if (_pmPT1.FeedBack > vacBase) { - EV.PostWarningLog(Module, $"can not open slit valve, {_paramTarget} not in vacuum"); + EV.PostAlarmLog(Module, $"can not open slit valve, {_paramTarget} not in vacuum"); return Result.FAIL; } }