예제 #1
0
        private void button_viewPeriodOnMap_Click(object sender, EventArgs e)
        {
            CheckAndReadObsFile();
            if (ShowLayer != null && obsFileReader != null)
            {
                obsFileReader.Reset();

                SatConsecutiveAnalyst processer = null;
                foreach (var item in ObsFile)
                {
                    if (processer == null)
                    {
                        processer = new SatConsecutiveAnalyst(item.Header.Interval);
                    }
                    var obs = Domain.EpochInformation.Parse(item, item.Header.SatelliteTypes);
                    processer.Revise(ref obs);
                }
                TimePeriodToLayerBuilder builder = new TimePeriodToLayerBuilder(processer.SatSequentialPeriod);
                var layer = builder.Build();
                ShowLayer(layer);
            }
        }
예제 #2
0
 /// <summary>
 /// 重置,标记退回到 0.
 /// </summary>
 public override void Reset()
 {
     CurrentIndex = 0;
     _CurrentReader.Reset();
 }