天津投入产出系统后端
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.
 
 
 
 
 
 

154 lines
6.0 KiB

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
{
/// <summary>
/// 生产日报模块 视图MODEL
/// 于子清 1
/// 2017-10-7
/// </summary>
public class LineDWQTYModel: QDGModel
{
///<summary>
///统计日期
///</summary>
[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; }
/// <summary>
/// 起始日期
/// </summary>
[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; }
/// <summary>
/// 结束日期
/// </summary>
[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; }
///<summary>
///工作中心
///</summary>
[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; }
///<summary>
///班次
///</summary>
[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; }
///<summary>
///设备名称
///</summary>
[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; }
///<summary>
///设备编码
///</summary>
[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; }
///<summary>
///工艺路线
///</summary>
[Description("工艺路线")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120 ,JsonUtl = "/Dict/GetProcessRouteComboxSource")]
[InputType(inputType.combobox)]
public string ROUTE_CODE { get; set; }
///<summary>
///工序
///</summary>
[Description("工序")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 120)]
[InputType(inputType.combobox)]
public string WORKCELL_CODE { get; set; }
///<summary>
///工序类别
///</summary>
//[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; }
///<summary>
///工序类别名
///</summary>
[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; }
///<summary>
///物料号
///</summary>
[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; }
///<summary>
///工序合格数
///</summary>
[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; }
///<summary>
///工序不合格数
///</summary>
[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; }
///<summary>
///工序合格率
///</summary>
[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; }
}
}