|
@@ -1807,7 +1807,7 @@ namespace TeamAAS_VP.Core
|
|
|
//拍1打1
|
|
//拍1打1
|
|
|
if (systemConfig.WorkMode == 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.X_Position = UpCameraPutResults[1].X + DowmCameraResults[1].X;
|
|
|
point.Y_Position = UpCameraPutResults[1].Y + DowmCameraResults[1].Y;
|
|
point.Y_Position = UpCameraPutResults[1].Y + DowmCameraResults[1].Y;
|
|
|
await point.WriteToPlcAddress(addressConfig.Out_Screw, plc);
|
|
await point.WriteToPlcAddress(addressConfig.Out_Screw, plc);
|