提交
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.njcn.csdevice.pojo.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2023/8/1 15:25【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
public class LineParamDTO {
|
||||
@ApiModelProperty(value = "工程id")
|
||||
private String engineerId;
|
||||
|
||||
/**
|
||||
* 项目Id
|
||||
*/
|
||||
@ApiModelProperty(value = "项目Id")
|
||||
private String projectId;
|
||||
|
||||
@ApiModelProperty(value = "设备id")
|
||||
private String devId;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.njcn.csdevice.pojo.param;
|
||||
|
||||
import com.njcn.csdevice.pojo.po.AppLineTopologyDiagramPO;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2023/8/2 9:14【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
public class LinePostionParam {
|
||||
private List<AppLineTopologyDiagramPO> pointList;
|
||||
}
|
||||
@@ -17,29 +17,39 @@ import java.util.List;
|
||||
|
||||
@Data
|
||||
public class DevCountVO {
|
||||
@ApiModelProperty(value = "工程id")
|
||||
private String id;
|
||||
@ApiModelProperty(value = "设备总数")
|
||||
private Integer allDevCount;
|
||||
private List<CsEquipmentDeliveryPO> allDevs;
|
||||
@ApiModelProperty(value = "在线设备数")
|
||||
private Integer onLineCount;
|
||||
//
|
||||
@ApiModelProperty(value = "设备在线总数")
|
||||
private Integer onLineDevCount;
|
||||
private List<CsEquipmentDeliveryPO> onLineDevs;
|
||||
|
||||
@ApiModelProperty(value = "离线设备数")
|
||||
private Integer offLineCount;
|
||||
@ApiModelProperty(value = "设备离线总数")
|
||||
private Integer offLineDevCount;
|
||||
private List<CsEquipmentDeliveryPO> offLineDevs;
|
||||
@ApiModelProperty(value = "报警设备数")
|
||||
private Integer alarmLineCount;
|
||||
private List<CsEquipmentAlarmVO> alarmLineDevs;
|
||||
|
||||
@ApiModelProperty(value = "设备报警事件数")
|
||||
private Integer alarmEventCount;
|
||||
@ApiModelProperty(value = "稳态/暂态发生事件数")
|
||||
@ApiModelProperty(value = "警告数")
|
||||
private Integer alarmCount;
|
||||
@ApiModelProperty(value = "事件数")
|
||||
private Integer eventCount;
|
||||
@ApiModelProperty(value = "项目数")
|
||||
private Integer projectCount;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "当前工程id")
|
||||
private String currentId;
|
||||
@ApiModelProperty(value = "当前工程设备在线总数")
|
||||
private Integer currentOnLineDevCount;
|
||||
private List<CsEquipmentDeliveryPO> currentOnLineDevs;
|
||||
|
||||
@ApiModelProperty(value = "当前工程设备在线总数")
|
||||
private Integer currentOffLineDevCount;
|
||||
private List<CsEquipmentDeliveryPO> currentOffLineDevs;
|
||||
|
||||
@ApiModelProperty(value = "警告数")
|
||||
private Integer currentAlarmCount;
|
||||
@ApiModelProperty(value = "事件数")
|
||||
private Integer currentEventCount;
|
||||
@ApiModelProperty(value = "项目数")
|
||||
private Integer currentProjectCount;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user