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.
278 lines
11 KiB
278 lines
11 KiB
using System;
|
|
using System.Web.Mvc;
|
|
using System.Web.Mvc.Html;
|
|
using QMAPP.Web;
|
|
using QMFrameWork.WebUI;
|
|
using QMFrameWork.WebUI.Attribute;
|
|
|
|
namespace QMAPP.MD.Web.Models
|
|
{
|
|
/// </summary>
|
|
/// 模块名称:采集数据借口
|
|
/// 作 者:QMMES
|
|
/// 编写日期:2017年09月05日
|
|
/// </summary>
|
|
public class DaiModel : QDGModel
|
|
{
|
|
///<summary>
|
|
///采集点主键
|
|
///</summary>
|
|
[Description("采集点主键")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 工厂编号
|
|
/// </summary>
|
|
[Description("工厂")]
|
|
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 20, Width = 160)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string FACTORY_CODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 工厂名称
|
|
/// </summary>
|
|
[Description("工厂名称")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)]
|
|
public string FACTORY_NAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///工序编码
|
|
///</summary>
|
|
[Description("工序编码")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string WORKCELL_CODE { get; set; }
|
|
|
|
[Description("工序名称")]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string WORKCELL_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///设备编码
|
|
///</summary>
|
|
[Description("设备编码")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 10, Width = 160)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string EQUIPMENT_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///采集点编码
|
|
///</summary>
|
|
[Description("采集点编码")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 160)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string DA_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///采集点名称
|
|
///</summary>
|
|
[Description("采集点名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 60, Width = 160)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string DA_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///采集点状态
|
|
///</summary>
|
|
[Description("采集点状态")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 1)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string DA_STATUS { get; set; }
|
|
|
|
///<summary>
|
|
///物料种类
|
|
///</summary>
|
|
[Description("物料种类")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIAL_TYPE { get; set; }
|
|
|
|
[Description("物料种类名称")]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIAL_TYPE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///物料号
|
|
///</summary>
|
|
[Description("物料")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 20, Width = 160, JsonUtl = "/Dict/GetMaterialTree")]
|
|
[InputType(inputType.combotree)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIAL_CODE { get; set; }
|
|
|
|
[Description("物料名称")]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIAL_CODE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///解析类别
|
|
///</summary>
|
|
[Description("解析类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 160, JsonUtl = "/Dict/GetAnalyzerComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
public string ANALYZE_CODE { get; set; }
|
|
|
|
[Description("解析类别")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string ANALYZE_CODE_NAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///采集类型
|
|
///</summary>
|
|
[Description("采集类型")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 160, JsonUtl = "/Dict/GetFixedComboxSource?kind=DataType&WithEmpty=false")]
|
|
[InputType(inputType.combobox)]
|
|
public string DATA_TYPE { get; set; }
|
|
|
|
[Description("采集类型")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string DATA_TYPE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///状态码
|
|
///</summary>
|
|
[Description("状态码")]
|
|
[HTMLInput(UpdateRead = false, required = false, Width = 160)]
|
|
[InputType(inputType.combobox)]
|
|
public string STATE_CODE { get; set; }
|
|
|
|
[Description("状态码")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string STATE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///采集点顺序
|
|
///</summary>
|
|
[Description("采集点顺序")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public int DA_SEQ { get; set; }
|
|
|
|
///<summary>
|
|
///关键数据项
|
|
///</summary>
|
|
[Description("关键数据项")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 1)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PIVOTAL { get; set; }
|
|
|
|
///<summary>
|
|
///采集方式
|
|
///</summary>
|
|
[Description("采集方式")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 160, JsonUtl = "/Dict/GetFixedComboxSource?kind=DaMode&WithEmpty=false")]
|
|
[InputType(inputType.combobox)]
|
|
public string DA_MODE { get; set; }
|
|
|
|
[Description("采集方式")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string DA_MODE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///是否作为过程码
|
|
///</summary>
|
|
[Description("过程主码")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 160, JsonUtl = "/Dict/GetFixedComboxSource?kind=IsProcessCode&WithEmpty=false")]
|
|
[InputType(inputType.combobox)]
|
|
public string ISPROCESSCODE { get; set; }
|
|
|
|
[Description("过程主码")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string ISPROCESSCODE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///区分模具
|
|
///</summary>
|
|
[Description("区分模具")]
|
|
[HTMLInput(UpdateRead = false, required = true, Width = 160, JsonUtl = "/Dict/GetFixedComboxSource?kind=DivbyMould&WithEmpty=false")]
|
|
[InputType(inputType.combobox)]
|
|
public string DIVBY_MOULD { get; set; }
|
|
|
|
[Description("区分模具")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string DIVBY_MOULD_NAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///描述
|
|
///</summary>
|
|
[Description("描述")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 200)]
|
|
[InputType(inputType.textArea)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string REMARK { get; set; }
|
|
|
|
///<summary>
|
|
///创建用户
|
|
///</summary>
|
|
[Description("创建用户")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
public string CREATEUSER { get; set; }
|
|
|
|
[Description("创建用户")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string CREATEUSER_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///创建时间
|
|
///</summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = false,required = false, MaxLength = 8)]
|
|
[InputType(inputType.datebox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
|
|
public DateTime CREATEDATE { get; set; }
|
|
|
|
///<summary>
|
|
///更新用户
|
|
///</summary>
|
|
[Description("更新用户")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
public string UPDATEUSER { get; set; }
|
|
|
|
[Description("更新用户")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string UPDATEUSER_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///更新时间
|
|
///</summary>
|
|
[Description("更新时间")]
|
|
[HTMLInput(UpdateRead = false, required = false, MaxLength = 8)]
|
|
[InputType(inputType.datebox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
|
|
public DateTime UPDATEDATE { get; set; }
|
|
|
|
///<summary>
|
|
///删除标识
|
|
///</summary>
|
|
//[Description("删除标识")]
|
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 1)]
|
|
//[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
//public string FLGDEL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 明细数据
|
|
/// </summary>
|
|
//public string DetailValue { get; set; }
|
|
}
|
|
}
|
|
|
|
|