/// <summary> /// 处理一个历元 /// </summary> /// <param name="epoch"></param> public override void Process(EpochInformation epoch) { if (ClockJumpDic != null) { if (ClockJumpDic.ContainsKey(epoch.ReceiverTime)) { var val = ClockJumpDic[epoch.ReceiverTime]; epoch.CorrectClockJump(-val, ClockJumpState.ClockJumped); log.Info("尝试修复钟跳 " + epoch.ReceiverTime + ", " + val); } } else { ClockJumpDetector.Revise(ref epoch); } EpochRinexObsFileWriter.Write(epoch); }
/// <summary> /// 构造函数 /// </summary> /// <param name="Option"></param> public ClockJumpDetectAndRepairStreamer(GnssProcessOption Option) : base(Option) { ClockJumpDetector = new ClockJumpDetector(Option); }