package com.ho.datacollect.api.vo.req.inverter;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author fancl
 * @desc: 逆变器(禾望)实体类
 * @date 2023/1/5
 */
@Setter
@Getter
@ToString
public class InverterHw implements Serializable {

    //状态时间
    Date ts;
    //创建时间
    Date createTime;

    //额定功率
    Integer ratedPower;
    //额定电压
    Integer ratedVoltage;
    //通讯状态 1正常 0故障
    Integer communicationStatus;

    //12个PV电压
    BigDecimal voltageMppt1;
    BigDecimal voltageMppt2;
    BigDecimal voltageMppt3;
    BigDecimal voltageMppt4;
    BigDecimal voltageMppt5;
    BigDecimal voltageMppt6;
    BigDecimal voltageMppt7;
    BigDecimal voltageMppt8;
    BigDecimal voltageMppt9;
    BigDecimal voltageMppt10;
    BigDecimal voltageMppt11;
    BigDecimal voltageMppt12;

    //24个组串电流
    BigDecimal currentSeries1;
    BigDecimal currentSeries2;
    BigDecimal currentSeries3;
    BigDecimal currentSeries4;
    BigDecimal currentSeries5;
    BigDecimal currentSeries6;
    BigDecimal currentSeries7;
    BigDecimal currentSeries8;
    BigDecimal currentSeries9;
    BigDecimal currentSeries10;
    BigDecimal currentSeries11;
    BigDecimal currentSeries12;
    BigDecimal currentSeries13;
    BigDecimal currentSeries14;
    BigDecimal currentSeries15;
    BigDecimal currentSeries16;
    BigDecimal currentSeries17;
    BigDecimal currentSeries18;
    BigDecimal currentSeries19;
    BigDecimal currentSeries20;
    BigDecimal currentSeries21;
    BigDecimal currentSeries22;
    BigDecimal currentSeries23;
    BigDecimal currentSeries24;

    //12个输入功率
    BigDecimal powerMppt1;
    BigDecimal powerMppt2;
    BigDecimal powerMppt3;
    BigDecimal powerMppt4;
    BigDecimal powerMppt5;
    BigDecimal powerMppt6;
    BigDecimal powerMppt7;
    BigDecimal powerMppt8;
    BigDecimal powerMppt9;
    BigDecimal powerMppt10;
    BigDecimal powerMppt11;
    BigDecimal powerMppt12;

    //A B C 三相电压
    BigDecimal vUa;
    BigDecimal vUb;
    BigDecimal vUc;
    //A B C 三相电流
    BigDecimal cIa;
    BigDecimal cIb;
    BigDecimal cIc;

    //电网频率
    BigDecimal gridFreq;
    //交流有功功率
    BigDecimal acActivePower;
    //交流无功功率
    BigDecimal acReactivePower;
    //直流输入功率
    BigDecimal dcInputPower;
    //逆变器效率
    BigDecimal inverterEfficiency;
    //功率因数
    BigDecimal powerFactor;
    //机内温度
    BigDecimal machineTemperature;
    //绝缘阻抗
    BigDecimal matrixInsulation;

    //逆变器开关机状态 1并网运行 0 停机状态
    Integer inverterSwitchStatus;

    //当日发电量
    Long dailyPowerGeneration;
    //累计发电量
    Long cumulativePowerGeneration;
    //二氧化碳减排量
    Long co2Reductions;
    //日运行时间
    Long dailyConnectTime;
    //累计运行时间
    Long cumulativeConnectTime;
    //逆变器开机时间
    Long inverterPowerOnTime;
    //逆变器关机时间
    Long inverterPowerOffTime;


}
