浏览代码

update sunway robot

chenkui 2 月之前
父节点
当前提交
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();