Explorar o código

update robot abort

chenkui hai 3 semanas
pai
achega
24c6be2f94
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      CyberX8_RT/Devices/EFEM/SunWayRobot.cs

+ 0 - 5
CyberX8_RT/Devices/EFEM/SunWayRobot.cs

@@ -294,11 +294,6 @@ namespace CyberX8_RT.Devices.EFEM
 
         public override bool Halt()
         {
-            if (_status == RState.Running && _currentMessage != null)
-            {
-                LOG.WriteLog(eEvent.ERR_EFEM_COMMON_FAILED, Module.ToString(), $"Current Msg {_currentMessage.Operation} is Running,cannot halt");
-                return false;
-            }
             //判断socket是否链接
             if (!_socket.IsConnected)
             {