add k maybe wrong hint

This commit is contained in:
2025-11-06 16:39:28 +08:00
parent 4b6af405fd
commit 7c7e69bee5

View File

@@ -224,7 +224,7 @@ namespace TetraPackOCR
CloseCC24();
if (myJobManagerDET == null)
Environment.Exit(0);
System.Environment.Exit(0);
}
catch
{
@@ -1146,7 +1146,14 @@ namespace TetraPackOCR
//画定位的十字点
CPMARunStatus.DrawPointMarker(xx, yy, CogMisc.DegToRad(rr), CogColorConstants.Orange, Location_Display, ".");
log.Info("定位计算已完成。");
SendToPLC(xx, yy, rr);
if (xx > 350)
{
log.Error("定位横向轴偏左,疑似倒数第二张图,请重新摆放后识别");
NoticePLCCompleteDet(DataConverter.FloatToByte(0.0f, true));
}
else
SendToPLC(xx, yy, rr);
}
else
{