终端一体化运控平台
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.
 
 
 

55 rindas
1.5 KiB

  1. using BPASmart.Model;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPASmart.Model
  10. {
  11. /// <summary>
  12. /// 模拟量报警模块
  13. /// </summary>
  14. public class AnalogAlarmModel : NoticeBase
  15. {
  16. /// <summary>
  17. /// 设定报警值
  18. /// </summary>
  19. public int AlarmValue { get { return _mAlarmValue; } set { _mAlarmValue = value; OnPropertyChanged(); } }
  20. private int _mAlarmValue = 0;
  21. /// <summary>
  22. /// 是否启用该报警
  23. /// </summary>
  24. public bool IsEnable { get { return _mIsEnable; } set { _mIsEnable = value; OnPropertyChanged(); } }
  25. private bool _mIsEnable;
  26. /// <summary>
  27. /// 报警信息
  28. /// </summary>
  29. public string AlarmInfo { get { return _mAlarmInfo; } set { _mAlarmInfo = value; OnPropertyChanged(); } }
  30. private string _mAlarmInfo = string.Empty;
  31. /// <summary>
  32. /// 报警标签
  33. /// </summary>
  34. public string AlarmTag { get { return _mAlarmTag; } set { _mAlarmTag = value; OnPropertyChanged(); } }
  35. private string _mAlarmTag = string.Empty;
  36. /// <summary>
  37. /// 排序标签
  38. /// </summary>
  39. public EAnalogAlarmType SortTag { get { return _mSortTag; } set { _mSortTag = value; OnPropertyChanged(); } }
  40. private EAnalogAlarmType _mSortTag;
  41. }
  42. }