You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
3.8 KiB
C#
154 lines
3.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Entity
|
|
{
|
|
/// <summary>
|
|
/// 报警参数实体类
|
|
/// </summary>
|
|
[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 公有属性
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string GUID
|
|
{
|
|
get { return _GUID; }
|
|
set { _GUID = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警机台号
|
|
/// </summary>
|
|
public string Equip_Code
|
|
{
|
|
get { return _equip_Code; }
|
|
set { _equip_Code = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警代码
|
|
/// </summary>
|
|
public int Alarm_ID
|
|
{
|
|
get { return _alarm_ID; }
|
|
set { _alarm_ID = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警PLC
|
|
/// </summary>
|
|
public string AlarmPLC
|
|
{
|
|
get { return _alarmPLC; }
|
|
set { _alarmPLC = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警数据块
|
|
/// </summary>
|
|
public string AlarmBlock
|
|
{
|
|
get { return _alarmBlock; }
|
|
set { _alarmBlock = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警地址字
|
|
/// </summary>
|
|
public int AlarmAddress
|
|
{
|
|
get { return _alarmAddress; }
|
|
set { _alarmAddress = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警位
|
|
/// </summary>
|
|
public int AlarmBit
|
|
{
|
|
get { return _alarmBit; }
|
|
set { _alarmBit = value; }
|
|
}
|
|
public string AlarmCode
|
|
{
|
|
get { return _alarmCode; }
|
|
set { _alarmCode = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警信息(报警名称)
|
|
/// </summary>
|
|
public string AlarmName
|
|
{
|
|
get { return _alarmName; }
|
|
set { _alarmName = value; }
|
|
}
|
|
/// <summary>
|
|
/// 报警位置
|
|
/// </summary>
|
|
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; }
|
|
}
|
|
/// <summary>
|
|
/// 报警PLC类型
|
|
/// </summary>
|
|
public int PLCType
|
|
{
|
|
get { return _Plc_Type; }
|
|
set { _Plc_Type = value; }
|
|
}
|
|
/// <summary>
|
|
/// 是否需要保存报警
|
|
/// </summary>
|
|
public char SaveFlag
|
|
{
|
|
get { return _save_Flag; }
|
|
set { _save_Flag = value; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|