|
@@ -6,6 +6,7 @@
|
|
|
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
+using System.ComponentModel;
|
|
|
using System.Linq;
|
|
|
using NPOI.SS.UserModel;
|
|
|
using SAGA.DotNetUtils.Others;
|
|
@@ -17,7 +18,7 @@ namespace SAGA.MBI.ToolsData.DataCheck
|
|
|
/// <summary>
|
|
|
/// CheckBase
|
|
|
/// </summary>
|
|
|
- public class DataCheckBase: ICheckBase
|
|
|
+ public class DataCheckBase: ICheckBase,INotifyPropertyChanged
|
|
|
{
|
|
|
public string Name { get; set; }
|
|
|
public CheckContext Context { get; set; }
|
|
@@ -108,12 +109,24 @@ namespace SAGA.MBI.ToolsData.DataCheck
|
|
|
/// 是否强制勾选
|
|
|
/// </summary>
|
|
|
public bool RIsReadOnly { get; set; }
|
|
|
+ private bool m_RIsChecked;
|
|
|
/// <summary>
|
|
|
/// 是否选中
|
|
|
/// </summary>
|
|
|
- public bool RIsChecked { get; set; }
|
|
|
+ public bool RIsChecked
|
|
|
+ {
|
|
|
+ get { return m_RIsChecked; }
|
|
|
+ set
|
|
|
+ {
|
|
|
+ m_RIsChecked = value;
|
|
|
+ PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(RIsChecked)));
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
private List<string> m_SpecificationSheet=new List<string>();
|
|
|
+
|
|
|
+ public event PropertyChangedEventHandler PropertyChanged;
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 关联规范项
|
|
|
/// </summary>
|