Exemple #1
0
        private void button_setting_Click(object sender, EventArgs e)
        {
            OptionVizardBuilder builder = new OptionVizardBuilder();

            builder.SetAll(false).SetIsShowObsAndApproxOptionPage(true).SetIsShowCycleSlipOptionPage(true).SetIsShowStreamOptionPage(true);

            Option.ObsDataType = enumRadioControl1.GetCurrent <SatObsDataType>();

            var form = new OptionVizardForm(this.Option);

            form.Init(builder);
            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.Option = form.Option;
                enumRadioControl1.SetCurrent <SatObsDataType>(Option.ObsDataType);
            }
        }
Exemple #2
0
        protected override void DetailSetting()
        {
            base.CheckOrBuildGnssOption(GnssSolverType.无电离层组合PPP);
            this.Option.SatelliteTypes = new List <SatelliteType>()
            {
                this.baseSatSelectingControl1.SatelliteType
            };
            var optionForm = new OptionVizardForm(Option);

            if (optionForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                Option = optionForm.Option;
                this.baseSatSelectingControl1.SetSatelliteType(this.Option.SatelliteTypes[0]);
                this.Option.SatelliteTypes = new List <SatelliteType>()
                {
                    this.baseSatSelectingControl1.SatelliteType
                };
            }
        }
        /// <summary>
        /// 响应界面
        /// </summary>
        protected virtual void DetailSetting()
        {
            this.CheckOrBuildGnssOption();
            this.UiToOption();

            OptionVizardForm form = new OptionVizardForm(Option);

            form.Init();
            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.Option = form.Option;
                this.directorySelectionControl1.Path = this.Option.OutputDirectory;

                multiGnssSystemSelectControl1.SetSatelliteTypes(this.Option.SatelliteTypes);
                OptionToUi(Option);

                OnOptionChanged(this.Option);
            }
        }
Exemple #4
0
        private void button_setting_Click(object sender, EventArgs e)
        {
            OptionVizardBuilder builder = new OptionVizardBuilder();

            builder.SetAll(false)
            .SetIsShowCycleSlipOptionPage(true)
            .SetIsShowObsAndApproxOptionPage(true)
            .SetIsShowStreamOptionPage(true);

            UiToEntity();
            var form = new OptionVizardForm(this.Option);

            form.Init(builder);
            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.Option = form.Option;

                EntityToUi();
            }
        }