using System;
using System.Data;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
using System.Runtime.Serialization;
namespace QMAPP.FJC.Entity.Equipment
{
///
/// 报警信息列表
///
[DBTable(TableName = "T_EQP_ALARMTABLE")]
public class AlarmTable
{
[DBColumn(ColumnName = "PID", DataType = DbType.String,IsKey = true)]
public string PID { get; set; }
///
/// 报警代码
///
[DBColumn(ColumnName = "ALARM_CODE", DataType = DbType.String)]
public string ALARM_CODE { get; set; }
///
/// 报警类型
///
[DBColumn(ColumnName = "ALARM_TYPE", DataType = DbType.String)]
public string ALARM_TYPE { get; set; }
///
/// 报警文本
///
[DBColumn(ColumnName = "ALARM_TEXT", DataType = DbType.String)]
public string ALARM_TEXT { get; set; }
///
/// 设备编码
///
[DBColumn(ColumnName = "EQPT_CODE", DataType = DbType.String)]
public string EQPT_CODE { get; set; }
///
/// OPC ID
///
[DBColumn(ColumnName = "OPCITEM_ID", DataType = DbType.String)]
public string OPCITEM_ID { get; set; }
///
/// 报警状态:0:不监控 1:监控
///
[DBColumn(ColumnName = "ALARM_STATE", DataType = DbType.String)]
public string ALARM_STATE { get; set; }
}
}