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.
104 lines
3.9 KiB
104 lines
3.9 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.EnergyManage
|
|
{
|
|
///<summary>
|
|
/// 模块编号:
|
|
/// 作 用:
|
|
/// 作 者:
|
|
/// 编写日期:2017年10月19日
|
|
///</summary>
|
|
public class MeterReadingsModel : QDGModel
|
|
{
|
|
///<summary>
|
|
///PID
|
|
///</summary>
|
|
[Description("")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden=true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///能源表ID
|
|
///</summary>
|
|
[Description("能源表ID")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string METER_PID { get; set; }
|
|
|
|
[Description("能源表编码")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string METER_CODE { get; set; }
|
|
|
|
[Description("能源表名称")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
|
public string METER_NAME { get; set; }
|
|
|
|
|
|
[Description("能源表类型")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string METER_TYPE_TXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///能源表读数
|
|
///</summary>
|
|
[Description("能源表读数")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 9)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public decimal READING { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///读取时间
|
|
///</summary>
|
|
[Description("读取时间")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
|
|
[InputType(inputType.datebox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime READ_TIME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///与前一次差额
|
|
///</summary>
|
|
[Description("与前一次差额")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 9)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public decimal DIFF_WITH_LAST { get; set; }
|
|
|
|
///<summary>
|
|
///能源表状态 0 作废 1 自动 2 手动
|
|
///</summary>
|
|
[Description("维护状态")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 6)]
|
|
[InputType(inputType.combobox)]
|
|
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
|
|
public string STATE { get; set; }
|
|
|
|
[Description("查询日期")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
|
|
[InputType(inputType.datebox)]
|
|
public string START_DATE { get; set; }
|
|
|
|
[Description("至")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
|
|
[InputType(inputType.datebox)]
|
|
public string END_DATE { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|