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.
137 lines
5.0 KiB
137 lines
5.0 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.CCParameters
|
|
{
|
|
/// <summary>
|
|
/// 作 用:加工参数采集
|
|
/// 作 者:张松男
|
|
/// 编写日期:2023年02月06日
|
|
///</summary>
|
|
public class PARAMETERSCONFIGModel : QDGModel
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Description("主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.hidden)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string pid { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂编码
|
|
/// </summary>
|
|
[Description("工厂编码")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)] //输入框类型
|
|
[DGColumn(frozenColumns = true, Sortable = false, Width = 100, DataAlign = DataAlign.center)]
|
|
public string supplier { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂名称
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// 车型
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// 零件号
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// 零件名称
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// 配置
|
|
/// </summary>
|
|
[Description("配置")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
|
|
public string variance { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工位
|
|
/// </summary>
|
|
[Description("工位")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.center)]
|
|
public string station { get; set; }
|
|
|
|
/// <summary>
|
|
/// 参数名称
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// 下公差
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// 上公差
|
|
/// </summary>
|
|
[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; }
|
|
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
|
[InputType(inputType.hidden)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime createdata { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人员
|
|
/// </summary>
|
|
[Description("创建人员")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
|
|
public string creatauser { get; set; }
|
|
|
|
}
|
|
}
|