|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Entity.Ammeter
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电表实时数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("emeter_minutes_energy")]
|
|
|
|
|
|
|
|
|
|
public partial class EmeterMinutesEnergy
|
|
|
|
|
{
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电表编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "code")]
|
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 累计值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "value")]
|
|
|
|
|
public float Value { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "st")]
|
|
|
|
|
public string Time { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实时值(取末端)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "real_time_value")]
|
|
|
|
|
public float RealTimeValue { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 1:直流表 2:j交流表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "type")]
|
|
|
|
|
public int Type { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|