配置参数下载和解析的开发-未完成
This commit is contained in:
43
CapMachine.Wpf/Dtos/ConfigAlarmDto.cs
Normal file
43
CapMachine.Wpf/Dtos/ConfigAlarmDto.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using Prism.Mvvm;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class ConfigAlarmDto : BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
private string? _MeterName;
|
||||
/// <summary>
|
||||
/// 仪表名称
|
||||
/// </summary>
|
||||
public string? MeterName
|
||||
{
|
||||
get { return _MeterName; }
|
||||
set { _MeterName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _IndexNo;
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public int IndexNo
|
||||
{
|
||||
get { return _IndexNo; }
|
||||
set { _IndexNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private double _Alarm;
|
||||
/// <summary>
|
||||
/// Alarm
|
||||
/// </summary>
|
||||
public double Alarm
|
||||
{
|
||||
get { return _Alarm; }
|
||||
set { _Alarm = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user