|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Admin.Core.Model.Model_New
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 电实时数据
|
|
|
///</summary>
|
|
|
[SugarTable("RECORD_DNB_INSTANT", "AUCMA_MES")]
|
|
|
public class Record_DeviceElectricity
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键标识
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, OracleSequenceName = "SEQ_RECORD_DNB_INSTANT")]
|
|
|
public decimal ObjId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 计量设备编号
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "MONITOR_ID")]
|
|
|
public string MonitorId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 采集时间
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "COLLECT_TIME")]
|
|
|
public DateTime? CollectTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// A项电压
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "VA")]
|
|
|
public decimal? Va { get; set; }
|
|
|
/// <summary>
|
|
|
/// B项电压
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "VB")]
|
|
|
public decimal? Vb { get; set; }
|
|
|
/// <summary>
|
|
|
/// C项电压
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "VC")]
|
|
|
public decimal? Vc { get; set; }
|
|
|
/// <summary>
|
|
|
/// A项电流
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "IA")]
|
|
|
public decimal? Ia { get; set; }
|
|
|
/// <summary>
|
|
|
/// B项电流
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "IB")]
|
|
|
public decimal? Ib { get; set; }
|
|
|
/// <summary>
|
|
|
/// C项电流
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "IC")]
|
|
|
public decimal? Ic { get; set; }
|
|
|
/// <summary>
|
|
|
/// 记录时间
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "RECORD_TIME")]
|
|
|
public DateTime? RecordTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 功率因数
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "GLYS")]
|
|
|
public decimal? Glys { get; set; }
|
|
|
/// <summary>
|
|
|
/// 正向有功
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "ZXYG")]
|
|
|
public decimal? Zxyg { get; set; }
|
|
|
/// <summary>
|
|
|
/// 有功功率
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "ACTIVE_POWER")]
|
|
|
public decimal? ActivePower { get; set; }
|
|
|
/// <summary>
|
|
|
/// 无功功率
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "REACTIVE_POWER")]
|
|
|
public decimal? ReactivePower { get; set; }
|
|
|
/// <summary>
|
|
|
/// 采集类型(0-自动,1-手动)
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "COLLECT_TYPE")]
|
|
|
public decimal? CollectType { get; set; }
|
|
|
/// <summary>
|
|
|
/// 启用标识
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "IS_FLAG")]
|
|
|
public decimal? IsFlag { get; set; }
|
|
|
/// <summary>
|
|
|
/// 创建人
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "CREATED_BY")]
|
|
|
public string CreatedBy { get; set; }
|
|
|
/// <summary>
|
|
|
/// 创建时间
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "CREATED_TIME")]
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 修改人
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "UPDATED_BY")]
|
|
|
public string UpdatedBy { get; set; }
|
|
|
/// <summary>
|
|
|
/// 修改时间
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 工厂编号
|
|
|
///</summary>
|
|
|
[SugarColumn(ColumnName = "FACTORY_CODE")]
|
|
|
public string FactoryCode { get; set; }
|
|
|
}
|
|
|
} |