/// <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(); } }
public static void CallLooping() { Looping?.Invoke(); }