コード例 #1
0
        Section CreateLandingsSection()
        {
            landDay   = new NumericEntryElement("Day Landings", "Number of landings made during daylight hours.", Flight.DayLandings, 1, 99);
            landNight = new NumericEntryElement("Night Landings", "Number of landings made after dark.", Flight.NightLandings, 1, 99);

            return(new Section("Landings")
            {
                landDay, landNight
            });
        }
コード例 #2
0
 Section CreateInstrumentSection()
 {
     return(new Section("Instrument Experience")
     {
         (actual = new HobbsMeterEntryElement("Actual Time", "Time spent flying by instrumentation only.", Flight.InstrumentActual)),
         (hood = new HobbsMeterEntryElement("Hood Time", "Time spent flying under a hood.", Flight.InstrumentHood)),
         (simulator = new HobbsMeterEntryElement("Simulator Time", "Time spent practicing in a simulator.", Flight.InstrumentSimulator)),
         (approaches = new NumericEntryElement("Approaches", "The number of approaches made.", Flight.InstrumentApproaches, 1, 99)),
     });
 }
コード例 #3
0
        Section CreateInstrumentSection()
        {
            approaches  = new NumericEntryElement("Approaches", "The number of approaches made.", Flight.InstrumentApproaches, 1, 99);
            holds       = new NumericEntryElement("Holding Procedures", "The number of holding procedures made.", Flight.InstrumentHoldingProcedures, 1, 99);
            safetyPilot = new SafetyPilotEntryElement(Flight.InstrumentSafetyPilot)
            {
                AutoComplete = true
            };

            return(new Section("Instrument Experience")
            {
                approaches, holds, safetyPilot
            });
        }
コード例 #4
0
 Section CreateExperienceSection()
 {
     return(new Section("Flight Experience")
     {
         (total = new HobbsMeterEntryElement("Flight Time", "Total flight time, as measured on the Hobbs Meter.", Flight.FlightTime)),
         (cfi = new HobbsMeterEntryElement("C.F.I.", "Time spent sweating only on the right side of your face.", Flight.CertifiedFlightInstructor)),
         (pic = new HobbsMeterEntryElement("P.I.C.", "Time spent as Pilot in Command.", Flight.PilotInCommand)),
         (sic = new HobbsMeterEntryElement("S.I.C.", "Time spent as Second in Command.", Flight.SecondInCommand)),
         (dual = new HobbsMeterEntryElement("Dual Received", "Time spent in training with an instructor.", Flight.DualReceived)),
         (xc = new HobbsMeterEntryElement("Cross-Country", "Time spent flying cross-country.", Flight.CrossCountry)),
         (night = new HobbsMeterEntryElement("Night Flying", "Time spent flying after dark.", Flight.Night)),
         (landDay = new NumericEntryElement("Day Landings", "Number of landings made during daylight hours.", Flight.DayLandings, 1, 99)),
         (landNight = new NumericEntryElement("Night Landings", "Number of landings made after dark.", Flight.NightLandings, 1, 99))
     });
 }
コード例 #5
0
 Section CreateInstrumentSection()
 {
     return new Section ("Instrument Experience") {
         (actual = new HobbsMeterEntryElement ("Actual Time", "Time spent flying by instrumentation only.", Flight.InstrumentActual)),
         (hood = new HobbsMeterEntryElement ("Hood Time", "Time spent flying under a hood.", Flight.InstrumentHood)),
         (simulator = new HobbsMeterEntryElement ("Simulator Time", "Time spent practicing in a simulator.", Flight.InstrumentSimulator)),
         (approaches = new NumericEntryElement ("Approaches", "The number of approaches made.", Flight.InstrumentApproaches, 1, 99)),
         (actingSafety = new BooleanElement ("Acting Safety Pilot", false)),
         (safetyPilot = new LimitedEntryElement ("Safety Pilot", "The name of your safety pilot.", 40)),
     };
 }
コード例 #6
0
 Section CreateExperienceSection()
 {
     return new Section ("Flight Experience") {
         (total = new HobbsMeterEntryElement ("Flight Time", "Total flight time, as measured on the Hobbs Meter.", Flight.FlightTime)),
         (cfi = new HobbsMeterEntryElement ("C.F.I.", "Time spent sweating only on the right side of your face.", Flight.CertifiedFlightInstructor)),
         (pic = new HobbsMeterEntryElement ("P.I.C.", "Time spent as Pilot in Command.", Flight.PilotInCommand)),
         (sic = new HobbsMeterEntryElement ("S.I.C.", "Time spent as Second in Command.", Flight.SecondInCommand)),
         (dual = new HobbsMeterEntryElement ("Dual Received", "Time spent in training with an instructor.", Flight.DualReceived)),
         (night = new HobbsMeterEntryElement ("Night Flying", "Time spent flying after dark.", Flight.Night)),
         (landDay = new NumericEntryElement ("Day Landings", "Number of landings made during daylight hours.", Flight.DayLandings, 1, 99)),
         (landNight = new NumericEntryElement ("Night Landings", "Number of landings made after dark.", Flight.NightLandings, 1, 99))
     };
 }
コード例 #7
0
 Section CreateInstrumentSection()
 {
     return new Section ("Instrument Experience") {
         (actual = new HobbsMeterEntryElement ("Actual Time", "Time spent flying by instrumentation only.", Flight.InstrumentActual)),
         (hood = new HobbsMeterEntryElement ("Hood Time", "Time spent flying under a hood.", Flight.InstrumentHood)),
         (simulator = new HobbsMeterEntryElement ("Simulator Time", "Time spent practicing in a simulator.", Flight.InstrumentSimulator)),
         (approaches = new NumericEntryElement ("Approaches", "The number of approaches made.", Flight.InstrumentApproaches, 1, 99)),
     };
 }
コード例 #8
0
        Section CreateLandingsSection()
        {
            landDay = new NumericEntryElement ("Day Landings", "Number of landings made during daylight hours.", Flight.DayLandings, 1, 99);
            landNight = new NumericEntryElement ("Night Landings", "Number of landings made after dark.", Flight.NightLandings, 1, 99);

            return new Section ("Landings") {
                landDay, landNight
            };
        }
コード例 #9
0
        Section CreateInstrumentSection()
        {
            approaches = new NumericEntryElement ("Approaches", "The number of approaches made.", Flight.InstrumentApproaches, 1, 99);
            holds = new NumericEntryElement ("Holding Procedures", "The number of holding procedures made.", Flight.InstrumentHoldingProcedures, 1, 99);
            safetyPilot = new SafetyPilotEntryElement (Flight.InstrumentSafetyPilot) { AutoComplete = true };

            return new Section ("Instrument Experience") {
                approaches, holds, safetyPilot
            };
        }