Compare commits

..

No commits in common. "2c75c8f0bd55519da32f224e009b184cbb245e6e" and "073d8fff6cd51967bb1aefe8f6cef028e84ee899" have entirely different histories.

View File

@ -597,7 +597,7 @@ namespace DHSoftware
//计数清零 //计数清零
PieceCount = 0; PieceCount = 0;
Thread.Sleep(100);
if (PLC?.Enable == true) if (PLC?.Enable == true)
{ {
PLC.OnNewPieces -= MainMotion_NewPieces; PLC.OnNewPieces -= MainMotion_NewPieces;
@ -611,18 +611,7 @@ namespace DHSoftware
cam.SnapshotCount = 0; cam.SnapshotCount = 0;
} }
}); });
Cameras.ForEach(d => {
if (d is CameraBase cam)
{
cam.SnapshotCount = 0;
}
});
HKCameras.ForEach(d => {
if (d is CameraBase cam)
{
cam.SnapshotCount = 0;
}
});
//PrepareBatchNO(); //PrepareBatchNO();
// isInPositionChecking = false; // isInPositionChecking = false;
//isFullTrayChecking = false; //isFullTrayChecking = false;