package com.njcn.harmonic.pojo.vo;

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

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

/**
 * 变电站指标统计表实体类
 *
 * @author rui.wu
 * @since 2022-10-18
 */
@Data
@ApiModel(value = "变电站指标统计表实体类")
public class RStatSubstationOrgVO implements Serializable {
    private static final long serialVersionUID = 117875946877905400L;

    public static final String Frequency_Dev = "Frequency_Dev";
    public static final String Voltage_Dev = "Voltage_Dev";
    public static final String Flicker = "Flicker";
    public static final String Harmonic_Voltage = "Harmonic_Voltage";
    public static final String Harmonic_Current = "Harmonic_Current";
    public static final String Interharmonic_Voltage = "Interharmonic_Voltage";
    public static final String phase_Voltage = "phase_Voltage";
    public static final String Neg_Current = "Neg_Current";
    public static final String Total_Indicator = "Total_Indicator";

    /**
     * 单位ID
     */
    @ApiModelProperty(name = "orgNo", value = "单位ID")
    private String orgNo;

    /**
     * 单位名称
     */
    @ApiModelProperty(name = "orgName", value = "单位名称")
    private String orgName;

    /**
     * 监测点类别ID、监测对象类型ID
     */
    @ApiModelProperty(name = "measurement_type_class", value = "监测点类别ID、监测对象类型ID")
    private String measurementTypeClass;

    /**
     * 生成数据的时间,每年统计一次
     */
    @ApiModelProperty(name = "dataDate", value = "生成数据的时间,每年统计一次")
    private Date dataDate;

    /**
     * 日均有效接入监测点数
     */
    @ApiModelProperty(name = "effectiveMeasurementAverage", value = "日均有效接入监测点数")
    private Float effectiveMeasurementAverage;

    /**
     * 累计有效接入监测点数
     */
    @ApiModelProperty(name = "effectiveMeasurementAccrued", value = "累计有效接入监测点数")
    private Integer effectiveMeasurementAccrued;

    /**
     * 日均稳态超标监测点数
     */
    @ApiModelProperty(name = "eventMeasurementAverage", value = "日均监测到暂态指标的监测点数")
    private Float harmonicMeasurementAverage;

    /**
     * 累计稳态超标监测点数
     */
    @ApiModelProperty(name = "eventMeasurementAccrued", value = "累计监测到暂态指标的监测点数")
    private Integer harmonicMeasurementAccrued;

    /**
     * 日均暂态超标监测点数占比
     */
    @ApiModelProperty(name = "eventMeasurementRatioAverage", value = "日均暂态超标监测点数占比")
    private Integer harmonicMeasurementRatioAverage;

    /**
     * 累计暂态超标监测点数占比
     */
    @ApiModelProperty(name = "eventMeasurementRatioAccrued", value = "累计暂态超标监测点数占比")
    private Integer harmonicMeasurementRatioAccrued;

    /**
     * 暂态指标类型Id，字典表ID
     */
    @ApiModelProperty(name = "eventType", value = "暂态指标类型Id，字典表ID")
    private String harmonicType;

    /**
     * 日均超标监测点数（根据 日表的超标监测点数 取平均值）
     */
    private Float overLimitMeasurementAverage;
    /**
     * 累计超标监测点数（监测点指标统计明细日表 统计）
     */
    private Integer overLimitMeasurementAccrued;
    /**
     * 累计超标天数（根据 日表的超标监测点数 求和）
     */
    private Integer overDay;
    /**
     * 日均超标监测点数占比（根据 日表的超标监测点数占比 取平均值）
     */
    private Float overLimitMeasurementRatioAverage;
    /**
     * 累计超标监测点数占比（此表的累计超标监测点数/区域统计表中的区域分类统计月表中的累计有效接入监测点数）
     */
    private Float overLimitMeasurementRatioAccrued;
    //同比，环比，平均天数
    private Integer chainAverage;
    private Integer chainAccrued;
    private Integer sameAverage;
    private Integer sameAccrued;
    private Float   averageOverDay;



}

