示例#1
0
 public static void PrepareForTakeOff(string flighNo, string strip)
 {
     AirPlane plane = new AirPlane();
     plane.Clean();
     ControlTower tower = new ControlTower();
     DateTime time = tower.FindNextSlotForStrip(strip);
     Flight flight = new Flight(plane);
     flight.DepartureAtTime(time);
 }
示例#2
0
 public Flight(AirPlane plane)
 {
     this.plane = plane;
 }