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.
193 lines
5.8 KiB
193 lines
5.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using QMFrameWork.Data.Attributes;
|
|
using QMAPP.Entity;
|
|
|
|
namespace QMAPP.MD.Entity
|
|
{
|
|
/// </summary>
|
|
/// 模块名称:采集数据借口
|
|
/// 作 者:QMMES
|
|
/// 编写日期:2017年09月05日
|
|
/// </summary>
|
|
[DBTable(TableName = "T_QT_DAI")]
|
|
public class Dai : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 采集点主键
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "PID",DataType = DbType.String,IsKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂编号
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
|
|
public string FACTORY_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂名
|
|
/// </summary>
|
|
public string FACTORY_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工序编码
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "WORKCELL_CODE",DataType = DbType.String)]
|
|
public string WORKCELL_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工序名称
|
|
/// </summary>
|
|
public string WORKCELL_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备编码
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "EQUIPMENT_CODE",DataType = DbType.String)]
|
|
public string EQUIPMENT_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备名称
|
|
/// </summary>
|
|
public string EQUIPMENT_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采集点编码
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DA_CODE",DataType = DbType.String)]
|
|
public string DA_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采集点名称
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DA_NAME",DataType = DbType.String)]
|
|
public string DA_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采集点状态
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DA_STATUS",DataType = DbType.String)]
|
|
public string DA_STATUS { get; set; }
|
|
|
|
/// <summary>
|
|
/// 解析类别
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "ANALYZE_CODE", DataType = DbType.String)]
|
|
public string ANALYZE_CODE { get; set; }
|
|
public string ANALYZE_CODE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料号
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "MATERIAL_CODE",DataType = DbType.String)]
|
|
public string MATERIAL_CODE { get; set; }
|
|
public string MATERIAL_CODE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料种类
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "MATERIAL_TYPE", DataType = DbType.String)]
|
|
public string MATERIAL_TYPE { get; set; }
|
|
public string MATERIAL_TYPE_NAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 数据类型
|
|
/// BN:批次号 SN:序列号 PARM:加工参数 MN:模架号
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DATA_TYPE",DataType = DbType.String)]
|
|
public string DATA_TYPE { get; set; }
|
|
|
|
public string DATA_TYPE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态码
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "STATE_CODE", DataType = DbType.String)]
|
|
public string STATE_CODE { get; set; }
|
|
|
|
public string STATE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采集点顺序
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DA_SEQ", DataType = DbType.Int32)]
|
|
public int DA_SEQ { get; set; }
|
|
|
|
/// <summary>
|
|
/// 关键数据项
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "PIVOTAL", DataType = DbType.String)]
|
|
public string PIVOTAL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采集方式
|
|
/// 1:实时采集 2:忽略采集 3:自适应采集点
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DA_MODE",DataType = DbType.String)]
|
|
public string DA_MODE { get; set; }
|
|
|
|
public string DA_MODE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 过程主码
|
|
/// 0:否 1:是
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "ISPROCESSCODE", DataType = DbType.String)]
|
|
public string ISPROCESSCODE { get; set; }
|
|
|
|
public string ISPROCESSCODE_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 区分模具
|
|
/// 0:否 1:是
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DIVBY_MOULD", DataType = DbType.String)]
|
|
public string DIVBY_MOULD { get; set; }
|
|
|
|
public string DIVBY_MOULD_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "REMARK",DataType = DbType.String)]
|
|
public string REMARK { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "CREATEUSER",DataType = DbType.String)]
|
|
public string CREATEUSER { get; set; }
|
|
public string CREATEUSER_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "CREATEDATE",DataType = DbType.DateTime)]
|
|
public DateTime CREATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "UPDATEUSER",DataType = DbType.String)]
|
|
public string UPDATEUSER { get; set; }
|
|
public string UPDATEUSER_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "UPDATEDATE",DataType = DbType.DateTime)]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 删除标识
|
|
/// </summary>
|
|
//[DBColumn(ColumnName = "FLGDEL",DataType = DbType.String)]
|
|
//public string FLGDEL { get; set; }
|
|
|
|
//public List<DaiData> Details { get; set; }
|
|
}
|
|
}
|
|
|
|
|