protected override void OnWizardCompleted() { base.OnWizardCompleted(); this.Enabled = false; var netFiles = GroupRinexFileWizardPage.Result; //ProgressBarWizardPage.Init(this.SelectFilePageControl.FilePathes.Length); //nFilePath = SelectFilePageControl.NFilePath; var singlePpType = SelectPointPositionTypePage.GetCurrent <TwoSiteSolverType>(); GnssSolverType type = GnssSolverTypeHelper.GetGnssSolverType(singlePpType); if (Option == null) { Option = GnssProcessOptionManager.Instance[type]; } Option.AdjustmentType = SelectAdjustmentPage.GetCurrent <AdjustmentType>(); this.Option.IsUpdateStationInfo = SiteInfoSetingPage.IsUpdateSiteInfo; this.Option.IsStationInfoRequired = SiteInfoSetingPage.IsUpdateSiteInfo; this.Option.IsUpdateEstimatePostition = SiteInfoSetingPage.IsUpdateEpochSiteCoord; this.Option.PositionType = SiteInfoSetingPage.PositionType; //this.Option.isup //ProgressBarWizardPage.Init(this.SelectFilePageControl.FilePathes.Length); backgroundWorker1.RunWorkerAsync(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="startTime"></param> /// <param name="siteName"></param> /// <param name="OutpuDirectory"></param> public RealTimeGnssPositioner(GnssSolverType GnssSolverType, String OutpuDirectory, string siteName, Time startTime) { this.GnssSolverType = GnssSolverType; this.OutpuDirectory = OutpuDirectory; lock (locker) { if (NavFile == null) { NavFile = new ParamNavFile(); } } this.ObsFile = new RinexObsFile(); SSRSp3Section = new InstantSp3Section(); Sp3File = new Sp3File(); this.ObsFile.Header = new Data.Rinex.RinexObsFileHeader() { MarkerName = siteName, StartTime = startTime, ObsCodes = new Dictionary <SatelliteType, List <string> >(), }; this.ObsFile.Header.ObsCodes[SatelliteType.G] = new List <string>() { "C1X", "L1X", "C2X", "L2X" }; }
/// <summary> /// 初始化 /// </summary> /// <param name="AutoBaseLinSolveType"></param> /// <param name="gnssSolverType"></param> /// <param name="Options"></param> /// <param name="maxShortLineLength"></param> public void Init(AutoBaseLinSolveType AutoBaseLinSolveType, GnssSolverType gnssSolverType, Dictionary <GnssSolverType, GnssProcessOption> Options, double maxShortLineLength) { this.AutoBaseLinSolveType = AutoBaseLinSolveType; this.GnssSolverType = gnssSolverType; this.MaxShortLineLength = maxShortLineLength; this.Options = Options; }
public void Init(GnssProcessOption Option, GnssSolverType SolverType = GnssSolverType.无电离层组合PPP) { if (Option == null) { Option = GnssProcessOptionManager.Instance[SolverType]; } SetOption(Option); }
/// <summary> /// 构造函数 /// </summary> /// <param name="AutoBaseLinSolveType"></param> /// <param name="gnssSolverType"></param> /// <param name="Options"></param> /// <param name="maxShortLineLength"></param> public AutoBaseLineSolver( AutoBaseLinSolveType AutoBaseLinSolveType, GnssSolverType gnssSolverType, Dictionary <GnssSolverType, GnssProcessOption> Options, double maxShortLineLength) { Init(AutoBaseLinSolveType, gnssSolverType, Options, maxShortLineLength); }
private void GnssSolverSelectionControl1_RadioSelected(GnssSolverType obj) { if (Option.GnssSolverType != gnssSolverSelectionControl1.CurrentdType && Geo.Utils.FormUtil.ShowYesNoMessageBox(" 已选择 “" + obj + "”,是否加载默认其设置?") == DialogResult.Yes) { button_loadDefault_Click(null, null); } }
/// <summary> /// 构建选项 /// </summary> /// <param name="type"></param> /// <returns></returns> protected virtual GnssProcessOption CheckOrBuildGnssOption(GnssSolverType type) { if (Option != null) { return(Option); } Option = GnssProcessOptionManager.Instance.Get(type); this.UiToOption();//第一次将界面上的读入 Option.GnssSolverType = type; return(Option); }
/// <summary> /// 获取当前,如果没有,则载入默认 /// </summary> /// <param name="solverType"></param> /// <returns></returns> public GnssProcessOption GetOption(GnssSolverType solverType) { GnssProcessOption defaultOpt = null; if (!this.Options.ContainsKey(solverType)) { if (GnssProcessOptionManager.Instance.Contains(solverType)) { defaultOpt = GnssProcessOptionManager.Instance[solverType]; } else { defaultOpt = GnssProcessOption.GetDefaultIonoFreeDoubleDifferOption(); } Options[solverType] = defaultOpt; } defaultOpt = Options[solverType]; return(defaultOpt); }
public BaseGnssProcessOptionPage(GnssProcessOption Option = null, GnssSolverType SolverType = GnssSolverType.无电离层组合PPP) { InitializeComponent(); Init(Option, SolverType); }