Files
CapMachine/CapMachine.Wpf/Dtos/HistoryAlarmDto.cs
2025-01-01 17:41:48 +08:00

57 lines
1.4 KiB
C#

using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.Dtos
{
/// <summary>
/// 历史报警模型
/// </summary>
public class HistoryAlarmDto : BindableBase
{
private string? _Category;
[Description("分类")]
public string? Category
{
get { return _Category; }
set { _Category = value; RaisePropertyChanged(); }
}
private string? _AlarmLevel;
[Description("报警等级")]
public string? AlarmLevel
{
get { return _AlarmLevel; }
set { _AlarmLevel = value; RaisePropertyChanged(); }
}
private string? _Name;
[Description("报警名称")]
public string? Name
{
get { return _Name; }
set { _Name = value; RaisePropertyChanged(); }
}
private long _Duration;
[Description("报警时长")]
public long Duration
{
get { return _Duration; }
set { _Duration = value; RaisePropertyChanged(); }
}
private DateTime _CreateTime;
[Description("报警时间")]
public DateTime CreateTime
{
get { return _CreateTime; }
set { _CreateTime = value; RaisePropertyChanged(); }
}
}
}