using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mesnac.Action.ChemicalWeighing.Entity
{
///
/// 报警参数实体类
///
[Serializable]
public class PmtAlarmInfo
{
#region 私有字段
private string _GUID;//无
private string _equip_Code;
private int _alarm_ID;
private string _alarmPLC;
private string _alarmBlock;
private int _alarmAddress;
private int _alarmBit;
private string _alarmCode;//无
private string _alarmName;
private string _alarmPosition;
private string _remark;//无
private DateTime _recordTime;//无
private string _recordUser;//无
private string _dataSource;//无
private int _Plc_Type; //PLC类型
private char _save_Flag; //是否需要保存报警
#endregion
#region 公有属性
///
///
///
public string GUID
{
get { return _GUID; }
set { _GUID = value; }
}
///
/// 报警机台号
///
public string Equip_Code
{
get { return _equip_Code; }
set { _equip_Code = value; }
}
///
/// 报警代码
///
public int Alarm_ID
{
get { return _alarm_ID; }
set { _alarm_ID = value; }
}
///
/// 报警PLC
///
public string AlarmPLC
{
get { return _alarmPLC; }
set { _alarmPLC = value; }
}
///
/// 报警数据块
///
public string AlarmBlock
{
get { return _alarmBlock; }
set { _alarmBlock = value; }
}
///
/// 报警地址字
///
public int AlarmAddress
{
get { return _alarmAddress; }
set { _alarmAddress = value; }
}
///
/// 报警位
///
public int AlarmBit
{
get { return _alarmBit; }
set { _alarmBit = value; }
}
public string AlarmCode
{
get { return _alarmCode; }
set { _alarmCode = value; }
}
///
/// 报警信息(报警名称)
///
public string AlarmName
{
get { return _alarmName; }
set { _alarmName = value; }
}
///
/// 报警位置
///
public string AlarmPosition
{
get { return _alarmPosition; }
set { _alarmPosition = value; }
}
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
public DateTime RecordTime
{
get { return _recordTime; }
set { _recordTime = value; }
}
public string RecordUser
{
get { return _recordUser; }
set { _recordUser = value; }
}
public string DataSource
{
get { return _dataSource; }
set { _dataSource = value; }
}
///
/// 报警PLC类型
///
public int PLCType
{
get { return _Plc_Type; }
set { _Plc_Type = value; }
}
///
/// 是否需要保存报警
///
public char SaveFlag
{
get { return _save_Flag; }
set { _save_Flag = value; }
}
#endregion
}
}