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.
216 lines
7.8 KiB
216 lines
7.8 KiB
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.FJC.Web.Models.Basic
|
|
{
|
|
/// <summary>
|
|
/// 模块编号:M3-1
|
|
/// 作 用:注塑投料记录页面模型
|
|
/// 作 者:王丹丹
|
|
/// 编写日期:2015年06月01日
|
|
///</summary>
|
|
public class InJectionRecorderModel : QDGModel
|
|
{
|
|
///<summary>
|
|
///注塑投料记录主键
|
|
///</summary>
|
|
[Description("注塑投料记录主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///物料名称
|
|
///</summary>
|
|
[Description("物料名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIALNAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///物料号
|
|
///</summary>
|
|
[Description("物料号")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 40)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIALCODE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///物料类别(0:原材料 1:织物衬布)
|
|
///</summary>
|
|
[Description("物料类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=INJECTIONMATERIALTYPE", MaxLength = 1)]
|
|
[InputType(inputType.combobox)]
|
|
public string MATERIALTYPE { get; set; }
|
|
[Description("物料类别")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIALTYPETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///原材料批次号
|
|
///</summary>
|
|
[Description("原材料批次号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MATERIALBATCH { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///设备分类(0:搪塑 1:注塑)
|
|
///</summary>
|
|
[Description("设备分类")]
|
|
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=MACHINETYPE", MaxLength = 1)]
|
|
[InputType(inputType.combobox)]
|
|
public string MACHINETYPE { get; set; }
|
|
[Description("设备分类")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MACHINETYPETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///工序类别(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:开关支架注塑 5:HUD风道注塑)
|
|
///</summary>
|
|
[Description("工序类别")]
|
|
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=PROCESSTYPE", MaxLength = 2)]
|
|
[InputType(inputType.combobox)]
|
|
public string PROCESSTYPE { get; set; }
|
|
[Description("工序类别")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PROCESSTYPETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///设备名称
|
|
///</summary>
|
|
[Description("设备名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MACHINENAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///设备编码
|
|
///</summary>
|
|
[Description("设备编码")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/InJectionRecorder/GetMachineInfoComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string MACHINECODDE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///搪塑注料顺序
|
|
///</summary>
|
|
[Description("搪塑注料顺序")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public int INJECTIONINDEX { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///搪塑上料口
|
|
///</summary>
|
|
[Description("搪塑上料口")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public int INJECTIONTERMINAL { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///投料重量
|
|
///</summary>
|
|
[Description("投料重量")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public int METERIALWEIGHT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///已使用重量
|
|
///</summary>
|
|
[Description("已使用重量")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public int USEDWEIGHTSUM { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///班次信息名称
|
|
///</summary>
|
|
[Description("班次名称")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PRODUCESHIFTNAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///班次信息编号
|
|
///</summary>
|
|
[Description("班次编号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/InJectionRecorder/GetProductShiftComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string PRODUCESHIFTTCODE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///生产线
|
|
///</summary>
|
|
[Description("生产线")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
public string PRODUCELINE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("操作用户")]
|
|
public string CREATEUSER { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[InputType(inputType.hidden)]
|
|
public string CREATEDATE { get; set; }
|
|
/// <summary>
|
|
/// 创建用户
|
|
/// </summary>
|
|
[Description("操作用户")]
|
|
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string CREATEUSERNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新用户
|
|
/// </summary>
|
|
[Description("更新用户")]
|
|
[InputType(inputType.hidden)]
|
|
public string UPDATEUSER { get; set; }
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[Description("更新时间")]
|
|
[InputType(inputType.hidden)]
|
|
public string UPDATEDATE { get; set; }
|
|
|
|
|
|
}
|
|
}
|