监控逻辑

This commit is contained in:
hsc
2026-07-10 11:57:56 +08:00
parent 52d486e2b1
commit db8baed9c7
9 changed files with 435 additions and 97 deletions

View File

@@ -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>