From 5aba7fa7de7a0fa621d8a7a4480e28399f9ab369 Mon Sep 17 00:00:00 2001
From: SL <123@123.com>
Date: Tue, 15 Aug 2023 12:38:56 +0800
Subject: [PATCH] =?UTF-8?q?[RT.Equipment]=20=E5=87=BD=E6=95=B0DoIfInterloc?=
=?UTF-8?q?kEnabled=E6=9B=B4=E5=90=8D=E4=B8=BADoIfInterlockNotBypassed?=
=?UTF-8?q?=E3=80=82=20=E4=BF=AE=E6=AD=A3DoIfInterlockNotBypassed=E6=96=B9?=
=?UTF-8?q?=E6=B3=95=E8=AF=BB=E5=8F=96PM=20BypassInterlock=E5=8F=82?=
=?UTF-8?q?=E6=95=B0=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../LogicUnits/PMs/PMModuleBase.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/MECF.Framework.RT.EquipmentLibrary/LogicUnits/PMs/PMModuleBase.cs b/MECF.Framework.RT.EquipmentLibrary/LogicUnits/PMs/PMModuleBase.cs
index 8795061..d3ba420 100644
--- a/MECF.Framework.RT.EquipmentLibrary/LogicUnits/PMs/PMModuleBase.cs
+++ b/MECF.Framework.RT.EquipmentLibrary/LogicUnits/PMs/PMModuleBase.cs
@@ -60,13 +60,13 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.PMs
/// 检查是否Bypass了Interlock。
///
///
- protected void DoIfInterlockEnabled(Action action)
+ protected void DoIfInterlockNotBypassed(Action action)
{
// 读取系统配置
- var byPassInterlock = SC.GetValue($"{Module}.BypassInterlock");
+ var byPassInterlock = SC.GetValue($"PM.{Module}.BypassInterlock");
if (byPassInterlock)
- EV.PostWarningLog(Module, $"{Module}.BypassInterlock is True");
+ EV.PostWarningLog(Module, $"PM.{Module}.BypassInterlock is True");
else
action.Invoke();
}