using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Html; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; namespace QMAPP.MESReport.Web.Models.LineQTY { /// /// 生产日报模块 视图MODEL /// 于子清 1 /// 2017-10-7 /// public class LineDWQTYModel: QDGModel { /// ///统计日期 /// [Description("统计日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.datebox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string STATIS_DATE { get; set; } /// /// 起始日期 /// [Description("起始日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.datebox)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string START_DATE { get; set; } /// /// 结束日期 /// [Description("结束日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.datebox)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string END_DATE { get; set; } /// ///工作中心 /// [Description("工作中心")] [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetAllWorkCenterComboxSource", MaxLength = 20, Width = 110)] [InputType(inputType.combobox)] //[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string WORKCENTER_CODE { get; set; } /// ///班次 /// [Description("班次")] //[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetMachineListComboxSource", MaxLength = 20, Width = 110)] //[InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 60, DataAlign = DataAlign.center)] public string SHIFT_CODE {get; set; } /// ///设备名称 /// [Description("设备名称")] [HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetMachineListComboxSource", MaxLength = 20, Width = 110)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string EQUIPMENT_NAME { get; set; } /// ///设备编码 /// [Description("设备编码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string EQUIPMENT_CODE { get; set; } /// ///工艺路线 /// [Description("工艺路线")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120 ,JsonUtl = "/Dict/GetProcessRouteComboxSource")] [InputType(inputType.combobox)] public string ROUTE_CODE { get; set; } /// ///工序 /// [Description("工序")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.combobox)] public string WORKCELL_CODE { get; set; } /// ///工序类别 /// //[Description("工序类别")] //[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetWorkCellComboxSource", MaxLength = 20, Width = 110)] //[InputType(inputType.combobox)] ////[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] //public string WORKCELL_CODE { get; set; } /// ///工序类别名 /// [Description("工序名称")] //[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] //[InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string WORKCELL_NAME { get; set; } /// ///物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 50, Width = 120)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// ///工序合格数 /// [Description("工序合格数")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string OK_QTY { get; set; } /// ///工序不合格数 /// [Description("工序不合格数")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string NOK_QTY { get; set; } /// ///工序合格率 /// [Description("工序合格率")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string OK_QTY_LV { get; set; } } }