currentnode 값으로 lasttag 값을 복원
This commit is contained in:
@@ -11,7 +11,6 @@ namespace Project
|
||||
public string NodeId { get; set; }
|
||||
public AgvDirection Direction { get; set; }
|
||||
|
||||
|
||||
public AGVTurn Turn { get; set; }
|
||||
public DateTime SaveTime { get; set; }
|
||||
public string PrevNode { get; set; }
|
||||
|
||||
@@ -285,6 +285,10 @@ namespace Project
|
||||
PUB._virtualAGV.SetPosition(curNode, lastPos.Direction);
|
||||
PUB._mapCanvas.SetAGVPosition(PUB.setting.MCID, curNode, lastPos.Direction);
|
||||
sb.AppendLine($"현재: {curNode.ID2}, {lastPos.Direction}");
|
||||
|
||||
//agv정보의 마지막 태그값도 복원한다
|
||||
PUB.AGV.data.TagNo = curNode.RfidId;
|
||||
PUB.Result.LastTAG = PUB.AGV.data.TagNo;
|
||||
}
|
||||
if (staNode != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user