Commit a4651d4c 张东亮

1

1 个父辈 219495b4
...@@ -351,6 +351,11 @@ namespace AGVControl ...@@ -351,6 +351,11 @@ namespace AGVControl
public bool IsClearRunInfo = false; public bool IsClearRunInfo = false;
public string CurTaskName { get; set; } public string CurTaskName { get; set; }
/// <summary>
/// 剩余出库任务,针对包装仓出库
/// </summary>
public int LeftTaskCnt { get; set; } = 0;
public struct DockingStru public struct DockingStru
{ {
public DateTime startTime; public DateTime startTime;
......
...@@ -179,7 +179,12 @@ namespace AGVControl ...@@ -179,7 +179,12 @@ namespace AGVControl
Common.nodeInfo[idx].AgvName = ""; Common.nodeInfo[idx].AgvName = "";
DgvNode.Rows[idx].Cells[5].Value = ""; DgvNode.Rows[idx].Cells[5].Value = "";
} }
idx = Common.nodeInfo.FindIndex(s => s.AgvName == Common.agvInfo[e.RowIndex].Name);
if (idx > -1)
{
Common.nodeInfo[idx].AgvName = "";
DgvNode.Rows[idx].Cells[5].Value = "";
}
//添加Init任务 //添加Init任务
Common.mir.Add_Mission_Fleet(Common.agvInfo[e.RowIndex], Common.agvMission["Init"]); Common.mir.Add_Mission_Fleet(Common.agvInfo[e.RowIndex], Common.agvMission["Init"]);
Common.mir.State_Ready(Common.agvInfo[e.RowIndex]); Common.mir.State_Ready(Common.agvInfo[e.RowIndex]);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!