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.
98 lines
2.7 KiB
98 lines
2.7 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using QMFrameWork.Data.Attributes;
|
|
using QMAPP.Entity;
|
|
using System.Data;
|
|
|
|
namespace QMAPP.FJC.Entity.EnergyManage
|
|
{
|
|
/// </summary>
|
|
/// 模块名称:仪表读数
|
|
/// 作 者:张鹏
|
|
/// 编写日期:2017年10月16日
|
|
/// </summary>
|
|
[DBTable(TableName = "T_EM_METER_READINGS")]
|
|
public class MeterReadings : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "PID",DataType = DbType.String,IsKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 仪表ID
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "METER_PID",DataType = DbType.String)]
|
|
public string METER_PID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 表读数
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "READING", DataType = DbType.Decimal)]
|
|
public decimal READING { get; set; }
|
|
|
|
/// <summary>
|
|
/// 读表时间
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "READ_TIME",DataType = DbType.DateTime)]
|
|
public DateTime READ_TIME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 与前次读表差额
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "DIFF_WITH_LAST", DataType = DbType.Decimal)]
|
|
public decimal DIFF_WITH_LAST { get; set; }
|
|
|
|
/// <summary>
|
|
/// 读表结果
|
|
/// 0:失败
|
|
/// 1:成功--自动
|
|
/// 2:成功--手动
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "READ_RESULT",DataType = DbType.String)]
|
|
public string READ_RESULT { get; set; }
|
|
|
|
/// <summary>
|
|
/// 错误信息
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "ERROR",DataType = DbType.String)]
|
|
public string ERROR { get; set; }
|
|
|
|
///<summary>
|
|
///能源表状态 0 作废 1 自动 2 手动
|
|
///</summary>
|
|
public string STATE { get; set; }
|
|
|
|
//[Description("查询日期")]
|
|
//[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
|
|
public string START_DATE { get; set; }
|
|
|
|
//[Description("至")]
|
|
//[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
|
|
public string END_DATE { get; set; }
|
|
|
|
///<summary>
|
|
///能源表类型
|
|
///</summary>
|
|
public string METER_TYPE { get; set; }
|
|
|
|
public string METER_TYPE_TXT { get; set; }
|
|
|
|
///<summary>
|
|
///能源表编码
|
|
///</summary>
|
|
public string METER_CODE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///能源表名称
|
|
/// 临时存设备名
|
|
///</summary>
|
|
public string METER_NAME { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|