冀北地图接口开发
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
package com.njcn.device.pms.pojo.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PmsLedgerStaticDTO implements Serializable {
|
||||
|
||||
/**
|
||||
* 监测点统计
|
||||
*/
|
||||
private List<PmsSimpleDTO> monitorStatistics;
|
||||
|
||||
/**
|
||||
* 装置统计
|
||||
*/
|
||||
private List<PmsSimpleDTO> terminalStatistics;
|
||||
|
||||
/**
|
||||
* 在线率统计
|
||||
*/
|
||||
private List<PmsSimpleDTO> OnlineRateStatistics;
|
||||
|
||||
/**
|
||||
* 完整性统计
|
||||
*/
|
||||
private List<PmsSimpleDTO> integrityStatistics;
|
||||
|
||||
/**
|
||||
* 根据单位统计监测点数量
|
||||
*/
|
||||
private HashMap<String,List<PmsSimpleDTO>> monitorStatisticsByDept;
|
||||
|
||||
/**
|
||||
* 根据单位统计终端数量
|
||||
*/
|
||||
private HashMap<String,List<PmsSimpleDTO>> terminalStatisticsByDept;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.njcn.device.pms.pojo.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class PmsSimpleDTO implements Serializable {
|
||||
|
||||
@ApiModelProperty(name = "name", value = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(name = "value", value = "数值")
|
||||
private Double[] value;
|
||||
|
||||
@ApiModelProperty(name = "value", value = "数值")
|
||||
private Double doubleValue;
|
||||
|
||||
@ApiModelProperty(name = "statistics", value = "数量")
|
||||
private Integer statistics;
|
||||
|
||||
@ApiModelProperty(name = "classification", value = "分类")
|
||||
private String classification;
|
||||
|
||||
private Integer sort;
|
||||
}
|
||||
@@ -7,6 +7,7 @@ import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
import com.njcn.device.pms.pojo.dto.PmsSimpleDTO;
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
@@ -60,6 +61,8 @@ public class SubstationExpend implements Serializable {
|
||||
*/
|
||||
private String deptId;
|
||||
|
||||
private String deptName;
|
||||
|
||||
/**
|
||||
* 关联台账变电站:pq_substation表主键
|
||||
*/
|
||||
@@ -72,7 +75,7 @@ public class SubstationExpend implements Serializable {
|
||||
*/
|
||||
private String connectType;
|
||||
|
||||
private List<SimpleDTO> sites;
|
||||
private List<PmsSimpleDTO> sites;
|
||||
|
||||
// public SubstationExpend(String name, String type, BigDecimal lng, BigDecimal lat, String deptId) {
|
||||
// this.name = name;
|
||||
|
||||
Reference in New Issue
Block a user