终端运行评价接口
This commit is contained in:
@@ -21,12 +21,18 @@ public enum PowerFlagEnum {
|
||||
NEW_ENERGY(2, "电网侧(新能源)"),
|
||||
NO_NEW_ENERGY(3, "非电网侧(新能源)"),
|
||||
SEND_NETWORK(4, "上送国网"),
|
||||
PCC(5, "PCC");
|
||||
PCC(5, "PCC"),
|
||||
|
||||
|
||||
VIRTUAL_DEVICE(0,"虚拟终端"),
|
||||
REAL_DEVICE(1,"实际终端"),
|
||||
OFFLINE_DEICE(2,"离线终端")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;
|
||||
|
||||
private final Integer code;
|
||||
private final String message;
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.njcn.device.pq.pojo.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: cdf
|
||||
* @CreateTime: 2025-05-08
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
public class MonitorInfoDTO {
|
||||
/**
|
||||
* 监测点Id
|
||||
*/
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 父节点(0为根节点)
|
||||
*/
|
||||
private String pid;
|
||||
|
||||
/**
|
||||
* 上层所有节点
|
||||
*/
|
||||
private String pids;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 等级:0-项目名称;1- 工程名称;2-单位;3-部门;4-终端;5-母线;6-监测点
|
||||
*/
|
||||
private Integer level;
|
||||
|
||||
/**
|
||||
* 排序(默认为0,有特殊排序需要时候人为输入)
|
||||
*/
|
||||
private Integer sort;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
private String objId;
|
||||
|
||||
private Integer powerFlag;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.njcn.device.pq.pojo.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: cdf
|
||||
* @CreateTime: 2025-05-08
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
public class TerminalEvaluateAreaVO {
|
||||
|
||||
private String name;
|
||||
|
||||
private Double score;
|
||||
|
||||
private Integer count;
|
||||
|
||||
private Double online;
|
||||
|
||||
private Double integrity;
|
||||
|
||||
private Double qualified;
|
||||
}
|
||||
Reference in New Issue
Block a user