Пример #1
0
        public PSGComp GetPsgOC()
        {
            PSGComp psgComp = new PSGComp();

            psgComp.Name   = "PSG OC";
            psgComp.Number = this.PsgOC;
            psgComp.Harm   = PSGComp.Harm_PsgOC;
            psgComp.Calc();
            return(psgComp);
        }
Пример #2
0
        public AirbusA320 GetAdvancedData()
        {
            SelfWeight selfWeight = this.GetSelfWeight();

            Fuel takeoffFuel = this.GetTakeoffFuel();

            Fuel landingFuel = this.GetLandingFuel();

            Cargo cargo1 = this.GetCargo1();

            Cargo cargo3 = this.GetCargo3();

            Cargo cargo4 = this.GetCargo4();

            Cargo cargo5 = this.GetCargo5();

            PSGComp psgOA = this.GetPsgOA();

            PSGComp psgOB = this.GetPsgOB();

            PSGComp psgOC = this.GetPsgOC();

            AirbusA320 a320 = new AirbusA320
            {
                SelfWeight  = selfWeight,
                TakeoffFuel = takeoffFuel,
                LandingFuel = landingFuel,
                Cargo1      = cargo1,
                Cargo3      = cargo3,
                Cargo4      = cargo4,
                Cargo5      = cargo5,
                PsgOA       = psgOA,
                PsgOB       = psgOB,
                PsgOC       = psgOC
            };

            a320.Calc();

            return(a320);
        }