This commit is contained in:
HCL 2024-03-28 13:25:47 +08:00
parent 08e2380624
commit 6ab1ede58b
1 changed files with 6 additions and 6 deletions

View File

@ -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;
}
}