コード例 #1
0
        private LandingOutput Adjust(LandingOutput CurrOutput)
        {
            LandingOutput NewOutput = CurrOutput;

            if (Values.OAT < 0)
            {
                NewOutput.VAPP += 20;
                NewOutput.VREF += 20;
                NewOutput.VGA  += 20;
            }
            return(NewOutput);
        }
コード例 #2
0
        private LandingOutput Compute()
        {
            LandingOutput         Output  = new LandingOutput();
            Tuple <int, int, int> VSpeeds = LandingSettings.VSPEED_LOOKUP(Values.Flaps, Values.Weight);
            int Vapp = VSpeeds.Item1;
            int Vref = VSpeeds.Item2;
            int Vga  = VSpeeds.Item3;

            Output.VAPP = Vapp;
            Output.VREF = Vref;
            Output.VGA  = Vga;
            return(Output);
        }
コード例 #3
0
 internal LandingComputation(LandingSpeedValues Values)
 {
     this.Values = Values;
     this.Output = Adjust(Compute());
 }