终端运行评价接口

This commit is contained in:
2025-05-09 09:45:28 +08:00
parent f56b0f87d6
commit 4c7b6b19c9
10 changed files with 257 additions and 23 deletions

View File

@@ -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;

View File

@@ -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;
}

View File

@@ -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;
}