天津投入产出系统后端
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.

162 lines
4.7 KiB

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
{
/// <summary>
/// 模块名称:数据采集缓存
/// 作 者:张鹏
/// 编写日期:2017年08月31日
/// </summary>
[DBTable(TableName = "T_QT_DAI_CACHE")]
public class DAICache : BaseEntity
{
/// <summary>
/// 主键
/// </summary>
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
/// <summary>
/// 工序编码
/// </summary>
[DBColumn(ColumnName = "WORKCELL_CODE", DataType = DbType.String)]
public string WORKCELL_CODE { get; set; }
/// <summary>
/// 工位编码
/// </summary>
[DBColumn(ColumnName = "WORKLOC_CODE", DataType = DbType.String)]
public string WORKLOC_CODE { get; set; }
/// <summary>
/// 采集点编码
/// </summary>
[DBColumn(ColumnName = "DA_CODE", DataType = DbType.String)]
public string DA_CODE { get; set; }
/// <summary>
/// 物料类型
/// </summary>
[DBColumn(ColumnName = "MATERIAL_TYPE", DataType = DbType.String)]
public string MATERIAL_TYPE { get; set; }
/// <summary>
/// 物料号
/// </summary>
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
/// <summary>
/// 数据类型
/// </summary>
[DBColumn(ColumnName = "DATA_TYPE", DataType = DbType.String)]
public string DATA_TYPE { get; set; }
/// <summary>
/// 工序状态
/// </summary>
[DBColumn(ColumnName = "STATE_CODE", DataType = DbType.String)]
public string STATE_CODE { get; set; }
/// <summary>
/// 采集顺序
/// </summary>
[DBColumn(ColumnName = "DA_SEQ", DataType = DbType.Int32)]
public int DA_SEQ { get; set; }
/// <summary>
/// 采集点状态
/// </summary>
[DBColumn(ColumnName = "DA_STATE", DataType = DbType.String)]
public string DA_STATE { get; set; }
/// <summary>
/// 采集值
/// </summary>
[DBColumn(ColumnName = "DA_VALUE", DataType = DbType.String)]
public string DA_VALUE { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 是否已保存
/// </summary>
[DBColumn(ColumnName = "SAVED", DataType = DbType.String)]
public string SAVED { get; set; }
/// <summary>
/// 关键采集点
/// </summary>
[DBColumn(ColumnName = "PIVOTAL", DataType = DbType.String)]
public string PIVOTAL { get; set; }
/// <summary>
/// 采集模式
/// 0:未设置
/// 1:实时
/// 2:可忽略项(当配置为可忽略项时 采集顺序不可设为最后采集)
/// 3:自适应项(根据主要物料进行更换)
/// 5: 2+3
/// </summary>
[DBColumn(ColumnName = "DA_MODE", DataType = DbType.String)]
public string DA_MODE { get; set; }
/// <summary>
/// 是否为过程码采集点
/// </summary>
[DBColumn(ColumnName = "ISPROCESSCODE", DataType = DbType.String)]
public string ISPROCESSCODE { get; set; }
/// <summary>
/// 提前输入项
/// </summary>
[DBColumn(ColumnName = "PREINPUT", DataType = DbType.String)]
public string PREINPUT { get; set; }
/// <summary>
/// 数据对象主键
/// </summary>
[DBColumn(ColumnName = "OBJ_PID", DataType = DbType.String)]
public string OBJ_PID { get; set; }
/// <summary>
/// 模架号
/// </summary>
[DBColumn(ColumnName = "MOULD_CODE", DataType = DbType.String)]
public string MOULD_CODE { get; set; }
/// <summary>
/// 采集点名称
/// </summary>
public string DA_NAME { get; set; }
/// <summary>
/// 设备编码
/// </summary>
public string EQUIPMENT_CODE { get; set; }
/// <summary>
/// 工序状态名称
/// </summary>
public string STATE_NAME { get; set; }
public string WORKLOC_NAME { get; set; }
public int CAPACITY { get; set; }
public int USINGCOUNT { get; set; }
public string MATERIAL_NAME { get; set; }
}
}