Commit 6943a580 authored by maoying's avatar maoying

修改三维屏接口

parent 498a589a
...@@ -192,8 +192,8 @@ public class HandlerMqttMessageImpl implements IEquipmentHandlerService { ...@@ -192,8 +192,8 @@ public class HandlerMqttMessageImpl implements IEquipmentHandlerService {
content.put("id", "id"); content.put("id", "id");
content.put("label", "eqPointName"); content.put("label", "eqPointName");
content.put("changeDate", new Date()); content.put("changeDate", new Date());
content.put("orgCode", "orgCode"); content.put("orgCode", equipmentSpecific.getOrgCode());
content.put("status", deviceData.getSoe()); content.put("status", equipmentSpecificIndex.getValue());
iDataRefreshService.sendRefreshDataWithArea(View3dRefreshAreaEum.monitor_data.getCode(), content); iDataRefreshService.sendRefreshDataWithArea(View3dRefreshAreaEum.monitor_data.getCode(), content);
String title = String.format("/%s/%s/%s", serviceName, stationName,"data/refresh/monitorData"); String title = String.format("/%s/%s/%s", serviceName, stationName,"data/refresh/monitorData");
webMqttComponent.publish(title, JSON.toJSONString(view3dService.getEquipStatusList(equipmentSpecific.getOrgCode()))); webMqttComponent.publish(title, JSON.toJSONString(view3dService.getEquipStatusList(equipmentSpecific.getOrgCode())));
......
package com.yeejoin.amos.fas.business.vo; package com.yeejoin.amos.fas.business.vo;
import lombok.Data;
/** /**
* @author keyong * @author keyong
* @title: EquipmentSpecificIndexVo * @title: EquipmentSpecificIndexVo
...@@ -8,6 +10,7 @@ package com.yeejoin.amos.fas.business.vo; ...@@ -8,6 +10,7 @@ package com.yeejoin.amos.fas.business.vo;
* </pre> * </pre>
* @date 2020/11/11 16:49 * @date 2020/11/11 16:49
*/ */
@Data
public class EquipmentSpecificIndexVo { public class EquipmentSpecificIndexVo {
// id // id
...@@ -21,6 +24,10 @@ public class EquipmentSpecificIndexVo { ...@@ -21,6 +24,10 @@ public class EquipmentSpecificIndexVo {
// 性能指标id // 性能指标id
private Long equipmentIndexId; private Long equipmentIndexId;
private String equipmentIndexName;
private String equipmentIndexUnitName;
// 性能指标name key // 性能指标name key
private String nameKey; private String nameKey;
......
...@@ -518,7 +518,7 @@ ...@@ -518,7 +518,7 @@
and wlei.type_code!='FIREALARM' and wlei.type_code!='FIREALARM'
and (wlesi.`value` = 'true' and (wlesi.`value` = 'true'
OR wlesi.`value` = 'false') OR wlesi.`value` = 'false')
ORDER BY wlesi.create_date DESC ORDER BY wlesi.update_date DESC
limit 0,5 limit 0,5
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment