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