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")]
public class DAI : BaseEntity
{
///
/// 主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
/// 工序编码
///
[DBColumn(ColumnName = "WORKCELL_CODE", DataType = DbType.String)]
public string WORKCELL_CODE { get; set; }
///
/// 设备编码
///
[DBColumn(ColumnName = "EQUIPMENT_CODE", DataType = DbType.String)]
public string EQUIPMENT_CODE { get; set; }
///
/// 采集点编码
///
[DBColumn(ColumnName = "DA_CODE", DataType = DbType.String)]
public string DA_CODE { get; set; }
///
/// 采集点名称
///
[DBColumn(ColumnName = "DA_NAME", DataType = DbType.String)]
public string DA_NAME { get; set; }
///
/// 采集点状态
///
[DBColumn(ColumnName = "DA_STATUS", DataType = DbType.String)]
public string DA_STATUS { get; set; }
///
/// 解析编码
///
[DBColumn(ColumnName = "ANALYZE_CODE", DataType = DbType.String)]
public string ANALYZE_CODE { get; set; }
///
/// 物料号
///
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
///
/// 物料类型
///
[DBColumn(ColumnName = "MATERIAL_TYPE", DataType = DbType.String)]
public string MATERIAL_TYPE { get; set; }
///
/// 数据类型
///
[DBColumn(ColumnName = "DATA_TYPE", DataType = DbType.String)]
public string DATA_TYPE { get; set; }
///
/// 工序状态
///
[DBColumn(ColumnName = "STATE_CODE", DataType = DbType.String)]
public string STATE_CODE { get; set; }
///
/// 采集顺序
///
[DBColumn(ColumnName = "DA_SEQ", DataType = DbType.Int32)]
public int DA_SEQ { get; set; }
///
/// 关键采集点
///
[DBColumn(ColumnName = "PIVOTAL", DataType = DbType.String)]
public string PIVOTAL { get; set; }
///
/// 采集模式
/// 0:未设置
/// 1:实时
/// 2:可忽略项(当配置为可忽略项时 采集顺序不可设为最后采集)
/// 3:自适应项(根据主要物料进行更换)
/// 5: 2+3
///
[DBColumn(ColumnName = "DA_MODE", DataType = DbType.String)]
public string DA_MODE { 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 = "ISPROCESSCODE", DataType = DbType.String)]
public string ISPROCESSCODE { get; set; }
///
/// 是否区分模架
///
[DBColumn(ColumnName = "DIVBY_MOULD", DataType = DbType.String)]
public string DIVBY_MOULD { get; set; }
///
/// 是否可提前输入
///
[DBColumn(ColumnName = "CANPREINPUT", DataType = DbType.String)]
public string CANPREINPUT { get; set; }
///
/// 加工工位名称
///
public string WORKLOC_NAME { get; set; }
///
/// 加工工位
///
public string WORKLOC_CODE { get; set; }
///
/// 工序状态名称
///
public string STATE_NAME { get; set; }
///
/// 物料类型名称
///
public string MATERIAL_TYPE_NAME { get; set; }
///
/// 模架号
///
public string MOULD_CODE { get; set; }
///
/// 是否合格
///
public bool isOk { get; set; }
///
/// 提示信息
///
public string infoText { get; set; }
public string PBOM { get; set; }
public string PBOMITEM { get; set; }
public string Result { get; set; }
}
}