소스 검색

update sunway robot

chenkui 5 달 전
부모
커밋
747b0bffa5
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      CyberX8_RT/Devices/EFEM/SunWayRobot.cs

+ 1 - 6
CyberX8_RT/Devices/EFEM/SunWayRobot.cs

@@ -63,12 +63,7 @@ namespace CyberX8_RT.Devices.EFEM
                 }
                 else if (_busyTrig.M)
                 {
-                    int timeOut = 5000;
-                    if(_currentMessage!=null&&_currentMessage.Operation==EfemOperation.Home||_currentMessage.Operation==EfemOperation.Load||
-                        _currentMessage.Operation==EfemOperation.Map)
-                    {
-                        timeOut = 30000;
-                    }
+                    int timeOut = 30000;
                     if (_busyWatch.ElapsedMilliseconds > timeOut)
                     {
                         _busyWatch.Stop();