天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.6 KiB

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