林豪 左 il y a 3 ans
Parent
commit
4beb1df390
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      Projects/永冠OPP/WCS.Service/Works/RGV/RGVWorks.cs

+ 3 - 0
Projects/永冠OPP/WCS.Service/Works/RGV/RGVWorks.cs

@@ -176,6 +176,7 @@ namespace WCS.Service.Works.RGV
                             {
                                 obj.Move(station11);
                             }
+                            return;
                         }
 
                         //找到自己的后一个小车
@@ -210,6 +211,7 @@ namespace WCS.Service.Works.RGV
                         else if (pickStation.Entity.CODE == "G11")
                         {
                             obj.Move(Device.Find("G2").Create<StationDeviceGroup>());
+                            return;
                         }
                         else
                         {
@@ -231,6 +233,7 @@ namespace WCS.Service.Works.RGV
                             {
                                 obj.Move(station);
                             }
+                            return;
                         }
                     }