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.
186 lines
4.8 KiB
186 lines
4.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using QMFrameWork.Data.Attributes;
|
|
using QMAPP.Entity;
|
|
namespace QMAPP.FJC.Entity.Basic
|
|
{
|
|
///</summary>
|
|
/// 模块编号:M13-1
|
|
/// 作 用:先决条件校验规则
|
|
/// 作 者:王庆男
|
|
/// 编写日期:2015年06月09日
|
|
///</summary>
|
|
[DBTable(TableName = "T_BD_RULE")]
|
|
public class ProcessRule : BaseEntity
|
|
{
|
|
///<summary>
|
|
///主键
|
|
///</summary>
|
|
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
|
|
public string PID { get; set; }
|
|
///<summary>
|
|
///工序设置主键
|
|
///</summary>
|
|
[DBColumn(ColumnName = "PSD", DataType = DbType.String)]
|
|
public string PSD { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///0:前置工序
|
|
//1:冷却时间
|
|
//2:零件组成
|
|
///</summary>
|
|
[DBColumn(ColumnName = "RULETYPE", DataType = DbType.String)]
|
|
public string RULETYPE { get; set; }
|
|
public string RULETYPES { get; set; }
|
|
|
|
public string RULETYPETEXT { get; set; }
|
|
///<summary>
|
|
///0:前置工序 为工序类别
|
|
//1:冷却时间 为工序类别
|
|
//翻译对应的工序类别
|
|
///</summary>
|
|
[DBColumn(ColumnName = "RULECONTENT", DataType = DbType.String)]
|
|
public string RULECONTENT { get; set; }
|
|
public string RULECONTENTTEXT { get; set; }
|
|
|
|
///<summary>
|
|
///规则值
|
|
///</summary>
|
|
[DBColumn(ColumnName = "RULEVALUE", DataType = DbType.Int32)]
|
|
public int RULEVALUE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///零件类别
|
|
///</summary>
|
|
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
|
|
public string PRODUCTTYPE { get; set; }
|
|
public string PRODUCTTYPETEXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///零件来源
|
|
///</summary>
|
|
public string PRODUCTSOURCE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///零件单位
|
|
///</summary>
|
|
public string PRODUCTUNIT { get; set; }
|
|
|
|
///<summary>
|
|
///零件额外判断属性
|
|
///</summary>
|
|
[DBColumn(ColumnName = "PRODUCTATTR", DataType = DbType.String)]
|
|
public string PRODUCTATTR { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///0:搪塑
|
|
//1:骨架注塑
|
|
//2:气囊支架注塑
|
|
//3:风道注塑
|
|
//4:中控之间注塑
|
|
//5:HUD风道注塑
|
|
//5:冷刀弱化
|
|
//6:火焰加工
|
|
//7:预热
|
|
//8:浇注
|
|
//9:红外扫描
|
|
//10:冲切
|
|
//11:铣削
|
|
//12:铆接
|
|
//13:超时波焊接
|
|
//14:红外焊接
|
|
//15:总成装配
|
|
///</summary>
|
|
[DBColumn(ColumnName = "CURRENTPROCESS", DataType = DbType.String)]
|
|
public string CURRENTPROCESS { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///条件顺序
|
|
///</summary>
|
|
[DBColumn(ColumnName = "RULESORT", DataType = DbType.Int32)]
|
|
public int RULESORT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///
|
|
///</summary>
|
|
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
|
|
public string CREATEUSER { 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; }
|
|
|
|
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
|
|
public string MEMO { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///
|
|
///</summary>
|
|
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
|
|
public string PROCESSNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 实际值
|
|
/// </summary>
|
|
public int RULEVALUENOW { get; set; }
|
|
|
|
/// <summary>
|
|
/// 零件条码显示
|
|
/// </summary>
|
|
public string PRODUCTCODES { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否合格
|
|
/// </summary>
|
|
public bool isOk { get; set; }
|
|
public string isOkTEXT { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否合格
|
|
/// </summary>
|
|
public bool isValid { get; set; }
|
|
|
|
/// <summary>
|
|
/// 错误标识
|
|
/// </summary>
|
|
public bool isError { get; set; }
|
|
/// <summary>
|
|
/// 错误信息
|
|
/// </summary>
|
|
public string InfoError { get; set; }
|
|
/// <summary>
|
|
/// 导入时判断添加修改
|
|
/// </summary>
|
|
public bool IsNewInfo { get; set; }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|