using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
namespace BPASmartClient.Model
{
public class Alarm : ObservableObject
{
///
/// ID
///
[Key]
public int Id { get { return _mId; } set { _mId = value; OnPropertyChanged(); } }
private int _mId;
///
/// 编号ID
///
public int NumId { get { return _mNumId; } set { _mNumId = value; OnPropertyChanged(); } }
private int _mNumId;
///
/// 日期
///
public string Date { get { return _mDate; } set { _mDate = value; OnPropertyChanged(); } }
private string _mDate;
///
/// 时间
///
public string Time { get { return _mTime; } set { _mTime = value; OnPropertyChanged(); } }
private string _mTime;
///
/// 报警信息
///
public string Info { get { return _mInfo; } set { _mInfo = value; OnPropertyChanged(); } }
private string _mInfo;
///
/// 报警值
///
public string Value { get { return _mValue; } set { _mValue = value; OnPropertyChanged(); } }
private string _mValue;
///
/// 报警等级
///
public string Grade { get { return _mGrade; } set { _mGrade = value; OnPropertyChanged(); } }
private string _mGrade;
}
}