package com.njcn.harmonic.pojo.dto.excel.area;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.njcn.poi.pojo.constant.DeviceInfoConstant;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/5/17 10:12
 */
@Data
public class AreaExcel implements Serializable {

    @Excel(name = "名称", width = 25, needMerge = true)
    private String name;

    @Excel(name = "在线监测点个数(个)", width = 25, needMerge = true)
    private Integer onlineMonitorNumber;

    @Excel(name = "超标监测点个数(个)", width = 25, needMerge = true)
    private Integer overLimitMonitorNumber;

    @Excel(name = "超标监测点数占比(%)", width = 25, needMerge = true)
    private Double overBiLi;

    @ExcelCollection(name = "频率偏差超标情况",orderNum = "3")
    private List<OverData> list1;

    @ExcelCollection(name = "电压偏差超标情况",orderNum = "3")
    private List<OverData> list2;

    @ExcelCollection(name = "谐波电压超标情况",orderNum = "3")
    private List<OverData> list3;

    @ExcelCollection(name = "谐波电流超标情况",orderNum = "3")
    private List<OverData> list4;

    @ExcelCollection(name = "三相电压不平衡度超标情况",orderNum = "3")
    private List<OverData> list5;

    @ExcelCollection(name = "闪变超标情况",orderNum = "3")
    private List<OverData> list6;

    @ExcelCollection(name = "负序电流限值超标情况",orderNum = "3")
    private List<OverData> list7;

    @ExcelCollection(name = "间谐波电压超标情况",orderNum = "3")
    private List<OverData> list8;
}
