package com.njcn.harmonic.pojo.excel.pollution;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class LinePollution implements Serializable {


    /**
     * 供电公司名称
     */
    @Excel(name = "供电公司", width = 30)
    @ApiModelProperty("供电公司")
    private String gdName;

    /**
     * 所属变电站
     */
    @Excel(name = "变电站", width = 30)
    @ApiModelProperty("变电站")
    private String subStationName;

    private String subStationId;

    /**
     * 终端名称
     */
    @Excel(name = "终端名称", width = 30)
    @ApiModelProperty("终端名称")
    private String devName;

    /**
     * 终端厂家
     */
    @Excel(name = "终端厂家", width = 30)
    @ApiModelProperty("终端厂家")
    private String manufacturer;

    /**
     * 终端型号
     */
    @Excel(name = "终端型号", width = 30)
    @ApiModelProperty("终端型号")
    private String devType;

    /**
     * 终端投运时间
     */
    @Excel(name = "投运时间", width = 30)
    @ApiModelProperty("投运时间")
    private String loginTime;

    /**
     * 监测点索引
     */
    @ApiModelProperty("监测点索引")
    private String lineId;

    /**
     * 监测点名称
     */
    @Excel(name = "监测点名称", width = 30)
    @ApiModelProperty("监测点名称")
    private String lineName;

    /**
     * 位置，电网侧&非电网侧
     */
    @Excel(name = "用户性质", width = 30)
    @ApiModelProperty("用户性质")
    private String powerFlag;

    /**
     * 新增
     * 监测点电压等级
     */
    @Excel(name = "监测点电压等级", width = 30)
    @ApiModelProperty("监测点电压等级")
    private String lineVoltage;

    /**
     * 新增
     * 变电站电压等级
     */
    @Excel(name = "变电站电压等级", width = 30)
    @ApiModelProperty("变电站电压等级")
    private String subVoltage;

    /**
     * 干扰源类型
     */
    @Excel(name = "干扰源类型", width = 30)
    @ApiModelProperty("干扰源类型")
    private String loadType;

    /**
     * 监测对象
     */
    @Excel(name = "监测对象名称", width = 30)
    @ApiModelProperty("监测对象名称")
    private String objName;

    /**
     * 统计间隔
     */
    @Excel(name = "统计间隔",type = 10, width = 30)
    @ApiModelProperty("统计间隔")
    private Integer interval;

    /**
     *
     * 在线率
     */
    @Excel(name = "在线率(%)",type = 10, width = 30)
    @ApiModelProperty("在线率(%)")
    private Float onlineRate;

    /**
     *
     * 完整性
     */
    @Excel(name = "完整率(%)",type = 10, width = 30)
    @ApiModelProperty("完整率(%)")
    private Double integrity;

    /**
     * 谐波电压污染值
     */
    @Excel(name = "谐波电压污染值",type = 10, width = 20)
    @ApiModelProperty("谐波污染值")
    private Double HarmonicValue;

//    /**
//     * 暂升次数 1.1~1.8
//     * 10ms ~ 1min
//     */
//    @Excel(name = "暂升次数（次）",type = 10, width = 20)
//    @ApiModelProperty("暂升次数（次）")
//    private Integer upCounts;
//
//    /**
//     * 暂降次数 0.1~0.9
//     * 10ms ~ 1min
//     */
//    @Excel(name = "电压暂降（次）",type = 10, width = 20)
//    @ApiModelProperty("电压暂降（次）")
//    private Integer downCounts;
//
//    /**
//     * 短时中断 0~0.1
//     * 10ms ~ 1min
//     */
//    @Excel(name = "短时中断（次）",type = 10, width = 20)
//    @ApiModelProperty("短时中断（次")
//    private Integer breakCounts;

//    @Excel(name = "是否关联敏感用户", width = 30, replace = "/_null")
//    @ApiModelProperty("是否关联敏感用户")
//    private String isMg;
//
//    @Excel(name = "敏感及重要用户", width = 30,replace = "/_null")
//    @ApiModelProperty("敏感及重要用户")
//    private String importUser;

    @Excel(name = "一类监测点", width = 30,replace = "/_null")
    @ApiModelProperty("一类监测点")
    private String monitorId;


    @Excel(name = "监测点运行状态", width = 30,replace = "/_null")
    @ApiModelProperty("监测点运行状态")
    private String runFlag;

//    /**
//     * 备注
//     */
//    @Excel(name = "备注", width = 30, replace = "/_null")
//    private String remark;

}
