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

139 lines
3.8 KiB

4 months ago
using KGIS.Framework.Platform;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace Kingo.PluginServiceInterface
{
public interface IDataChange
{
string IDataChangeName { get; }
/// <summary>
/// 执行变更的方法
/// </summary>
/// <param name="pParm"></param>
void ExecuteDataChange(DataChangeParameter pParm);
}
public class DataChangeParameter
{
public ObservableCollection<ZLXXInfo> ListZLXXInfo { get; set; }
public bool Check_gddb { get; set; }//耕地等别
public bool Check_cjdcq { get; set; }//村级调查区
public bool Check_xzq { get; set; }//行政区
}
public class ZLXXInfo : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private int _ID;
public int ID
{
get { return _ID; }
set
{
_ID = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("ID"));
}
}
}
private string _BGQDM;
public string BGQDM
{
get { return _BGQDM; }
set
{
_BGQDM = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("BGQDM"));
}
}
}
private string _BGQMC;
public string BGQMC
{
get { return _BGQMC; }
set
{
_BGQMC = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("BGQMC"));
}
}
}
private string _BGHDM;
public string BGHDM
{
get { return _BGHDM; }
set
{
_BGHDM = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("BGHDM"));
}
}
}
private string _BGHMC;
public string BGHMC
{
get { return _BGHMC; }
set
{
_BGHMC = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("BGHMC"));
}
}
}
private string _IsQS;
public string IsQS
{
get { return _IsQS; }
set
{
_IsQS = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("IsQS"));
}
}
}
private List<DataDicTionary> _Data;
[Newtonsoft.Json.JsonIgnore]
public List<DataDicTionary> Data
{
get { return _Data; }
set
{
_Data = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("Data"));
}
}
}
private DataDicTionary _DataDicTionary;
public DataDicTionary DataDicTionary
{
get
{ return _DataDicTionary; }
set
{
_DataDicTionary = value;
if (this.PropertyChanged != null)
{
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("DataDicTionary"));
}
}
}
}
}