监控逻辑
This commit is contained in:
@@ -6,6 +6,8 @@ namespace UIShare.UIViewModel
|
||||
public class ValueLimitVM : BindableBase
|
||||
{
|
||||
private string _signalName = string.Empty;
|
||||
private string _fingerprint = string.Empty;
|
||||
private string _methodName = string.Empty;
|
||||
private double _upper;
|
||||
private double _lower;
|
||||
private double _upperExtreme;
|
||||
@@ -14,7 +16,7 @@ namespace UIShare.UIViewModel
|
||||
private AlarmStatus _alarmStatus = AlarmStatus.未报警;
|
||||
|
||||
/// <summary>
|
||||
/// 信号名
|
||||
/// 信号名(显示用)
|
||||
/// </summary>
|
||||
public string SignalName
|
||||
{
|
||||
@@ -22,6 +24,24 @@ namespace UIShare.UIViewModel
|
||||
set => SetProperty(ref _signalName, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 硬件指纹(物理设备唯一标识,用于超限匹配)
|
||||
/// </summary>
|
||||
public string Fingerprint
|
||||
{
|
||||
get => _fingerprint;
|
||||
set => SetProperty(ref _fingerprint, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 方法名(唯一标识,用于超限匹配)
|
||||
/// </summary>
|
||||
public string MethodName
|
||||
{
|
||||
get => _methodName;
|
||||
set => SetProperty(ref _methodName, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 上限
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user