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.
67 lines
1.4 KiB
C#
67 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Entity
|
|
{
|
|
/// <summary>
|
|
/// 报警扩展类
|
|
/// </summary>
|
|
public class AlarmInfo
|
|
{
|
|
#region 字段定义
|
|
|
|
private string _alarmPLC;
|
|
private string _alarmBlock;
|
|
private int _start;
|
|
private int _length;
|
|
private Int16[] _data;
|
|
private string _alarmWord;
|
|
private string _alarmBit;
|
|
#endregion
|
|
|
|
#region 属性定义
|
|
|
|
public string AlarmPLC
|
|
{
|
|
get { return _alarmPLC; }
|
|
set { _alarmPLC = value; }
|
|
}
|
|
public string AlarmBlock
|
|
{
|
|
get { return _alarmBlock; }
|
|
set { _alarmBlock = value; }
|
|
}
|
|
public int Start
|
|
{
|
|
get { return _start; }
|
|
set { _start = value; }
|
|
}
|
|
public int Length
|
|
{
|
|
get { return _length; }
|
|
set { _length = value; }
|
|
}
|
|
public Int16[] Data
|
|
{
|
|
get { return _data; }
|
|
set { _data = value; }
|
|
}
|
|
|
|
public string AlarmWord
|
|
{
|
|
get { return _alarmWord; }
|
|
set { _alarmWord = value; }
|
|
}
|
|
|
|
public string AlarmBit
|
|
{
|
|
get { return _alarmBit; }
|
|
set { _alarmBit = value; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|