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.
95 lines
2.1 KiB
95 lines
2.1 KiB
using Kingo.Plugin.BGResultManager.Model; |
|
using Kingo.Plugin.BGResultManager.Utility; |
|
using System.ComponentModel; |
|
|
|
namespace kingo.Plugin.BGResultManager.Utility |
|
{ |
|
public class ReportEntityClass : INotifyPropertyChanged |
|
{ |
|
public ReportEntityClass() |
|
{ |
|
_ischek = true; |
|
IsEnabled = true; |
|
} |
|
|
|
private bool _isenabled; |
|
|
|
public bool IsEnabled |
|
{ |
|
get { return _isenabled; } |
|
set |
|
{ |
|
_isenabled = value; |
|
NotifyPropertyChanged("IsEnabled"); |
|
} |
|
} |
|
|
|
private XZQTreeNode xzqtreenode; |
|
|
|
public XZQTreeNode XZQTreeNode |
|
{ |
|
get { return xzqtreenode; } |
|
set { xzqtreenode = value; } |
|
} |
|
|
|
|
|
|
|
private bool _ischek; |
|
/// <summary> |
|
/// 选中 |
|
/// </summary> |
|
public bool IsCheck |
|
{ |
|
get |
|
{ |
|
return _ischek; |
|
} |
|
set |
|
{ |
|
_ischek = value; |
|
NotifyPropertyChanged("IsCheck"); |
|
} |
|
} |
|
|
|
private string _Name = string.Empty; |
|
/// <summary> |
|
/// 展示名称 |
|
/// </summary> |
|
public string Name |
|
{ |
|
get |
|
{ |
|
return _Name; |
|
} |
|
set |
|
{ |
|
_Name = value; |
|
NotifyPropertyChanged("Name"); |
|
} |
|
} |
|
/// <summary> |
|
/// 统计表类型 |
|
/// </summary> |
|
public ReportTypeEnum ReportType { get; set; } |
|
|
|
/// <summary> |
|
/// 变更统计表类型 |
|
/// </summary> |
|
public BGReportTypeEnum BGReportType { get; set; } |
|
/// <summary> |
|
/// 统计表模版文件名称 |
|
/// </summary> |
|
public string TempalateFileName { get; set; } |
|
|
|
public event PropertyChangedEventHandler PropertyChanged; |
|
|
|
private void NotifyPropertyChanged(string name) |
|
{ |
|
if (PropertyChanged != null) |
|
{ |
|
PropertyChanged(this, new PropertyChangedEventArgs(name)); |
|
} |
|
} |
|
|
|
} |
|
}
|
|
|