报表导出
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package com.njcn.harmonic.pojo.excel.monitor;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/6/28 15:32
|
||||
*/
|
||||
@Data
|
||||
public class ITimes implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Excel(name = "3次", width = 25, needMerge = true)
|
||||
private Integer overCurThreeTimes;
|
||||
|
||||
@Excel(name = "5次", width = 25, needMerge = true)
|
||||
private Integer overCurFiveTimes;
|
||||
|
||||
@Excel(name = "7次", width = 25, needMerge = true)
|
||||
private Integer overCurSevenTimes;
|
||||
|
||||
@Excel(name = "11次", width = 25, needMerge = true)
|
||||
private Integer overCurElevenTimes;
|
||||
|
||||
@Excel(name = "13次", width = 25, needMerge = true)
|
||||
private Integer overCurThirteenTimes;
|
||||
|
||||
@Excel(name = "23次", width = 25, needMerge = true)
|
||||
private Integer overCurTwentyThreeTimes;
|
||||
|
||||
@Excel(name = "25次", width = 25, needMerge = true)
|
||||
private Integer overCurTwentyFiveTimes;
|
||||
|
||||
@Excel(name = "其他次", width = 25, needMerge = true)
|
||||
private Integer overCurOtherTimes;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.njcn.harmonic.pojo.excel.monitor;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/6/28 13:26
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class MonitorExcel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Excel(name = "省公司", width = 25, needMerge = true)
|
||||
private String provinceCompany;
|
||||
|
||||
@Excel(name = "地市公司", width = 25, needMerge = true)
|
||||
private String cityCompany;
|
||||
|
||||
@Excel(name = "监测点名称", width = 25, needMerge = true)
|
||||
private String lineName;
|
||||
|
||||
@Excel(name = "干扰源类型", width = 25, needMerge = true)
|
||||
private String loadType;
|
||||
|
||||
@Excel(name = "监测点对象名称", width = 25, needMerge = true)
|
||||
private String lineObjectName;
|
||||
|
||||
@Excel(name = "监测点电压等级", width = 25, needMerge = true)
|
||||
private String lineScale;
|
||||
|
||||
@Excel(name = "变电站名称", width = 25, needMerge = true)
|
||||
private String subName;
|
||||
|
||||
@Excel(name = "变电站电压等级", width = 25, needMerge = true)
|
||||
private String subScale;
|
||||
|
||||
@Excel(name = "超标天数", width = 25, needMerge = true)
|
||||
private Integer overDay;
|
||||
|
||||
@ExcelCollection(name = "各项指标超标天数")
|
||||
private List<OverLimitDays> overLimitDays;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package com.njcn.harmonic.pojo.excel.monitor;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/6/28 16:16
|
||||
*/
|
||||
@Data
|
||||
public class OverLimitDays implements Serializable {
|
||||
|
||||
@Excel(name = "频率偏差", width = 25, needMerge = true)
|
||||
private Integer freqOverDay;
|
||||
|
||||
@Excel(name = "电压偏差", width = 25, needMerge = true)
|
||||
private Integer volDevOverDay;
|
||||
|
||||
@Excel(name = "谐波电压", width = 25, needMerge = true)
|
||||
private Integer harmVolOverDay;
|
||||
|
||||
@Excel(name = "电压总谐波畸变率", width = 25, needMerge = true)
|
||||
private Integer volDisOverDay;
|
||||
|
||||
@Excel(name = "谐波电压含有率", width = 25, needMerge = true)
|
||||
private Integer volContainOverDay;
|
||||
|
||||
@Excel(name = "谐波电流", width = 25, needMerge = true)
|
||||
private Integer harmCurOverDay;
|
||||
|
||||
@Excel(name = "间谐波电压含有率", width = 25, needMerge = true)
|
||||
private Integer intHarmOverDay;
|
||||
|
||||
@Excel(name = "三相电压不平衡度", width = 25, needMerge = true)
|
||||
private Integer threeUnbalance;
|
||||
|
||||
@Excel(name = "负序电流", width = 25, needMerge = true)
|
||||
private Integer negativeOverDay;
|
||||
|
||||
@Excel(name = "闪变", width = 25, needMerge = true)
|
||||
private Integer flickerOverDay;
|
||||
|
||||
@Excel(name = "监测点编号", width = 25, needMerge = true)
|
||||
private String monitorNumber;
|
||||
|
||||
@ExcelCollection(name = "各次谐波电压含有率")
|
||||
private List<UTimes> uTimes;
|
||||
|
||||
@ExcelCollection(name = "各次谐波电流含量")
|
||||
private List<ITimes> iTimes;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package com.njcn.harmonic.pojo.excel.monitor;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/6/28 15:32
|
||||
*/
|
||||
@Data
|
||||
public class UTimes implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Excel(name = "3次", width = 25, needMerge = true)
|
||||
private Integer overVolThreeTimes;
|
||||
|
||||
@Excel(name = "5次", width = 25, needMerge = true)
|
||||
private Integer overVolFiveTimes;
|
||||
|
||||
@Excel(name = "7次", width = 25, needMerge = true)
|
||||
private Integer overVolSevenTimes;
|
||||
|
||||
@Excel(name = "11次", width = 25, needMerge = true)
|
||||
private Integer overVolElevenTimes;
|
||||
|
||||
@Excel(name = "13次", width = 25, needMerge = true)
|
||||
private Integer overVolThirteenTimes;
|
||||
|
||||
@Excel(name = "23次", width = 25, needMerge = true)
|
||||
private Integer overVolTwentyThreeTimes;
|
||||
|
||||
@Excel(name = "25次", width = 25, needMerge = true)
|
||||
private Integer overVolTwentyFiveTimes;
|
||||
|
||||
@Excel(name = "其他次", width = 25, needMerge = true)
|
||||
private Integer overVolOtherTimes;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.njcn.harmonic.pojo.excel.substation;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/6/28 11:40
|
||||
*/
|
||||
@Data
|
||||
public class SubstationExcel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Excel(name = "省公司", width = 25, needMerge = true)
|
||||
private String provinceCompany;
|
||||
|
||||
@Excel(name = "地市公司", width = 25, needMerge = true)
|
||||
private String cityCompany;
|
||||
|
||||
@Excel(name = "电站名称", width = 25, needMerge = true)
|
||||
private String plantName;
|
||||
|
||||
@Excel(name = "电站电压等级", width = 25, needMerge = true)
|
||||
private String plantVoltageLevel;
|
||||
|
||||
@Excel(name = "在线监测点数量(个)", width = 25, needMerge = true)
|
||||
private Integer onlineMonitorCounts;
|
||||
|
||||
@Excel(name = "告警监测点数量(个)", width = 25, needMerge = true)
|
||||
private Integer alertMonitorCounts;
|
||||
|
||||
@Excel(name = "告警次数", width = 25, needMerge = true)
|
||||
private Integer alertCounts;
|
||||
|
||||
@Excel(name = "告警频次(次/点)", width = 25, needMerge = true, replace = "暂无数据_-1.0")
|
||||
private Double alertAlarmFrequency;
|
||||
|
||||
@Excel(name = "频率偏差", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double frequencyDeviation;
|
||||
|
||||
@Excel(name = "电压偏差", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double voltageDeviation;
|
||||
|
||||
@Excel(name = "谐波电压", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double harmonicVoltage;
|
||||
|
||||
@Excel(name = "谐波电流", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double harmonicCurrent;
|
||||
|
||||
@Excel(name = "三相电压不平衡", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double threePhaseVoltageUnbalance;
|
||||
|
||||
@Excel(name = "闪变", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double flicker;
|
||||
|
||||
@Excel(name = "间谐波电压", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double interHarmonic;
|
||||
|
||||
@Excel(name = "负序电流", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项稳态指标告警频次(次/点)")
|
||||
private Double negative;
|
||||
|
||||
@Excel(name = "短时中断", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项暂态指标告警频次(次/点)")
|
||||
private Double shortInterruption;
|
||||
|
||||
@Excel(name = "电压暂降", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项暂态指标告警频次(次/点)")
|
||||
private Double voltageDip;
|
||||
|
||||
@Excel(name = "电压暂升", width = 25, needMerge = true, replace = "暂无数据_-1.0", groupName = "各项暂态指标告警频次(次/点)")
|
||||
private Double voltageSwell;
|
||||
}
|
||||
Reference in New Issue
Block a user