年度变更建库软件5.0版本
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.2 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.JCDLTB
{
public class JCDLTBDataCheckGroup : DataCheckRuleGroup
{
private WaitCallback callback;
public JCDLTBDataCheckGroup(WaitCallback call = null) : base()
{
callback = call;
GroupName = "基础地类图斑拓扑";
UpdateInfo(null);
//JCDLTBAreaNoGapsCheck jCDLTBAreaNoGaps = new JCDLTBAreaNoGapsCheck();
//base.CheckRules.Add(jCDLTBAreaNoGaps);
JCDLTBAreaNoOverlapCheck areaNoOverlapCheck = new JCDLTBAreaNoOverlapCheck();
base.CheckRules.Add(areaNoOverlapCheck);
}
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(this);
}
}
}