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
{
///
///主键
///
[Description("")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///
/// 工厂
///
[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; }
///
/// 工厂
///
[Description("工厂")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 300, DataAlign = DataAlign.left)]
public string FACTORY_NAME { get; set; }
///
///设备编码
///
[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; }
///
/// 设备名称
///
[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; }
///
///模具号
///
[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; }
///
///参数类型
///
[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; }
///
///参数名称
///
[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; }
///
///PLC地址
///
[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; }
///
///处理方式
///
[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; }
///
///项目号
///
[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; }
///
/// 存储数据表
///
[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; }
}
}