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()) {