/// <summary> /// 构造函数 /// </summary> /// <param name="DataSource"></param> /// <param name="Context"></param> /// <param name="Option"></param> public MultiSiteIonoFreePppManger(MultiSiteObsStream DataSource, DataSourceContext Context, GnssProcessOption Option) { this.Context = Context; this.Option = Option; this.DataSource = DataSource; this.TableTextManager = new ObjectTableManager(Option.OutputBufferCount, Option.OutputDirectory); this.IsOutputResult = Option.IsOutputEpochResult; this.GnssResultWriter = new GnssResultWriter(Option); }
/// <summary> /// 数据源加载 /// </summary> /// <returns></returns> protected virtual MultiSiteObsStream BuildDataSource() { var oPathes = InputFileManager.GetLocalFilePathes(Pathes, RunnerFileExtension, "*.*"); var DataSource = new MultiSiteObsStream(oPathes, Option.BaseSiteSelectType, Option.IsSameSatRequired, this.Option.IndicatedBaseSiteName); DataSource.IsAllowMissingEpochSite = Option.IsAllowMissingEpochSite; return(DataSource); }
/// <summary> /// 反转的多观测数据源 /// </summary> /// <param name="Stream"></param> public ReversedMultiSiteObsStream(MultiSiteObsStream Stream) : base(Stream) { this.OriginalSource = Stream; }
/// <summary> /// 构造函数.星历数据源提供适配器 /// </summary> /// <param name="option"></param> /// <param name="processOption"></param> /// <param name="ObservationDataSources"></param> public EphemerisServiceProvider(GnsserConfig option, GnssProcessOption processOption, MultiSiteObsStream ObservationDataSources = null) : base(option, processOption) { this.ObservationDataSources = ObservationDataSources; this.CurrentSession = new SessionInfo(ObservationDataSources.TimePeriod, processOption.SatelliteTypes); }