Пример #1
0
        /// <summary>
        /// 循环
        /// </summary>
        /// <param name="geoCoord"></param>
        protected void OnLooping(Geo.Coordinates.LonLat geoCoord)
        {
            if (IsCancel)
            {
                return;
            }

            Looping?.Invoke(geoCoord);

            //进度条控制
            CurrentCount++;

            if (IsLatFirst && CurrentCount % LatCount == 0)
            {
                PerformProcessStep();
            }
            else if (CurrentCount % LonCount == 0)
            {
                PerformProcessStep();
            }
        }
Пример #2
0
 public static void CallLooping()
 {
     Looping?.Invoke();
 }