wanghan há 7 meses atrás
pai
commit
65da9fc437
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      TeamAAS-VM/Core/Management.cs

+ 1 - 1
TeamAAS-VM/Core/Management.cs

@@ -1807,7 +1807,7 @@ namespace TeamAAS_VP.Core
                             //拍1打1 
                             if (systemConfig.WorkMode == 1)
                             {
-                                var point = currentProduct.ScrewPoints[positionIndex-1].Clone();
+                                var point = currentProduct.ScrewPoints[positionIndex].Clone();
                                 point.X_Position = UpCameraPutResults[1].X + DowmCameraResults[1].X;
                                 point.Y_Position = UpCameraPutResults[1].Y + DowmCameraResults[1].Y;
                                 await point.WriteToPlcAddress(addressConfig.Out_Screw, plc);