public Mission() { generateTime = null; startTime = null; finishTime = null; status = MissionStatus.waiting; agv = null; MissionsCount++; ID = MissionsCount; }
} // 任务的终点 public Mission(Point mssionStartPoint, Point mssionEndPoint) { generateTime = System.DateTime.Now; startTime = null; finishTime = null; status = MissionStatus.waiting; agv = null; this.mssionStartPoint = mssionStartPoint; this.mssionEndPoint = mssionEndPoint; MissionsCount++; ID = MissionsCount; }
public void AllocateAGV(AGVWPF agv) { this.agv = agv; startTime = System.DateTime.Now; status = MissionStatus.executing; }