Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.BackgroundColor = ConsoleColor.Blue;
            Console.Clear();
            Console.ForegroundColor = ConsoleColor.White;

            BaseCommander     A = new BaseCommander();
            AirTrafficControl B = new AirTrafficControl();
            Crew           C    = new Crew();
            LoadTeamChief  D    = new LoadTeamChief();
            Driver         E    = new Driver();
            Driver         E2   = new Driver();
            RampController F    = new RampController();
            Handler        H    = new Handler();

            Console.WriteLine("The beginning of the mission: The commander states his needs.\n");
            Thread.Sleep(2000);
            A.Brief();
            Thread.Sleep(2000);
            D.Salute();
            Thread.Sleep(1500);
            A.ReturnSalute();
            Thread.Sleep(2000);

            Console.WriteLine("The Team Cheif gets his crew\n");
            Thread.Sleep(2000);
            D.Brief();
            Thread.Sleep(2000);

            Console.WriteLine("The Load team prepares the load \n");
            H.BuildPallet();
            Thread.Sleep(2000);
            E.GetVehicleForklift();
            Thread.Sleep(2000);
            E.LoadForkLift();
            Thread.Sleep(2000);
            E2.GetVehicleKLoader();
            Thread.Sleep(2000);
            E.LoadKLoader();
            Thread.Sleep(2000);
            E2.DriveToFlightLine();
            Thread.Sleep(2000);

            Console.WriteLine("The Load team loadsv the pallet \n");
            Thread.Sleep(2000);
            F.ArriveAtAirCraft();
            D.ReceiveMessage();
            Thread.Sleep(2000);
            F.RequestOpenDoor();
            Thread.Sleep(2000);
            C.OpenAirCraftDoor();
            Thread.Sleep(2000);
            E2.ApproachAirCraft();
            Thread.Sleep(2000);
            F.StartLoad();
            Thread.Sleep(2000);
            D.ReceiveMessage();
            Thread.Sleep(2000);
            H.PushPallet();
            Thread.Sleep(2000);
            H.TieDownPallet();
            Thread.Sleep(2000);
            F.NotifyCrew();
            Thread.Sleep(2000);
            C.InspectLoad();
            Thread.Sleep(2000);
            C.ApproveLoad();
            Thread.Sleep(2000);
            F.EndLoad();
            Thread.Sleep(2000);
            D.ReceiveMessage();
            Thread.Sleep(2000);
            F.DismissLoadTeam();
            Thread.Sleep(2000);
            C.StartAirCraftEngines();
            Thread.Sleep(2000);

            Console.WriteLine("The AirCraft Departs.\n");
            C.RequestTakeOff();
            Thread.Sleep(2000);
            B.ApproveTakeoff();
            Thread.Sleep(2000);
            C.TakeOff();
            Thread.Sleep(2000);
            F.CallDeparture();
            Thread.Sleep(2000);
            D.ReceiveMessage();
            Thread.Sleep(2000);
            B.Brief();
            Thread.Sleep(2000);

            Console.WriteLine("==========================================MISSION COMPLETE===========================================");
        }