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

master
lhiven 2 years ago
parent d8dd84ebe4
commit 34ba789b36

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

Loading…
Cancel
Save