示例#1
0
 private void SystemHorizTail_Load(object sender, EventArgs e)
 {
     LoadCombos.LoadAircraftType(cmbAircft_Type);
     LoadCombos.LoadDistanceCombos(cmb_Hcr, "ft");
     LoadConfigs();
     SetVhAndVvForAircraftType();
 }
示例#2
0
        private void WingEstimateProp_Load(object sender, EventArgs e)
        {
            LoadAircraftType();
            LoadSkinFriction();

            LoadCombos.LoadDistanceCombos(cmb_Hto, "ft");
            LoadCombos.LoadDistanceCombos(cmb_H_landing, "ft");
            LoadCombos.LoadDistanceCombos(cmb_Hcr, "ft");
            LoadCombos.LoadDistanceCombos(cmb_Hcl, "ft");

            cartesianChart1.AxisX.Add(new Axis
            {
                Title     = "Wing Loading W/S in lbf/ft2",
                Separator = new Separator
                {
                    Step            = 5,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });

            cartesianChart1.AxisY.Add(new Axis
            {
                Title     = "Take-off Power Loading ~ (W/P) LBS/HP",
                Separator = new Separator
                {
                    //Step = 25,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });
        }
示例#3
0
        private void WingDetailEst_Load(object sender, EventArgs e)
        {
            LoadCombos.LoadDistanceCombos(cmb_Hto, "ft");
            LoadCombos.LoadDistanceCombos(cmb_H_landing, "ft");

            cmb_Top.Items.Add("Top23");
            cmb_Top.Items.Add("Top25");

            LoadSkinFriction();
            LoadAircraftType();
        }
示例#4
0
        private void DeccaCd0Calculator_Load(object sender, EventArgs e)
        {
            LoadCombos.LoadAircraftType(cmbAircft_Type);
            LoadCombos.LoadVelCombos(cmb_VelMax, "knots");
            LoadCombos.LoadDistanceCombos(cmb_Hcr, "feet");
            LoadCombos.LoadWeightCombos(cmb_Mto1, "lbs");
            LoadCombos.LoadAreaCombos(cmb_Sw, "ft^2");
            LoadCombos.LoadPower(cmb_Tsl, "N");

            EngineNoLoad();

            txt_Prop_eff1.Enabled = false;
        }
示例#5
0
        private void Aircraft_Load(object sender, EventArgs e)
        {
            LoadAircraftType();
            LoadCombos.LoadDistanceCombos(cmb_Hcr, "ft");
            //LoadCombos.LoadDistanceCombos(cmb_H_atn, "ft");
            LoadCombos.LoadDistanceCombos(cmb_Range, "miles");
            LoadCombos.LoadDistanceCombos(cmb_Atndist, "nm");

            LoadCombos.LoadVelCombos(cmb_Vcr, "mach");
            LoadCombos.LoadVelCombos(cmb_ClimbSpeed, "knots");
            LoadCombos.LoadVelCombos(cmb_Vatn, "knots");
            LoadCombos.LoadVelCombos(cmb_ROC, "fpm");

            JetsDisabled();

            button1.Enabled = false;
        }
示例#6
0
        private void DeccaAircraftDesign_Load(object sender, EventArgs e)
        {
            txt_PropEff.Enabled = false;           

            //Speeds
            LoadCombos.LoadVelCombos(cmb_VelStall, "knots");
            LoadCombos.LoadVelCombos(cmb_Velmax, "knots");
            LoadCombos.LoadVelCombos(cmb_VelCruise, "mach");
            LoadCombos.LoadVelCombos(cmb_ROC, "fpm");

            //Weight
            LoadCombos.LoadWeightCombos(cmb_PassWeight,"lbs");
            LoadCombos.LoadWeightCombos(cmb_CrewWeight,"lbs");
            LoadCombos.LoadWeightCombos(cmb_PilotWeight,"lbs");
            LoadCombos.LoadWeightCombos(cmb_Wto,"lbs");
            txt_CrewWeight.Text = W_crew.ToString();
            txt_PilotWeight.Text = W_pilot.ToString();
            txt_PaxWeight.Text = W_pax.ToString();

            //Distances
            LoadCombos.LoadDistanceCombos(cmb_Range, "km");
            LoadCombos.LoadDistanceCombos(cmbHeight, "ft");
            LoadCombos.LoadDistanceCombos(cmb_HeightCeiling, "ft");
            LoadCombos.LoadDistanceCombos(cmb_H_TO, "ft");
            LoadCombos.LoadDistanceCombos(cmb_S_TO, "ft");

            //Aircraft Type
            LoadCombos.LoadAircraftType(cmbAircft_Type);           

            cartesianChart1.AxisX.Add(new Axis
            {
                Title = "Wing Loading (W/S)",
                Separator = new Separator
                {  
                    Step = 20,
                    StrokeThickness = 0.25,
                    Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled = true
                }
            });
            JetTransportTest();
        }        
示例#7
0
        private void WingEstimateJet_Load(object sender, EventArgs e)
        {
            LoadAircraftType();
            LoadSkinFriction();

            LoadCombos.LoadDistanceCombos(cmb_Hto, "ft");
            LoadCombos.LoadDistanceCombos(cmb_H_landing, "ft");
            LoadCombos.LoadDistanceCombos(cmb_Hcr, "ft");
            //LoadCombos.LoadDistanceCombos(cmb_Hcl, "ft");

            LoadCombos.LoadTempCombos(cmb_Temp, "F");

            LoadCombos.LoadVelCombos(cmb_Vcr, "mach");

            cartesianChart1.AxisX.Add(new Axis
            {
                Title     = "Wing Loading W/S in lbf/ft2",
                Separator = new Separator
                {
                    Step            = 5,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });

            cartesianChart1.AxisY.Add(new Axis
            {
                Title     = "Take-off Thrust-T0-Weight Ratio ~ (T/W))",
                Separator = new Separator
                {
                    //Step = 25,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });
        }
示例#8
0
        private void RoskamDesign_Load(object sender, EventArgs e)
        {
            Clear();
            LoadCombos.LoadDistanceCombos(cmbHeight_cr, "ft");
            LoadCombos.LoadDistanceCombos(cmbHeight_cl, "ft");
            LoadCombos.LoadDistanceCombos(cmb_Sg, "ft");

            LoadCombos.LoadVelCombos(cmb_Vclimb, "KCAS");
            LoadCombos.LoadVelCombos(cmb_Vlof, "KCAS");
            LoadCombos.LoadVelCombos(cmb_ROC, "fpm");
            LoadCombos.LoadVelCombos(cmb_Velcr, "KTAS");


            cartesianChart1.AxisX.Add(new Axis
            {
                Title     = "Wing Loading W/S in lbf/ft2",
                Separator = new Separator
                {
                    Step            = 5,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });

            cartesianChartCarpetPlot.AxisX.Add(new Axis
            {
                Title     = "Cruising Speed, KTAS",
                Separator = new Separator
                {
                    Step            = 5,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });

            cartesianChartCarpetPlot.AxisY.Add(new Axis
            {
                Title     = "Stalling Speed, KCAS",
                Separator = new Separator
                {
                    Step            = 5,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });

            cartesianChart1.AxisY.Add(new Axis
            {
                Title     = "Brake-horsepower Required, BHP",
                Separator = new Separator
                {
                    //Step = 25,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                }
            });
            cartesianChart1.AxisY.Add(new Axis
            {
                Title     = "Required Cl_max",
                Separator = new Separator
                {
                    //Step = 0.25,
                    StrokeThickness = 0.25,
                    Stroke          = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(64, 79, 86)),
                    IsEnabled       = true
                },
                Position = AxisPosition.RightTop
            });
        }