コード例 #1
0
        /// <summary>
        /// 初始化
        /// </summary>
        public override void Init()
        {
            base.Init();
            var destPath = System.IO.Path.Combine(this.Option.OutputDirectory, System.IO.Path.GetFileName(Path));

            EpochRinexObsFileWriter = new Data.Rinex.EpochRinexObsFileWriter(destPath, this.Option.OutputRinexVersion);

            ClockJumpDetector.Buffers = this.BufferedStream.MaterialBuffers;

            DataSourceContext = DataSourceContext.LoadDefault(Option);

            if (DataSourceContext.ClockJumpFile != null)
            {
                var file       = DataSourceContext.ClockJumpFile;
                var index      = file.GetIndexColName();//time
                var valColName = file.GetColNameNotIndex();
                ClockJumpDic = new Dictionary <Time, double>();
                foreach (var item in file.BufferedValues)
                {
                    var time = (Time)item[index];
                    var val  = (Double)item[valColName];
                    ClockJumpDic[time] = val;
                }
            }
        }
コード例 #2
0
        /// <summary>
        /// 初始化
        /// </summary>
        public override void Init()
        {
            base.Init();

            var destPath = System.IO.Path.Combine(this.Option.OutputDirectory, System.IO.Path.GetFileName(Path));

            EpochRinexObsFileWriter = new Data.Rinex.EpochRinexObsFileWriter(destPath, this.Option.OutputRinexVersion, IsUseRangeCorrections);
        }