경로로직

This commit is contained in:
backuppc
2026-03-03 17:29:27 +09:00
parent 1a4b8a6a54
commit 30e1ce41ee
17 changed files with 462 additions and 598 deletions

View File

@@ -39,9 +39,9 @@ namespace Project
else if (PUB.sm.RunStepSeq == idx++)
{
//장비 노드 여부 확인 (버퍼가 아닌 도킹 가능 노드여야 함)
if (PUB._virtualAGV.CurrentNode.StationType != StationType.Loader &&
PUB._virtualAGV.CurrentNode.StationType != StationType.Plating &&
PUB._virtualAGV.CurrentNode.StationType != StationType.Cleaner)
if (PUB._virtualAGV.CurrentNode.StationType != Station.Loder &&
PUB._virtualAGV.CurrentNode.StationType != Station.Plating &&
PUB._virtualAGV.CurrentNode.StationType != Station.Cleaner)
{
SetRunStepError(ENIGProtocol.AGVErrorCode.NOT_EQUIPMENTPOINT, $"[{funcname}-{PUB.sm.RunStepSeq}] 현재 위치가 장비 노드가 아닙니다({PUB._virtualAGV.CurrentNode.StationType})");
return false;