波形代码提交

This commit is contained in:
wurui
2023-03-23 15:39:47 +08:00
parent d9f4958b52
commit a27f1a6e23
3 changed files with 19 additions and 0 deletions

View File

@@ -66,6 +66,12 @@ public class PwRmpEventDetailVO implements Serializable {
@ApiModelProperty(name = "monitorVoltageLevel",value = "监测点电压等级")
private String monitorVoltageLevel;
/**
* 暂时事件ID
*/
@ApiModelProperty(name = "eventId",value = "暂时事件ID")
private String eventId;
/**
* 暂态事件类型
*/
@@ -91,6 +97,12 @@ public class PwRmpEventDetailVO implements Serializable {
@ApiModelProperty(name = "featureAmplitude", value = "特征幅值")
private Double featureAmplitude;
/**
* 系统名称
*/
@ApiModelProperty(name = "系统名称")
private String systemType="pms";
/**
* 波形路径
*/

View File

@@ -86,6 +86,12 @@ public class RmpEventDetailVO implements Serializable {
@ApiModelProperty(name = "featureAmplitude",value = "特征幅值")
private Double featureAmplitude;
/**
* 系统名称
*/
@ApiModelProperty(name = "系统名称")
private String systemType="pms";
/**
* 波形路径
*/

View File

@@ -81,6 +81,7 @@ public class PwRmpEventDetailServiceImpl implements PwRmpEventDetailService {
PwRmpEventDetailVO vo = new PwRmpEventDetailVO();
BeanUtils.copyProperties(po, vo);
vo.setMonitorId(po.getMeasurementPointId());
vo.setEventId(po.getEventId());
vo.setOrgId(pwPmsMonitorDTOMap.get(po.getMeasurementPointId()).getOrgId());
vo.setOrgName(pwPmsMonitorDTOMap.get(po.getMeasurementPointId()).getOrgName());
vo.setMonitorSort(pwPmsMonitorDTOMap.get(po.getMeasurementPointId()).getMonitorSort());