终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 2 gadiem
pirms 1 gada
pirms 2 gadiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. }