修复关闭软件重新打开软件 启动设备后,在安全门打开的情况下设备能正常启动

master
lhiven 1 year ago
parent d8dd84ebe4
commit 34ba789b36

@ -151,6 +151,13 @@ namespace Rs.MotionPlat.Commom
public static void Start() public static void Start()
{
//先检测门禁
if(IoManager.Instance.ReadIn("后安全门禁")==0)
{
MessageQueue.Instance.Warn("door opened,please close door!!!");
}
else
{ {
bool run = true; bool run = true;
if (GlobalVar.EnableVirtuleBarCode) if (GlobalVar.EnableVirtuleBarCode)
@ -187,6 +194,7 @@ namespace Rs.MotionPlat.Commom
}); });
} }
} }
}
public static void Stop() public static void Stop()
{ {

Loading…
Cancel
Save