From a8a7ee8215238228bf0416248b974868c72c806c Mon Sep 17 00:00:00 2001 From: lhiven Date: Sun, 11 May 2025 11:34:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=A6=81=E8=A2=AB=E8=AD=A6=E7=94=A8?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=BA=A2=E7=81=AF=E4=BC=9A=E4=B8=80=E7=9B=B4?= =?UTF-8?q?=E4=BA=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.DeweyTester/FormMain.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Rs.DeweyTester/FormMain.cs b/Rs.DeweyTester/FormMain.cs index edcab5c..09445ef 100644 --- a/Rs.DeweyTester/FormMain.cs +++ b/Rs.DeweyTester/FormMain.cs @@ -2,6 +2,7 @@ using Rs.Controls; using Rs.DataAccess; using Rs.Framework; +using Rs.Motion; using Rs.Motion.Base; using Rs.MotionPlat.Commom; using Rs.MotionPlat.Entitys; @@ -159,6 +160,14 @@ namespace Rs.MotionPlat } } + if(GlobalVar.DisableDoor) + { + if(!Ops.IsOutOn("报警红灯")) + { + IoManager.Instance.WriteOut("报警红灯", 1); + } + } + //获取运行信息 while (MessageQueue.Instance.HaveMessage()) {