Commit 59605f9f 几米阳光

已经在复位中再次复位返回

1 个父辈 84e25c95
...@@ -913,6 +913,13 @@ namespace OnlineStore.DeviceLibrary ...@@ -913,6 +913,13 @@ namespace OnlineStore.DeviceLibrary
} }
else else
{ {
//判断已经在复位中并且没有报警,不需要重新复位
if (StoreMove.MoveType.Equals(StoreMoveType.StoreReset) && alarmType.Equals(StoreAlarmType.None))
{
LogUtil.error(LOGGER, "收到复位信号:已经在复位中且没有报警,不需要重新复位!");
}
else
{
//收到复位信号 //收到复位信号
LogUtil.info(LOGGER, "收到复位信号,自动复位"); LogUtil.info(LOGGER, "收到复位信号,自动复位");
WarnMsg = "收到复位信号,自动复位"; WarnMsg = "收到复位信号,自动复位";
...@@ -920,6 +927,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -920,6 +927,7 @@ namespace OnlineStore.DeviceLibrary
} }
} }
} }
}
//检查运动轴报警 //检查运动轴报警
if (storeRunStatus > StoreRunStatus.Wait && (!isInSuddenDown)) if (storeRunStatus > StoreRunStatus.Wait && (!isInSuddenDown))
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!