[RT.EquipmentLibrary]
1TCS补液,取消2延时关闭 2补液开始前,如果DI-73有信号,停止补液
This commit is contained in:
parent
e2ed568fbc
commit
0122cbc0ef
|
@ -637,6 +637,13 @@ namespace Aitex.Core.RT.Device.Devices
|
|||
EV.PostAlarmLog(Module, "DO_TCSSupplementing(DO-123) is not open,TCS supply failure");
|
||||
return;
|
||||
}
|
||||
|
||||
if ((_diTCSNormalLevel?.Value ?? false))//液位已经是Normal时,不补液
|
||||
{
|
||||
EV.PostInfoLog(Module, $"TCS supply , DI_TCSNormalLevel(DI-73) is true");
|
||||
_doTCSSupply.Value = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!_doTCSSupply.SetValue(true, out string reason))
|
||||
|
@ -670,14 +677,9 @@ namespace Aitex.Core.RT.Device.Devices
|
|||
|
||||
if (_diTCSNormalLevel?.Value ?? false)
|
||||
{
|
||||
Task.Delay(2000).ContinueWith(x =>
|
||||
{
|
||||
EV.PostInfoLog(Module, $"TCS supply , DI_TCSNormalLevel(DI-73) is true");
|
||||
_doTCSSupply.Value = false;
|
||||
});
|
||||
EV.PostInfoLog(Module, $"TCS supply , DI_TCSNormalLevel(DI-73) is true");
|
||||
_doTCSSupply.Value = false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue