using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Ems.CollectService.Entity
{
///
/// 电实时数据
///
[SugarTable("record_dnb_instant")]
public class RecordDnbInstant
{
///
/// 编号
///
[SugarColumn(ColumnName="objid" ,IsPrimaryKey = true ,IsIdentity = true )]
public long objid { get; set; }
///
/// 计量设备编号
///
[SugarColumn(ColumnName="monitor_id" )]
public string monitorId { get; set; }
///
/// 采集时间
///
[SugarColumn(ColumnName="collect_time" )]
public DateTime? collectTime { get; set; }
///
/// A项电压
///
[SugarColumn(ColumnName="vA" )]
public decimal? vA { get; set; }
///
/// B项电压
///
[SugarColumn(ColumnName="vB" )]
public decimal? vB { get; set; }
///
/// C项电压
///
[SugarColumn(ColumnName="vC" )]
public decimal? vC { get; set; }
///
/// A项电流
///
[SugarColumn(ColumnName="iA" )]
public decimal? iA { get; set; }
///
/// B项电流
///
[SugarColumn(ColumnName="iB" )]
public decimal? iB { get; set; }
///
/// C项电流
///
[SugarColumn(ColumnName="iC" )]
public decimal? iC { get; set; }
///
/// 记录时间
///
[SugarColumn(ColumnName="record_time" )]
public DateTime? recordTime { get; set; }
///
/// 功率因数
///
[SugarColumn(ColumnName="glys" )]
public decimal? glys { get; set; }
///
/// 正向有功
///
[SugarColumn(ColumnName="zxyg" )]
public decimal? zxyg { get; set; }
///
/// 有功功率
///
[SugarColumn(ColumnName="active_power" )]
public decimal? activePower { get; set; }
///
/// 无功功率
///
[SugarColumn(ColumnName="reactive_power" )]
public decimal? reactivePower { get; set; }
///
/// 电耗量
///
[SugarColumn(ColumnName="consumption" )]
public decimal? consumption { get; set; }
///
/// 采集方式
/// 默认值: 0
///
[SugarColumn(ColumnName="collect_type" )]
public int? collectType { get; set; }
///
/// 权限标识(部门)
///
[SugarColumn(ColumnName="dept_id" )]
public int? deptId { get; set; }
///
/// 权限标识(用户)
///
[SugarColumn(ColumnName="user_id" )]
public int? userId { get; set; }
}
}