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.
147 lines
5.0 KiB
147 lines
5.0 KiB
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Web;
|
||
|
using QMFrameWork.WebUI.Attribute;
|
||
|
using QMFrameWork.WebUI;
|
||
|
using System.Web.Mvc.Html;
|
||
|
|
||
|
namespace QMAPP.FJC.Web.Models.WIPManage
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 模块编号:M7-4
|
||
|
/// 作 用:低储报警信息页面模型
|
||
|
/// 作 者:王丹丹
|
||
|
/// 编写日期:2015年06月19日
|
||
|
///</summary>
|
||
|
public class StorageAlarmModel : 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, JsonUtl = "/StorageAlarm/GetComboxSource", MaxLength = 2)]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string PROCESSTYPE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///工序低储值设置
|
||
|
///</summary>
|
||
|
[Description("工序低储值设置")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
|
||
|
public int MINVALUE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///生产最小批次设置
|
||
|
///</summary>
|
||
|
[Description("生产最小批次设置")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
|
||
|
public int PRODUCEMINVALUE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///当前存储值
|
||
|
///</summary>
|
||
|
[Description("当前存储值")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)]
|
||
|
public int CURRENTSTORAGE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///记录状态(0:未处理 1:已处理 2:已忽略)
|
||
|
///</summary>
|
||
|
[Description("记录状态")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=ALARMSTATUS", MaxLength = 1)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string ALARMSTATUS { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///班次信息名称
|
||
|
///</summary>
|
||
|
[Description("班次名称")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string PRODUCESHIFTNAME { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///班次信息编号
|
||
|
///</summary>
|
||
|
[Description("班次编号")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
||
|
public string PRODUCESHIFTTCODE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///生产线
|
||
|
///</summary>
|
||
|
[Description("生产线")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string PRODUCELINE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建用户
|
||
|
/// </summary>
|
||
|
[Description("创建用户")]
|
||
|
public string CREATEUSER { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建时间
|
||
|
/// </summary>
|
||
|
[Description("报警时间")]
|
||
|
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
||
|
public DateTime CREATEDATE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新用户
|
||
|
/// </summary>
|
||
|
[Description("更新用户")]
|
||
|
public string UPDATEUSER { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新时间
|
||
|
/// </summary>
|
||
|
[Description("更新时间")]
|
||
|
public DateTime UPDATEDATE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 报警开始时间
|
||
|
/// </summary>
|
||
|
[Description("报警开始时间")]
|
||
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
||
|
[InputType(inputType.dateTimeBox)]
|
||
|
public string CREATEDATESTART { get; set; }
|
||
|
/// <summary>
|
||
|
/// 报警结束时间
|
||
|
/// </summary>
|
||
|
[Description("至")]
|
||
|
[HTMLInput(UpdateRead = true, MaxLength = 20)]
|
||
|
[InputType(inputType.dateTimeBox)]
|
||
|
public string CREATEDATEEND { get; set; }
|
||
|
}
|
||
|
}
|