package com.njcn.harmonic.pojo.vo.hebeinorth;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2024/4/24 14:18
 */
@Data
public class EvaluationLevelVo {

    @ApiModelProperty("指标名称")
    private String targetName;

    @ApiModelProperty("平均值")
    private Double avg = 3.14159;

    @ApiModelProperty("标准差")
    private Double sd = 3.14159;

    @Data
    public static class EvaluationRatio {

        @ApiModelProperty("时间")
        private String time;

        @ApiModelProperty("指标名称集合")
        private List<String> targetList;

        @ApiModelProperty("超标占比集合")
        private List<Double> ratioList;

    }

    @Data
    public static class EvaluationDetail {

        @ApiModelProperty("部门ID")
        private String deptId;

        @ApiModelProperty("部门名称")
        private String deptName;

        @ApiModelProperty("在线监测点数")
        private Integer onlineNum;

        @ApiModelProperty("超标监测点数")
        private Integer overNum;

        @ApiModelProperty("超标监测点占比")
        private Double overRatio;

        @ApiModelProperty("各指标详情")
        List<TargetDetail> list;
    }

    @Data
    public static class TargetDetail {

        @ApiModelProperty("指标名称")
        private String targetName;

        @ApiModelProperty("超标监测点数")
        private Integer overNum;

        @ApiModelProperty("超标天数")
        private Integer overDay;
    }

    @Data
    public static class QualifiedDetail {

        @ApiModelProperty("区域名称")
        private String areaName;

        @ApiModelProperty("变电站名称")
        private String substationName;

        @ApiModelProperty("监测点名称")
        private String lineName;

        @ApiModelProperty("频率偏差合格率")
        private Double freqDev = 3.14159;

        @ApiModelProperty("电压偏差合格率")
        private Double vDev = 3.14159;

        @ApiModelProperty("电压总谐波畸变率合格率")
        private Double vThd = 3.14159;

        @ApiModelProperty("三相电压不平衡度合格率")
        private Double ubalance = 3.14159;

        @ApiModelProperty("闪变合格率")
        private Double plt = 3.14159;

        @ApiModelProperty("谐波电压含有率")
        private Double uHarm = 3.14159;

        @ApiModelProperty("谐波电流")
        private Double iHarm = 3.14159;

        @ApiModelProperty("间谐波")
        private Double inuHarm = 3.14159;

        @ApiModelProperty("负序电流")
        private Double iNeg = 3.14159;

    }

}
