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.
143 lines
4.4 KiB
143 lines
4.4 KiB
4 years ago
|
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
|
||
|
{
|
||
|
public class DAIValidationModel : 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 = 36)]
|
||
|
[InputType(inputType.hidden)]
|
||
|
public string DAI_PID { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 采集项编码
|
||
|
/// </summary>
|
||
|
public string ITEM_CODE { get; set; }
|
||
|
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 标准值
|
||
|
/// </summary>
|
||
|
public string STD_VALUE { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建人
|
||
|
/// </summary>
|
||
|
public string CREATEUSER { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建时间
|
||
|
/// </summary>
|
||
|
public DateTime CREATEDATE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新人
|
||
|
/// </summary>
|
||
|
public string UPDATEUSER { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新时间
|
||
|
/// </summary>
|
||
|
public DateTime UPDATEDATE { get; set; }
|
||
|
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 禁用
|
||
|
/// </summary>
|
||
|
public string DISABLE { get; set; }
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
[Description("工序名称")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string WORKCELL_NAME { get; set; }
|
||
|
|
||
|
[Description("工序代码")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 220,Width=300, JsonUtl = "/Dict/GetALLWorkCellComboxSource")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 120, DataAlign = DataAlign.left)]
|
||
|
public string WORKCELL_CODE { get; set; }
|
||
|
|
||
|
|
||
|
[Description("采集点名称")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string DA_NAME { get; set; }
|
||
|
|
||
|
[Description("采集点代码")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 120, DataAlign = DataAlign.left)]
|
||
|
public string DA_CODE { get; set; }
|
||
|
|
||
|
[Description("校验名称")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string VALIDATOR_NAME { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 验证代码
|
||
|
/// </summary>
|
||
|
[Description("校验代码")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 120, DataAlign = DataAlign.left)]
|
||
|
public string VALIDATION_CODE { get; set; }
|
||
|
|
||
|
[Description("启用状态")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 70, DataAlign = DataAlign.left)]
|
||
|
public string DISABLE_TEXT
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
if (string.Equals(DISABLE, "1"))
|
||
|
{ return "禁用"; }
|
||
|
else
|
||
|
{ return "启用"; };
|
||
|
}
|
||
|
set { }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 下限值
|
||
|
/// </summary>
|
||
|
[Description("下限值")]
|
||
|
[InputType(inputType.numberbox)]
|
||
|
[HTMLInput(UpdateRead = false, required = true, DataType = QDataType.number, NumberMax = 10000)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 70, DataAlign = DataAlign.left)]
|
||
|
public decimal LOWER_LMT { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 上限值
|
||
|
/// </summary>
|
||
|
[Description("上限值")]
|
||
|
[InputType(inputType.numberbox)]
|
||
|
[HTMLInput(UpdateRead = false, required = true, DataType = QDataType.number,NumberMax=10000)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 70, DataAlign = DataAlign.left)]
|
||
|
public decimal UPPER_LMT { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 描述
|
||
|
/// </summary>
|
||
|
[Description("描述验证")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 200, DataAlign = DataAlign.left)]
|
||
|
public string REMARK { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|