using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmart.Model { public class DelegationNotifi { private volatile static DelegationNotifi _Instance; public static DelegationNotifi GetInstance => _Instance ?? (_Instance = new DelegationNotifi()); private DelegationNotifi() { } /// /// 新增设备时的数据验证 /// public Func AddDeviceVerify { get; set; } /// /// 取消按钮通知 /// public Action Cancel { get; set; } /// /// 确认按钮通知 /// public Action Confirm { get; set; } /// /// 变量保存通知 /// public Action VariableSave { get; set; } /// /// 变量名更改通知 /// public Action VarNameChanged { get; set; } } }