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.
lj_plc/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Entity/Alarm/SimpleAlarmInfo.cs

55 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mesnac.Action.ChemicalWeighing.Entity
{
/// <summary>
/// 简单报警信息类
/// </summary>
[Serializable]
public class SimpleAlarmInfo
{
#region 私有字段
private string _alramPLC;
private string _alarmBlock;
private int _alarmAddress;
private bool[] _isSaveAlarm = new bool[16] { false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false }; //是否保存过报警记录
private Int16 _alarmData = 0;
#endregion
#region 公有属性
public string AlramPLC
{
get { return _alramPLC; }
set { _alramPLC = value; }
}
public string AlarmBlock
{
get { return _alarmBlock; }
set { _alarmBlock = value; }
}
public int AlarmAddress
{
get { return _alarmAddress; }
set { _alarmAddress = value; }
}
public bool[] IsSaveAlarm
{
get { return _isSaveAlarm; }
set { _isSaveAlarm = value; }
}
public Int16 AlarmData
{
get { return _alarmData; }
set { _alarmData = value; }
}
#endregion
}
}