using ESRI.ArcGIS.Carto; using ESRI.ArcGIS.Geodatabase; using Kingo.Plugin.MapView.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kingo.Plugin.MapView.Interface { public delegate void InspectionCompleted(); public interface IDateCheckInterface { DLTBBGEntity DataCheckFeature(IFeature feature); Dictionary> DataCheckFeatureLayer(IFeatureLayer feature); event InspectionCompleted InspectionCompleted; bool inspectionCompleted { get; set; } } public class CheckResultModel { /// /// 错误类别 /// public ErrorTypeEnum ErrorType { get; set; } /// /// 错误代码 /// public string ErrorCode { get; set; } /// /// 错误信息 /// public string Error { get; set; } public string OBJECTID { get; set; } //public Geometry geometry { get; set; } } public enum ErrorTypeEnum { GraphicalError, AttributeError } public enum CheckRuleEnum { Default = 0, //节点密度 JDMD = 1, //不规则图斑(尖锐角、狭长) BGZTB = 2, //上图面积 STMJ = 4, //必填项验证 BTX = 8, //组合图斑 ZHTB = 16, //弧线 HX = 32, //拓扑 Topo = 64 } }