Beispiel #1
0
 public TaskForRobot(double[] pickUpPoint, double[] dropOffPoint, Crate crate, PickUpTarget pickUpTarget, DropOffTarget dropOffTarget)
 {
     _pickUpPoint   = pickUpPoint;
     _dropOffPoint  = dropOffPoint;
     _pickUpCrate   = crate;
     _pickUpTarget  = pickUpTarget;
     _dropOffTarget = dropOffTarget;
 }
Beispiel #2
0
 public RobotTask(List <double[]> pickUpTask, List <double[]> dropOffTask, Crate pickUpCrate, PickUpTarget pickUpTarget, DropOffTarget dropOffTarget)
 {
     this._pickUpTask    = pickUpTask;
     this._dropOffTask   = dropOffTask;
     this._pickUpCrate   = pickUpCrate;
     this._pickUpTarget  = pickUpTarget;
     this._dropOffTarget = dropOffTarget;
 }
Beispiel #3
0
 public void GiveTask(RobotTask rt)
 {
     pickupTask     = rt.pickUpTask;
     dropoffTask    = rt.dropOffTask;
     _pickupCrate   = rt.pickUpCrate;
     _pickUpTarget  = rt.pickUpTarget;
     _dropOffTarget = rt.dropOffTarget;
     HandleTask();
 }
Beispiel #4
0
 public PickUpRefinedCrateRequest(PickUpTarget refinery, Crate pickUpCrate)
 {
     this.refinery    = refinery;
     this.pickUpCrate = pickUpCrate;
 }