AlarmHistoryEntity.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. using CommunityToolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ivf_tl_Entity.Entity.Alarm
  8. {
  9. public class AlarmHistoryEntity : ObservableObject
  10. {
  11. public int num { get; set; }
  12. public string fayuTime { get; set; } = "---";
  13. public string alarmState { get; set; } = "结束报警";
  14. public string alarmContent { get; set; }
  15. public string tlName { get; set; }
  16. public long id { get; set; }
  17. private string _tlSn;
  18. public string tlSn { get => _tlSn; set => SetProperty(ref _tlSn, value); }
  19. private int _wellSn;
  20. public int wellSn { get => _wellSn; set => SetProperty(ref _wellSn, value); }
  21. private int _houseSn;
  22. public int houseSn { get => _houseSn; set => SetProperty(ref _houseSn, value); }
  23. private int _alarmTypeId;
  24. public int alarmTypeId { get => _alarmTypeId; set => SetProperty(ref _alarmTypeId, value); }
  25. private string _alarmKey;
  26. public string alarmKey { get => _alarmKey; set => SetProperty(ref _alarmKey, value); }
  27. private string _title;
  28. public string title { get => _title; set => SetProperty(ref _title, value); }
  29. private string _text;
  30. public string text { get => _text; set => SetProperty(ref _text, value); }
  31. private string _textDetail;
  32. public string textDetail { get => _textDetail; set => SetProperty(ref _textDetail, value); }
  33. private string _startTime = string.Empty;
  34. public string startTime { get => _startTime; set => SetProperty(ref _startTime, value); }
  35. private string _endTime = string.Empty;
  36. public string endTime { get => _endTime; set => SetProperty(ref _endTime, value); }
  37. private string _startTimeString = string.Empty;
  38. public string startTimeString { get => _startTimeString; set => SetProperty(ref _startTimeString, value); }
  39. private string _endTimeString = "---";
  40. public string endTimeString { get => _endTimeString; set => SetProperty(ref _endTimeString, value); }
  41. private int _type;
  42. public int type { get => _type; set => SetProperty(ref _type, value); }
  43. /// <summary>
  44. /// 是否静音 0 否 1 是
  45. /// </summary>
  46. public int mute { get; set; }
  47. private int _notify;
  48. public int notify { get => _notify; set => SetProperty(ref _notify, value); }
  49. private bool isCheck;
  50. public bool IsCheck { get => isCheck; set => SetProperty(ref isCheck, value); }
  51. }
  52. }