소스 검색

update robot abort

chenkui 3 달 전
부모
커밋
24c6be2f94
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  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)
             {