Пример #1
0
 /// <summary>
 /// 处理过程
 /// </summary>
 /// <param name="obsA">观测数据 A</param>
 /// <param name="obsB">观测数据 B</param>
 /// <returns></returns>
 public override bool Revise(ref EpochInformation obsA, ref EpochInformation obsB)
 {
     foreach (var sat in obsA.EnabledPrns)
     {
         if (SatelliteTypes.Contains(sat.SatelliteType) && (obsB.EnabledPrns.Contains(sat)))
         {
             SatPeriodMarker.AddTimePeriod(sat, obsA.ReceiverTime);
         }
     }
     return(true);
 }
Пример #2
0
        /// <summary>
        /// 处理过程
        /// </summary>
        /// <param name="obsA">观测数据 A</param>
        /// <param name="obsB">观测数据 B</param>
        /// <returns></returns>
        public override bool Revise(ref EpochInformation epochInfoA, ref EpochInformation epochInfoB)
        {
            RefObsBuilder.Revise(ref epochInfoA);
            RefObsBuilder.Revise(ref epochInfoA);

            if (epochInfoA == null || epochInfoB == null)
            {
                return(false);
            }

            foreach (var sat in epochInfoA)
            {
                if (epochInfoB.Contains(sat.Prn))
                {
                    if (sat.IsUnstable || epochInfoB[sat.Prn].IsUnstable)
                    {
                        SatPeriodMarker.AddTimePeriod(sat.Prn, sat.Time.Value);
                    }
                }
            }
            return(true);
        }