using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Data;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.QT
{
///
/// 模块名称:数据采集校验
/// 作 者:张鹏
/// 编写日期:2017年08月31日
///
[DBTable(TableName = "T_QT_DAI_VALIDATION")]
public class DAIValidation : BaseEntity
{
///
/// 主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
/// 采集点主键
///
[DBColumn(ColumnName = "DAI_PID", DataType = DbType.String)]
public string DAI_PID { get; set; }
///
/// 采集项编码
///
[DBColumn(ColumnName = "ITEM_CODE", DataType = DbType.String)]
public string ITEM_CODE { get; set; }
///
/// 验证代码
///
[DBColumn(ColumnName = "VALIDATION_CODE", DataType = DbType.String)]
public string VALIDATION_CODE { get; set; }
///
/// 标准值
///
[DBColumn(ColumnName = "STD_VALUE", DataType = DbType.String)]
public string STD_VALUE { get; set; }
///
/// 下限值
///
[DBColumn(ColumnName = "LOWER_LMT", DataType = DbType.Decimal)]
public decimal LOWER_LMT { get; set; }
///
/// 上限值
///
[DBColumn(ColumnName = "UPPER_LMT", DataType = DbType.Decimal)]
public decimal UPPER_LMT { get; set; }
///
/// 描述
///
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///
/// 创建人
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
///
/// 创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///
/// 更新人
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
///
/// 更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
/// 禁用
///
[DBColumn(ColumnName = "DISABLE", DataType = DbType.String)]
public string DISABLE { get; set; }
public string DISABLE_TEXT
{
get
{
if (string.Equals(DISABLE, "1"))
{ return "禁用"; }
else
{ return "启用"; }
}
set { }
}
public string WORKCELL_CODE { get; set; }
public string WORKCELL_NAME { get; set; }
public string DA_CODE { get; set; }
public string DA_NAME { get; set; }
public string VALIDATOR_NAME { get; set; }
}
}