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.
119 lines
4.5 KiB
119 lines
4.5 KiB
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Web;
|
||
|
using System.Web.Mvc.Html;
|
||
|
using QMFrameWork.WebUI.Attribute;
|
||
|
using QMFrameWork.WebUI;
|
||
|
|
||
|
namespace QMAPP.MD.Web.Models
|
||
|
{
|
||
|
public class ParameterConfigEntityModel : QDGModel
|
||
|
{
|
||
|
///<summary>
|
||
|
///主键
|
||
|
///</summary>
|
||
|
[Description("")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[InputType(inputType.hidden)]
|
||
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 工厂
|
||
|
/// </summary>
|
||
|
[Description("工厂")]
|
||
|
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 15, Width = 160)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string FACTORY_CODE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 工厂
|
||
|
/// </summary>
|
||
|
[Description("工厂")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 300, DataAlign = DataAlign.left)]
|
||
|
public string FACTORY_NAME { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///设备编码
|
||
|
///</summary>
|
||
|
[Description("设备名称")]
|
||
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20, Width = 160)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 90, DataAlign = DataAlign.center)]
|
||
|
public string MACHINECODDE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 设备名称
|
||
|
/// </summary>
|
||
|
[Description("设备名称")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 160)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
||
|
public string MACHINENAME { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///模具号
|
||
|
///</summary>
|
||
|
[Description("模具号")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 100, Width = 160, Height = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Sortable = false, Width = 50, DataAlign = DataAlign.center)]
|
||
|
public string MOLDNUMBER { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///参数类型
|
||
|
///</summary>
|
||
|
[Description("参数类型")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 160, JsonUtl = "/Dict/GetFixedComboxSource?kind=Columntype")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 60, DataAlign = DataAlign.center)]
|
||
|
public string COLUMNTYPE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///参数名称
|
||
|
///</summary>
|
||
|
[Description("参数名称")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 160)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
|
||
|
public string COLUMNCODE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///PLC地址
|
||
|
///</summary>
|
||
|
[Description("PLC地址")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 100, Width = 160, Height = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Sortable = false, Width = 300, DataAlign = DataAlign.left)]
|
||
|
public string CONNECTIONSTRING { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///处理方式
|
||
|
///</summary>
|
||
|
[Description("处理方式")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 100, Width = 160, Height = 50, JsonUtl = "/Dict/GetFixedComboxSource?kind=DealType")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(Sortable = false, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string DEALTYPE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///项目号
|
||
|
///</summary>
|
||
|
[Description("项目号")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 100, Width = 160, Height = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Sortable = false, Width = 70, DataAlign = DataAlign.left)]
|
||
|
public string PRODUCELINE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 存储数据表
|
||
|
/// </summary>
|
||
|
[Description("存储数据表")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 100, Width = 160, Height = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string TABLENAME { get; set; }
|
||
|
}
|
||
|
}
|