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

99 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>
///��ģ�����ƣ��DZ�����
///���� �ߣ�����
///����д���ڣ�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>
/// �DZ�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; }
}
}