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

170 lines
5.1 KiB

using System;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI.DataSource;
namespace QMAPP.FJC.Web.Models.EM
{
public class EmMeterReadingsModel : QDGModel
{
//public EmMeterReadingsModel()
//{
// //设置页尺寸
// this.pageSize = MvcApplication.PageSize.ToString();
//}
///<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("能源表编码")]
public string METER_PID { get; set; }
///<summary>
///能源表名称
///</summary>
[Description("能源表名称")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string METER_NAME { get; set; }
///<summary>
///能源表编码
///</summary>
[Description("能源表编码")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string METER_CODE { get; set; }
///<summary>
///电量
///</summary>
[Description("电量")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 18)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public decimal READING { get; set; }
/// <summary>
/// 设备编号
/// </summary>
[Description("设 备")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string EQPT_CODE { get; set; }
///<summary>
///能源表名称
///</summary>
//[Description("设备名称")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string MACHINENAME { get; set; }
/// <summary>
/// 读取时间
/// </summary>
//[Description("读取时间")]
public DateTime READ_TIME { get; set; }
//[Description("统计时间")]
public string RTIME { get; set; }
///<summary>
///统计标识
///</summary>
[Description("统计标识")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/EmMeterReadings/GetFlagTimeComboxSource")]
[InputType(inputType.combobox)]
public string FLAG_TIME { get; set; }
///<summary>
///累计电量
///</summary>
//[Description("累计电量")]
public decimal DIFF_WITH_LAST { get; set; }
///<summary>
///状态 1:成功 0:失败
///</summary>
//[Description("状态")]
public string READ_RESULT { get; set; }
///<summary>
///错误
///</summary>
//[Description("错误")]
public string ERROR { get; set; }
/// <summary>
/// 工厂编号
/// </summary>
//[Description("工厂编号")]
public string FACTORY_CODE { get; set; }
///<summary>
///描述
///</summary>
//[Description("描  述")]
public string REMARK { get; set; }
/// <summary>
/// 创建用户
/// </summary>
//[Description("创建用户")]
public string CREATEUSR { get; set; }
/// <summary>
/// 创建用户
/// </summary>
//[Description("创建用户")]
public string CREATEUSERNAME { get; set; }
/// <summary>
/// 创建时间
/// </summary>
//[Description("创建时间")]
public DateTime CREATEDATE { get; set; }
[Description("查询日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string STARTCREATEDATE { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string ENDCREATEDATE { get; set; }
/// <summary>
/// 更新用户
/// </summary>
//[Description("更新用户")]
public string UPDATEUSR { get; set; }
/// <summary>
/// 更新用户
/// </summary>
//[Description("更新用户")]
public string UPDATEUSERNAME { get; set; }
/// <summary>
/// 更新时间
/// </summary>
//[Description("更新时间")]
public DateTime UPDATEDATE { get; set; }
}
}