package com.njcn.harmonic.pojo.vo;

import com.njcn.harmonic.pojo.po.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * 【监测点稳态指标日报】展示字段
 * @Title RMpHarmonicReportDVO
 * @Package com.njcn.harmonic.pojo.vo
 * @Author jianghaifei
 * @Date 2022-10-20 10:01
 * @Version V1.0
 */
@Data
public class RMpHarmonicReportDVO implements Serializable {
    private static final long serialVersionUID = 1L;

    // monitor
    @ApiModelProperty(name = "orgNo", value = "单位ID")
    private String orgNo; //单位ID
    @ApiModelProperty(name = "orgName", value = "单位名称")
    private String orgName; //单位名称
    @ApiModelProperty(name = "powerId", value = "变电站id")
    private String powerId; //变电站id
    @ApiModelProperty(name = "powerName", value = "变电站名称")
    private String powerName; //变电站名称
    @ApiModelProperty(name = "measurementPointId", value = "监测点ID")
    private String measurementPointId; //监测点ID
    @ApiModelProperty(name = "measurementPointName", value = "监测点名称")
    private String measurementPointName; //监测点名称
    @ApiModelProperty(name = "minShortCircuitCapacity", value = "最小短路容量")
    private Float minShortCircuitCapacity; //最小短路容量

    @ApiModelProperty(name = "voltageLevel", value = "变电站电压等级id")
    private String voltageLevel; //变电站电压等级id
    @ApiModelProperty(name = "voltageLevelName", value = "变电站电压等级")
    private String voltageLevelName; //变电站电压等级

    @ApiModelProperty(name = "dataDate", value = "监测日期")
    private String dataDate; //监测日期

    //r_mp_measure_report_d【稳态监测点非谐波不带相位指标日报-日表(主配网表)  】
    private RMpMeasureReportD rMpMeasureReportD;
//    private Double totalActivePowerMax; //总有功功率-最大值
//    private Double totalActivePowerMin; //总有功功率-最小值
//    private Double totalActivePowerAvg; //总有功功率-平均值
//    private Double totalActivePower95; //总有功功率-95值

    @ApiModelProperty(name = "frequencyDeviationMaxResult", value = "频率偏差-最大值限值结论")
    private String frequencyDeviationMaxResult; //频率偏差-最大值限值结论（用接口调用（接口只返回一个值，用表中的最大值去对比）越限/正常）

//    private Double totalReactivePowerMax; //总无功功率-最大值
//    private Double totalReactivePowerMin; //总无功功率-最小值
//    private Double totalReactivePowerAvg; //总无功功率-平均值
//    private Double totalReactivePower95; //总无功功率-95值

//    private Double negativeSequenceVoltageUnbalanceMax; //负序电压不平衡度-最大值（三相电压不平衡度）
//    private Double negativeSequenceVoltageUnbalanceMin; //负序电压不平衡度-最小值
//    private Double negativeSequenceVoltageUnbalanceAvg; //负序电压不平衡度-平均值
//    private Double negativeSequenceVoltageUnbalance95; //负序电压不平衡度-95值
    @ApiModelProperty(name = "negativeSequenceVoltageUnbalance95Result", value = "负序电压（三相电压）不平衡度-95值限值结论")
    private String negativeSequenceVoltageUnbalance95Result; //负序电压不平衡度-95值限值结论（用接口调用（接口只返回一个值，用表中的95值去对比）越限/正常）
    private String negativeSequenceVoltageUnbalanceMaxResult; //负序电压不平衡度-最大值限值结论（用接口调用（接口只返回一个值，用表中的95值去对比）越限/正常）

//    private Double negativeSequenceCurrentMax; //负序电流-最大值
//    private Double negativeSequenceCurrentMin; //负序电流-最小值
//    private Double negativeSequenceCurrentAvg; //负序电流-平均值
//    private Double negativeSequenceCurrent95; //负序电流-95值
    @ApiModelProperty(name = "negativeSequenceCurrent95Result", value = "负序电流-95值限值结论")
    private String negativeSequenceCurrent95Result; //负序电流-95值限值结论 （用接口调用（接口只返回一个值，用表中的95值去对比）越限/正常）
    private String negativeSequenceCurrentMaxResult; //负序电流最大值限值结论

