年度变更建库软件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.

62 lines
1.5 KiB

6 months ago
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<int, List<CheckResultModel>> DataCheckFeatureLayer(IFeatureLayer feature);
event InspectionCompleted InspectionCompleted;
bool inspectionCompleted { get; set; }
}
public class CheckResultModel
{
/// <summary>
/// 错误类别
/// </summary>
public ErrorTypeEnum ErrorType { get; set; }
/// <summary>
/// 错误代码
/// </summary>
public string ErrorCode { get; set; }
/// <summary>
/// 错误信息
/// </summary>
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
}
}