Пример #1
0
 public Mission()
 {
     generateTime = null;
     startTime    = null;
     finishTime   = null;
     status       = MissionStatus.waiting;
     agv          = null;
     MissionsCount++;
     ID = MissionsCount;
 }
Пример #2
0
        }                                                     // 任务的终点

        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;
        }
Пример #3
0
 public void AllocateAGV(AGVWPF agv)
 {
     this.agv  = agv;
     startTime = System.DateTime.Now;
     status    = MissionStatus.executing;
 }