Esempio n. 1
0
 public void MoveIt(Entrance source, Platform destination)
 {
     // Move one Box from Entrance Station and put it on StationA
     LastActivity = "EQ->A"; // One Possibility!
     Box box = source.Dequeue();
     destination.ServiceBox = box;
 }
Esempio n. 2
0
 public void MoveIt(Platform source, Platform destination)
 {
     // Place Holder
     LastActivity = source + "->" + destination;
     Box box = source.ServiceBox;
     source.ServiceBox = null;
     source.Status = StationStatus.Empty;
     destination.ServiceBox = box;
 }
Esempio n. 3
0
 public void MoveIt(Platform source, Inspector destination, int p)
 {
     LastActivity = "C->Ins";
     Box box = source.ServiceBox;
     source.ServiceBox = null;
     source.Status = StationStatus.Empty;
     if (p == 0)
     {
         destination.PushBoxToQueue(box);
     }
     else if (p == 1)
     {
         destination.Inspector1Box = box;
     }
     else if (p == 2)
     {
         destination.Inspector2Box = box;
     }
 }
Esempio n. 4
0
 public void LoadBox(Platform platform)
 {
     // Place Holder
 }