示例#1
0
 public void land()
 {
     if (airTrafficController.isLandingOk())
     {
         Console.WriteLine("Successfully Landed.");
         airTrafficController.setLandingStatus(true);
     }
     else
     {
         Console.WriteLine("Waiting for landing.");
     }
 }
示例#2
0
 public void land()
 {
     Console.WriteLine("Landing permission granted.");
     airTrafficController.setLandingStatus(true);
 }
示例#3
0
 public Runway(IAirTrafficControl atControl)
 {
     this.airTrafficController = atControl;
     atControl.setLandingStatus(true);
 }