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.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.Plugin.DataLoad.Model
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 检查规则对应的表结构实体
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class RuleTableEntity : INotifyPropertyChanged
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TableName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表中文名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TableAliasName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 检查说明
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CheckDescription { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 图层类型:点,线,面
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否必须图层
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsNecessary { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 要素代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YSDM { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 层代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CDM { get; set; }
|
|
|
|
|
bool _IsChecked = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否检查
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsChecked
|
|
|
|
|
{
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_IsChecked = value;
|
|
|
|
|
if (PropertyChanged != null)//有改变
|
|
|
|
|
{
|
|
|
|
|
PropertyChanged(this, new PropertyChangedEventArgs("IsChecked"));//对Name进行监听
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return _IsChecked;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
|
|
|
|
|
|
public List<RuleColumnEntity> Columns { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|