[RT.Equipment]
函数DoIfInterlockEnabled更名为DoIfInterlockNotBypassed。 修正DoIfInterlockNotBypassed方法读取PM BypassInterlock参数路径错误的问题。
This commit is contained in:
parent
53432a840a
commit
5aba7fa7de
|
@ -60,13 +60,13 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.PMs
|
|||
/// 检查是否Bypass了Interlock。
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected void DoIfInterlockEnabled(Action action)
|
||||
protected void DoIfInterlockNotBypassed(Action action)
|
||||
{
|
||||
// 读取系统配置
|
||||
var byPassInterlock = SC.GetValue<bool>($"{Module}.BypassInterlock");
|
||||
var byPassInterlock = SC.GetValue<bool>($"PM.{Module}.BypassInterlock");
|
||||
|
||||
if (byPassInterlock)
|
||||
EV.PostWarningLog(Module, $"{Module}.BypassInterlock is True");
|
||||
EV.PostWarningLog(Module, $"PM.{Module}.BypassInterlock is True");
|
||||
else
|
||||
action.Invoke();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue