public void Land(Plane plane, LandingRunwayStation runway)
 {
     SetPlaneHistory(plane, runway);
     SetPlaneLandedProp(plane);
     simulatorService.AttachPlaneToStation(plane, runway);
     DbUpdate(plane, runway, FlightActionsEnum.Landing);
     InvokeNotifierAction(plane);
     simulatorService.TimeToSleep(1500);
 }
Beispiel #2
0
        public void Takeoff(Plane plane, TakeoffRunwayStation runway)
        {
            simulatorService.AttachPlaneToStation(plane, runway);
            AddTakeoffToDb(plane, runway);
            TakeoffTime();
            InvokeNotifierAction(plane);
            AddHistoryToDB(plane);

            Clear(plane, runway);
            RemovePlaneFromWaitersList(plane, runway);
            simulatorService.InvokeStationCleared(runway);
            simulatorService.InvokeTakeoffCompleted(runway);
        }