终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

58 行
1.6 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.Model
  8. {
  9. public class Alarm : NotifyBase
  10. {
  11. /// <summary>
  12. /// ID
  13. /// </summary>
  14. [Key]
  15. public int Id { get { return _mId; } set { _mId = value; OnPropertyChanged(); } }
  16. private int _mId;
  17. /// <summary>
  18. /// 编号ID
  19. /// </summary>
  20. public int NumId { get { return _mNumId; } set { _mNumId = value; OnPropertyChanged(); } }
  21. private int _mNumId;
  22. /// <summary>
  23. /// 日期
  24. /// </summary>
  25. public string Date { get { return _mDate; } set { _mDate = value; OnPropertyChanged(); } }
  26. private string _mDate;
  27. /// <summary>
  28. /// 时间
  29. /// </summary>
  30. public string Time { get { return _mTime; } set { _mTime = value; OnPropertyChanged(); } }
  31. private string _mTime;
  32. /// <summary>
  33. /// 报警信息
  34. /// </summary>
  35. public string Info { get { return _mInfo; } set { _mInfo = value; OnPropertyChanged(); } }
  36. private string _mInfo;
  37. /// <summary>
  38. /// 报警值
  39. /// </summary>
  40. public string Value { get { return _mValue; } set { _mValue = value; OnPropertyChanged(); } }
  41. private string _mValue;
  42. /// <summary>
  43. /// 报警等级
  44. /// </summary>
  45. public string Grade { get { return _mGrade; } set { _mGrade = value; OnPropertyChanged(); } }
  46. private string _mGrade;
  47. }
  48. }