    //r_mp_measure_phase_report_d 【稳态监测点非谐波带相位指标日报-日表(主配网表)】
    private Map<String, RMpMeasurePhaseReportD> phaseReportD;
    // A/B/C三相 todo
//    private Double spApparentPowerMax; //视在功率-最大值 （单相视在功率）
//    private Double spApparentPowerMin; //视在功率-最小值
//    private Double spApparentPowerAvg; //视在功率-平均值
//    private Double spApparentPower95; //视在功率-95值
    // A/B/C三相 todo
//    private Double spPowerFactorMax; //功率因数-最大值 （单相功率因数）
//    private Double spPowerFactorMin; //功率因数-最小值 （单相功率因数）
//    private Double spPowerFactorAvg; //功率因数-平均值 （单相功率因数）
//    private Double spPowerFactor95; //功率因数-95值 （单相功率因数）

    // A/B/C三相 todo
//    private Double vDeUpMax; //电压正偏差-最大值（电压上偏差-最大值）

    // A/B/C三相 todo
//    private Double vDeLowMax; //电压负偏差-最大值（电压下偏差-最大值）

    //r_mp_harmonic_v_rate_report_d 【稳态监测点指标日报-日表(主配网表)  /各次谐波电压含有率】
    // A/B/C三相 todo
//    private Double fundamentalVoltageMax; //基波电压-最大值 （相（线）电压基波有效值-最大值）
//    private Double fundamentalVoltageMin; //基波电压-最小值
//    private Double fundamentalVoltageAvg; //基波电压-平均值
//    private Double fundamentalVoltage95; //基波电压-95值

    @ApiModelProperty(name = "voltageHarmonicWave95", value = "电压总谐波畸变率-95限值结论")
    private Map<String, String> voltageHarmonicWave95ResultMap; //电压总谐波畸变率-95限值结论（用接口调用（接口只返回一个值，用表中的95值去对比）越限/正常）
    //各相各次谐波电压含有率 （key:相别 value：实体）
    @ApiModelProperty(name = "rMpHarmonicVRateReportDMap", value = "各相各次谐波电压含有率")
    private Map<String, RMpHarmonicVRateReportD> rMpHarmonicVRateReportDMap;

    //r_mp_harmonic_i_mag_report_d 【稳态监测点指标日报-日表(主配网表)  /各次谐波电流有效值】
    // A/B/C三相 todo
    @ApiModelProperty(name = "rMpHarmonicIMagReportDMap", value = "各次谐波电流有效值")
    private Map<String, RMpHarmonicIMagReportD> rMpHarmonicIMagReportDMap;
//    private Double fundamentalCurrentMax; //基波电流-最大值
//    private Double fundamentalCurrentMin; //基波电流-最小值
//    private Double fundamentalCurrentAvg; //基波电流-平均值
//    private Double fundamentalCurrent95; //基波电流-95值

    //各相各次谐波电流含有率 r_mp_harmonic_i_rate_report_d
    @ApiModelProperty(name = "rMpHarmonicIRateReportDMap", value = "各相各次谐波电流含有率")
    private Map<String, RMpHarmonicIRateReportD> rMpHarmonicIRateReportDMap;
    //各相各次间谐波电压含有率 r_mp_inharmonic_v_rate_report_d
    @ApiModelProperty(name = "rMpInharmonicVRateReportDMap", value = "各相各次间谐波电压含有率")
    private Map<String, RMpInharmonicVRateReportD> rMpInharmonicVRateReportDMap;
    //各相各次间谐波电流含有率 r_mp_inharmonic_i_rate_report_d
    @ApiModelProperty(name = "rMpInharmonicIRateReportDMap", value = "各相各次间谐波电流含有率")
    private Map<String, RMpInharmonicIRateReportD> rMpInharmonicIRateReportDMap;
}

