异常数据清洗功能开发
This commit is contained in:
@@ -29,9 +29,11 @@ public class MonitorBaseParam extends BaseParam {
|
||||
@ApiModelProperty(value = "预警天数阈值")
|
||||
private Integer warnDayLimit;
|
||||
|
||||
@ApiModelProperty(value = "异常测点集合")
|
||||
private List<String> monitorIds;
|
||||
|
||||
private String monitorId;
|
||||
@ApiModelProperty(value = "指标id")
|
||||
private String targetKey;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -18,9 +18,12 @@ public class DetailAbnormalVO {
|
||||
|
||||
private Long timeSum;
|
||||
|
||||
private String targetKey;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 异常实体
|
||||
*/
|
||||
@Data
|
||||
public static class DetailAbnormalInnerVO{
|
||||
|
||||
@@ -45,4 +48,27 @@ public class DetailAbnormalVO {
|
||||
private String cp95;
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class DetailLimitInnerVO{
|
||||
|
||||
//时间
|
||||
private String time;
|
||||
|
||||
private String targetKey;
|
||||
|
||||
//指标类型
|
||||
private String targetName;
|
||||
|
||||
//相别
|
||||
private String phaseType;
|
||||
|
||||
//类型
|
||||
private String type;
|
||||
|
||||
//最大
|
||||
private String val;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.device.pq.pojo.vo.dataClean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: cdf
|
||||
* @CreateTime: 2025-04-01
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
public class JsonBaseVO {
|
||||
|
||||
private String time;
|
||||
|
||||
private String value;
|
||||
|
||||
private String phasic;
|
||||
|
||||
private String valueType;
|
||||
|
||||
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.njcn.device.pq.pojo.vo.dataClean;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -10,22 +11,31 @@ import lombok.Data;
|
||||
@Data
|
||||
public class PowerQualityIndicatorsVO {
|
||||
|
||||
@ApiModelProperty(name = "monitorId",value = "监测点id")
|
||||
private String monitorId;
|
||||
//监测点名称
|
||||
@ApiModelProperty(name = "monitorName",value = "监测点名称")
|
||||
private String monitorName;
|
||||
//所属终端名称
|
||||
@ApiModelProperty(name = "devName",value = "所属终端名称")
|
||||
private String devName;
|
||||
//所属电站
|
||||
@ApiModelProperty(name = "stationName",value = "所属电站")
|
||||
private String stationName;
|
||||
//监测对象类型
|
||||
@ApiModelProperty(name = "objType",value = "监测对象类型")
|
||||
private String objType;
|
||||
//监测对象名称
|
||||
@ApiModelProperty(name = "objName",value = "监测对象名称")
|
||||
private String objName;
|
||||
//电压等级
|
||||
@ApiModelProperty(name = "voltageLevel",value = "电压等级")
|
||||
private String voltageLevel;
|
||||
//异常天数
|
||||
@ApiModelProperty(name = "abnormalDay",value = "异常天数")
|
||||
private Integer abnormalDay;
|
||||
//严重度
|
||||
@ApiModelProperty(name = "severity",value = "严重度")
|
||||
private Integer severity;
|
||||
|
||||
}
|
||||
|
||||
@@ -20,12 +20,12 @@ public class VerifyMonitorVO {
|
||||
@ApiModelProperty(value = "异常测点数量",name = "abnormalNum")
|
||||
private Integer abnormalNum;
|
||||
|
||||
|
||||
|
||||
private List<VerifyTargetVO> targetList;
|
||||
|
||||
@ApiModelProperty(value = "时间范围异常测点数量",name = "mapList")
|
||||
private List<Map<String,Object>> mapList;
|
||||
|
||||
|
||||
private List<PowerQualityIndicatorsVO> monitorAlarmInfo;
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.njcn.device.pq.pojo.vo.dataClean;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@@ -13,13 +14,19 @@ import java.util.Set;
|
||||
@Data
|
||||
public class VerifyTargetVO {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "唯一标识",name = "key")
|
||||
private String key;
|
||||
|
||||
@ApiModelProperty(value = "指标中文名称",name = "targetName")
|
||||
private String targetName;
|
||||
|
||||
@ApiModelProperty(value = "范围描述",name = "rangeDesc")
|
||||
private String rangeDesc;
|
||||
|
||||
@ApiModelProperty(value = "异常测点集合",name = "ids")
|
||||
private Set<String> ids;
|
||||
|
||||
@ApiModelProperty(value = "排序",name = "sort")
|
||||
private Integer sort;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user