|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace WpfApp1.Model
|
|
|
|
|
{
|
|
|
|
|
public class AnalysisExport : 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 int _xh;
|
|
|
|
|
public int XH
|
|
|
|
|
{
|
|
|
|
|
get { return _xh; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_xh = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("XH"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _xzqdm;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行政区代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string XZQDM
|
|
|
|
|
{
|
|
|
|
|
get { return _xzqdm; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_xzqdm = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("XZQDM"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _resultType;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成果类型:全库、增量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ResultType
|
|
|
|
|
{
|
|
|
|
|
get { return _resultType; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_resultType = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("ResultType"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _fileName;
|
|
|
|
|
public string FileName
|
|
|
|
|
{
|
|
|
|
|
get { return _fileName; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_fileName = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("FileName"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _fileSize;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件大小
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FileSize
|
|
|
|
|
{
|
|
|
|
|
get { return _fileSize; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_fileSize = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("FileSize"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _parengFolder;
|
|
|
|
|
public string ParengFolder
|
|
|
|
|
{
|
|
|
|
|
get { return _parengFolder; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_parengFolder = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("ParengFolder"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _fullName;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FullName
|
|
|
|
|
{
|
|
|
|
|
get { return _fullName; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_fullName = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("FullName"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isChecked = false;
|
|
|
|
|
public bool IsChecked
|
|
|
|
|
{
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_isChecked = value;
|
|
|
|
|
if (PropertyChanged != null)//有改变
|
|
|
|
|
{
|
|
|
|
|
PropertyChanged(this, new PropertyChangedEventArgs("IsChecked"));//对Name进行监听
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return _isChecked;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _prompt;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提示信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Prompt
|
|
|
|
|
{
|
|
|
|
|
get { return _prompt; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_prompt = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("Prompt"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _BGFWPath;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// BGFWPath
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BGFWPath
|
|
|
|
|
{
|
|
|
|
|
get { return _BGFWPath; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_BGFWPath = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("BGFWPath"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _BGFWName;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// BGFWPath
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BGFWName
|
|
|
|
|
{
|
|
|
|
|
get { return _BGFWName; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_BGFWName = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("BGFWName"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _JCSJPath;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// JCSJPath
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string JCSJPath
|
|
|
|
|
{
|
|
|
|
|
get { return _JCSJPath; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_JCSJPath = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("JCSJPath"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private string _JCSJName;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// JCSJPath
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string JCSJName
|
|
|
|
|
{
|
|
|
|
|
get { return _JCSJName; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_JCSJName = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("JCSJName"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _JCSJExcelName;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初报表名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string JCSJExcelName
|
|
|
|
|
{
|
|
|
|
|
get { return _JCSJExcelName; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_JCSJExcelName = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("JCSJExcelName"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _JCSJExcelPath;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初报表路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string JCSJExcelPath
|
|
|
|
|
{
|
|
|
|
|
get { return _JCSJExcelPath; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_JCSJExcelPath = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("JCSJExcelPath"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _OutputExcelPath;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据导出路径
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OutputExcelPath
|
|
|
|
|
{
|
|
|
|
|
get { return _OutputExcelPath; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_OutputExcelPath = value;
|
|
|
|
|
if (this.PropertyChanged != null)
|
|
|
|
|
{
|
|
|
|
|
this.PropertyChanged.Invoke(this, new PropertyChangedEventArgs("OutputExcelPath"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|