package com.ho.business.vo.resp.InverterResp;

import com.ho.business.vo.DeviceTransfer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author gyan
 * @desc: 逆变器字段模型 新逆变器模型对象, 采集值类型是DeviceTransfer
 * @DateTime: 2023/2/14 9:10
 */
@Data
public class ModelNewInverter {

    //以下几个值是附加值
    //创建时间
    Date createTime;
    //更新时间
    Date updateTime;

    //故障状态
    Integer communicationStatus;

    //当日发电量
    DeviceTransfer dailyPowerGeneration;

    //累计发电量
    DeviceTransfer cumulativePowerGeneration;

    //电网频率
    DeviceTransfer gridFreq;

    //有功功率
    DeviceTransfer acActivePower;

    //无功功率
    DeviceTransfer acReactivePower;

    //逆变器效率
    DeviceTransfer inverterEfficiency;

    //功率因数
    DeviceTransfer powerFactor;

    //机箱温度
    DeviceTransfer machineTemperature;

    //二氧化碳减排量
    DeviceTransfer co2Reductions;

    //额定功率
    DeviceTransfer ratedPower;

    // 今年发电量
    DeviceTransfer yearEnergyOutput;
   //总直流输出功率
   DeviceTransfer totalOutputPower;


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


    DeviceTransfer pv1U;
    DeviceTransfer pv2U;
    DeviceTransfer pv3U;
    DeviceTransfer pv4U;
    DeviceTransfer pv5U;
    DeviceTransfer pv6U;
    DeviceTransfer pv7U;
    DeviceTransfer pv8U;
    DeviceTransfer pv9U;
    DeviceTransfer pv10U;
    DeviceTransfer pv11U;
    DeviceTransfer pv12U;
    DeviceTransfer pv13U;
    DeviceTransfer pv14U;
    DeviceTransfer pv15U;
    DeviceTransfer pv16U;
    DeviceTransfer pv17U;
    DeviceTransfer pv18U;
    DeviceTransfer pv19U;
    DeviceTransfer pv20U;
    DeviceTransfer pv21U;
    DeviceTransfer pv22U;
    DeviceTransfer pv23U;
    DeviceTransfer pv24U;
    DeviceTransfer pv1I;
    DeviceTransfer pv2I;
    DeviceTransfer pv3I;
    DeviceTransfer pv4I;
    DeviceTransfer pv5I;
    DeviceTransfer pv6I;
    DeviceTransfer pv7I;
    DeviceTransfer pv8I;
    DeviceTransfer pv9I;
    DeviceTransfer pv10I;
    DeviceTransfer pv11I;
    DeviceTransfer pv12I;
    DeviceTransfer pv13I;
    DeviceTransfer pv14I;
    DeviceTransfer pv15I;
    DeviceTransfer pv16I;
    DeviceTransfer pv17I;
    DeviceTransfer pv18I;
    DeviceTransfer pv19I;
    DeviceTransfer pv20I;
    DeviceTransfer pv21I;
    DeviceTransfer pv22I;
    DeviceTransfer pv23I;
    DeviceTransfer pv24I;

    /*****************禾望逆变器*********************/
    //逆变器开关机状态
    DeviceTransfer inverterSwitchStatus;
    //待机状态
    DeviceTransfer standbyStatus;
    //待机自检
    DeviceTransfer standbySelfInspection;
    //启动并网
    DeviceTransfer startGT;
    //并网运行
    DeviceTransfer GTRun;
    //告警运行
    DeviceTransfer alarmRun;
    //限电运行
    DeviceTransfer powerLimitingRun;
    //调度运行
    DeviceTransfer dispatchingRun;
    //故障停机
    DeviceTransfer faultShutdown;
    //指令停机
    DeviceTransfer commandShutdown;

    /*****************华为逆变器*********************/
    //状态1/待机
    DeviceTransfer Standby;
    //状态1/并网
    DeviceTransfer GT;
    //状态1/正常并网
    DeviceTransfer NormalGT;
    //状态1/限电降额并网
    DeviceTransfer PLRGT;
    //状态1/自降额并网
    DeviceTransfer ADGT;
    //状态1/正常停运
    DeviceTransfer normalOutage;
    //状态1/故障停运
    DeviceTransfer faultOutage;
    //状态1/限电停运
    DeviceTransfer LimitOutage;
    //状态1/关机
    DeviceTransfer shutdown;
    //状态1/点检
    DeviceTransfer spotCheck;

    /*****************阳光逆变器*********************/
    //设备工作状态/运行
    DeviceTransfer DWSWorking;
    //设备工作状态/停机
    DeviceTransfer DWSShutDown;
    //设备工作状态/按键关机
    DeviceTransfer DWSKeytToShutDown;
    //设备工作状态/紧急停机
    DeviceTransfer DWSEmergencyStop;
    //设备工作状态待机
    DeviceTransfer DWSStandby;
    //设备工作状态/初始待机
    DeviceTransfer DWSInitialStandby;
    //设备工作状态/启动中
    DeviceTransfer DWSStarting;
    //设备工作状态/告警运行
    DeviceTransfer DWSAlram;
    //设备工作状态/降额运行
    DeviceTransfer DWSDerating;
    //设备工作状态/调度运行
    DeviceTransfer DWSDispatching;
    //设备工作状态/故障停机
    DeviceTransfer DWSFaultShutDown;
    //设备工作状态/通讯故障
    DeviceTransfer DWSCommFailure;

    /*****************固德威逆变器*********************/
    //运行状态待机
    DeviceTransfer cWaitMode;
    //运行状态正常
    DeviceTransfer cNormalMode;
    //运行状态故障
    DeviceTransfer cFaultMode;



}
