- using BPASmart.Model;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmart.Model
- {
- /// <summary>
- /// 模拟量报警模块
- /// </summary>
- public class AnalogAlarmModel : NoticeBase
- {
-
- /// <summary>
- /// 设定报警值
- /// </summary>
- public int AlarmValue { get { return _mAlarmValue; } set { _mAlarmValue = value; OnPropertyChanged(); } }
- private int _mAlarmValue = 0;
-
-
- /// <summary>
- /// 是否启用该报警
- /// </summary>
- public bool IsEnable { get { return _mIsEnable; } set { _mIsEnable = value; OnPropertyChanged(); } }
- private bool _mIsEnable;
-
-
- /// <summary>
- /// 报警信息
- /// </summary>
- public string AlarmInfo { get { return _mAlarmInfo; } set { _mAlarmInfo = value; OnPropertyChanged(); } }
- private string _mAlarmInfo = string.Empty;
-
-
- /// <summary>
- /// 报警标签
- /// </summary>
- public string AlarmTag { get { return _mAlarmTag; } set { _mAlarmTag = value; OnPropertyChanged(); } }
- private string _mAlarmTag = string.Empty;
-
- /// <summary>
- /// 排序标签
- /// </summary>
- public EAnalogAlarmType SortTag { get { return _mSortTag; } set { _mSortTag = value; OnPropertyChanged(); } }
- private EAnalogAlarmType _mSortTag;
-
-
-
- }
- }
|