You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
using ESRI.ArcGIS.Carto; |
|
using ESRI.ArcGIS.DataSourcesGDB; |
|
using ESRI.ArcGIS.esriSystem; |
|
using ESRI.ArcGIS.Geodatabase; |
|
using KGIS.Framework.Maps; |
|
using Kingo.PluginServiceInterface; |
|
using System.Threading; |
|
|
|
namespace Kingo.Plugin.DataCheck.Helper.JCCZCDYD |
|
{ |
|
public class JCCZCDYDDataCheckGroup : DataCheckRuleGroup |
|
{ |
|
private WaitCallback callback; |
|
public JCCZCDYDDataCheckGroup(WaitCallback call = null) : base() |
|
{ |
|
callback = call; |
|
GroupName = "基础城镇村等用地拓扑检查"; |
|
UpdateInfo(null); |
|
//JCCZCDYDAreaNoGapsCheck jCCZCDYDAreaNoGaps = new JCCZCDYDAreaNoGapsCheck(); |
|
//base.CheckRules.Add(jCCZCDYDAreaNoGaps); |
|
JCCZCDYDAreaNoOverlapCheck jCCZCDYDAreaNoOverlap = new JCCZCDYDAreaNoOverlapCheck(); |
|
base.CheckRules.Add(jCCZCDYDAreaNoOverlap); |
|
} |
|
public override void UpdateInfo(object obj) |
|
{ |
|
GroupDesc = string.Format("{0}(错误{1}个,警告{2}个,例外{3}个)", GroupName, ErrorNum, WaringNum, ExceptionNum, 0); |
|
base.NotifyProperty(this, "GroupDesc"); |
|
base.NotifyProperty(this, "CheckResults"); |
|
base.NotifyProperty(this, "CheckState"); |
|
callback?.Invoke(null); |
|
} |
|
} |
|
}
|
|
|