You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 line
1.5 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
  10. {
  11. /// <summary>
  12. /// ID
  13. /// </summary>
  14. [Key]
  15. public int Id
  16. {
  17. get { return _mId; }
  18. set { _mId = value; }
  19. }
  20. private int _mId;
  21. /// <summary>
  22. /// 编号ID
  23. /// </summary>
  24. public int NumId { get { return _mNumId; } set { _mNumId = value; } }
  25. private int _mNumId;
  26. /// <summary>
  27. /// 日期
  28. /// </summary>
  29. public string Date { get { return _mDate; } set { _mDate = value; } }
  30. private string _mDate;
  31. /// <summary>
  32. /// 时间
  33. /// </summary>
  34. public string Time { get { return _mTime; } set { _mTime = value; } }
  35. private string _mTime;
  36. /// <summary>
  37. /// 报警信息
  38. /// </summary>
  39. public string Info { get { return _mInfo; } set { _mInfo = value; } }
  40. private string _mInfo;
  41. /// <summary>
  42. /// 报警值
  43. /// </summary>
  44. public string Value { get { return _mValue; } set { _mValue = value; } }
  45. private string _mValue;
  46. /// <summary>
  47. /// 报警等级
  48. /// </summary>
  49. public string Grade { get { return _mGrade; } set { _mGrade = value; } }
  50. private string _mGrade;
  51. }
  52. }