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.CCParameters { /// /// 作 用:加工参数采集 /// 作 者:张松男 /// 编写日期:2023年02月06日 /// public class PARAMETERSModel : 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 = false, required = true, MaxLength = 20)] [InputType(inputType.text)] //输入框类型 [DGColumn(frozenColumns = true, Sortable = false, Width = 80, DataAlign = DataAlign.center)] public string supplier { get; set; } /// /// 工厂名称 /// [Description("工厂名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 250, DataAlign = DataAlign.center)] public string supplierName { get; set; } /// /// 车型 /// [Description("车型")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string vehicleType { get; set; } /// /// 零件号 /// [Description("零件号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 140, DataAlign = DataAlign.center)] public string partNumber { get; set; } /// /// 零件名称 /// [Description("零件名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 140, DataAlign = DataAlign.center)] public string partName { get; set; } /// /// 配置 /// [Description("配置")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string variance { get; set; } /// /// 工位 /// [Description("工位")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string station { get; set; } /// /// 加工时间 /// [Description("加工时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.hidden)] [DGColumn(Sortable = false, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime processTime { get; set; } /// /// 参数名称 /// [Description("参数名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)] public string parameter { get; set; } /// /// 参数值 /// [Description("参数值")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string value { get; set; } /// /// 下公差 /// [Description("下公差")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public double lower_limit { get; set; } /// /// 上公差 /// [Description("上公差")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public double upper_limit { get; set; } /// /// 写入时间 /// [Description("写入时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.hidden)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime inTime { get; set; } /// /// 开始时间 /// [Description("开始时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.dateTimeBox)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss", Hidden = true)] public DateTime begintime { get; set; } /// /// 结束时间 /// [Description("结束时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.dateTimeBox)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss",Hidden = true)] public DateTime endtime { get; set; } /// /// 责任人 /// [Description("责任人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string BTV { get; set; } } }