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; /// /// 选中 /// public bool IsCheck { get { return _ischek; } set { _ischek = value; NotifyPropertyChanged("IsCheck"); } } private string _Name = string.Empty; /// /// 展示名称 /// public string Name { get { return _Name; } set { _Name = value; NotifyPropertyChanged("Name"); } } /// /// 统计表类型 /// public ReportTypeEnum ReportType { get; set; } /// /// 变更统计表类型 /// public BGReportTypeEnum BGReportType { get; set; } /// /// 统计表模版文件名称 /// public string TempalateFileName { get; set; } public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged(string name) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(name)); } } } }