Example #1
0
        private void FilterSat(SatPeriodInfoManager smallParts, EpochInformation epochInfo)
        {
            List <SatelliteNumber> tobeRemoved = new List <SatelliteNumber>();

            foreach (var sat in epochInfo)
            {
                //是否是断开的
                if (smallParts.Contains(sat.Prn, epochInfo.ReceiverTime))
                {
                    tobeRemoved.Add(sat.Prn);
                }
            }
            if (tobeRemoved.Count == 0)
            {
                return;
            }

            //移除断开的卫星,不可在上面移除,提示集合已经改变
            this.StatedMessage         = StatedMessage.Processing;
            this.StatedMessage.Message = "移除小时短卫星 " + epochInfo.ReceiverTime + " ";
            this.OnStatedMessageProduced();

            epochInfo.Remove(tobeRemoved, true, "移除小时短卫星");
        }
Example #2
0
 public TimePeriodToLayerBuilder(SatPeriodInfoManager SatPeriodMarker)
 {
     this.SatPeriodInfoManager = SatPeriodMarker;
 }