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
{
///
/// 模拟量报警模块
///
public class AnalogAlarmModel : NoticeBase
{
///
/// 设定报警值
///
public int AlarmValue { get { return _mAlarmValue; } set { _mAlarmValue = value; OnPropertyChanged(); } }
private int _mAlarmValue = 0;
///
/// 是否启用该报警
///
public bool IsEnable { get { return _mIsEnable; } set { _mIsEnable = value; OnPropertyChanged(); } }
private bool _mIsEnable;
///
/// 报警信息
///
public string AlarmInfo { get { return _mAlarmInfo; } set { _mAlarmInfo = value; OnPropertyChanged(); } }
private string _mAlarmInfo = string.Empty;
///
/// 报警标签
///
public string AlarmTag { get { return _mAlarmTag; } set { _mAlarmTag = value; OnPropertyChanged(); } }
private string _mAlarmTag = string.Empty;
///
/// 排序标签
///
public EAnalogAlarmType SortTag { get { return _mSortTag; } set { _mSortTag = value; OnPropertyChanged(); } }
private EAnalogAlarmType _mSortTag;
}
}