Browse Source

update robot abort

chenkui 2 weeks ago
parent
commit
24c6be2f94
1 changed files with 0 additions and 5 deletions
  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)
             {