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.
160 lines
4.6 KiB
160 lines
4.6 KiB
4 years ago
|
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 EmMeterCountModel : QDGModel
|
||
|
{
|
||
|
//public EmMeterCountModel()
|
||
|
//{
|
||
|
// //设置页尺寸
|
||
|
// this.pageSize = MvcApplication.PageSize.ToString();
|
||
|
//}
|
||
|
///<summary>
|
||
|
///主键
|
||
|
///</summary>
|
||
|
[Description("")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
|
||
|
/////<summary>
|
||
|
/////能源表编码
|
||
|
/////</summary>
|
||
|
//[Description("能源表编码")]
|
||
|
//public string METER_PID { get; set; }
|
||
|
|
||
|
/////<summary>
|
||
|
/////能源表名称
|
||
|
/////</summary>
|
||
|
//[Description("能源表名称")]
|
||
|
//public string METER_NAME { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 设备编号
|
||
|
/// </summary>
|
||
|
//[Description("设备编号")]
|
||
|
|
||
|
//public string EQPT_CODE { get; set; }
|
||
|
|
||
|
/////<summary>
|
||
|
/////能源表名称
|
||
|
/////</summary>
|
||
|
//[Description("设备名称")]
|
||
|
|
||
|
//public string MACHINENAME { get; set; }
|
||
|
|
||
|
///// <summary>
|
||
|
///// 读取时间
|
||
|
///// </summary>
|
||
|
//[Description("读取时间")]
|
||
|
//public DateTime READ_TIME { get; set; }
|
||
|
|
||
|
[Description("统计时间")]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 250, DataAlign = DataAlign.center)]
|
||
|
public string RTIME { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///电量
|
||
|
///</summary>
|
||
|
[Description("电量")]
|
||
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
||
|
public decimal READING { 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; }
|
||
|
|
||
|
/////<summary>
|
||
|
/////时间标识
|
||
|
/////</summary>
|
||
|
//[Description("时间标识")]
|
||
|
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 20)]
|
||
|
//[InputType(inputType.combobox)]
|
||
|
//public string FLAG_TIME { get; set; }
|
||
|
|
||
|
///// <summary>
|
||
|
///// 是否编辑画面
|
||
|
///// </summary>
|
||
|
//public string isEdit { get; set; }
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|