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