Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeAmosFireAutoSysRoot
Commits
6943a580
Commit
6943a580
authored
Dec 13, 2020
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改三维屏接口
parent
498a589a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
HandlerMqttMessageImpl.java
...mos/fas/business/service/impl/HandlerMqttMessageImpl.java
+2
-2
EquipmentSpecificIndexVo.java
...eejoin/amos/fas/business/vo/EquipmentSpecificIndexVo.java
+7
-0
dbTemplate_view3d.xml
...sStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
+1
-1
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/HandlerMqttMessageImpl.java
View file @
6943a580
...
...
@@ -192,8 +192,8 @@ public class HandlerMqttMessageImpl implements IEquipmentHandlerService {
content
.
put
(
"id"
,
"id"
);
content
.
put
(
"label"
,
"eqPointName"
);
content
.
put
(
"changeDate"
,
new
Date
());
content
.
put
(
"orgCode"
,
"orgCode"
);
content
.
put
(
"status"
,
deviceData
.
getSo
e
());
content
.
put
(
"orgCode"
,
equipmentSpecific
.
getOrgCode
()
);
content
.
put
(
"status"
,
equipmentSpecificIndex
.
getValu
e
());
iDataRefreshService
.
sendRefreshDataWithArea
(
View3dRefreshAreaEum
.
monitor_data
.
getCode
(),
content
);
String
title
=
String
.
format
(
"/%s/%s/%s"
,
serviceName
,
stationName
,
"data/refresh/monitorData"
);
webMqttComponent
.
publish
(
title
,
JSON
.
toJSONString
(
view3dService
.
getEquipStatusList
(
equipmentSpecific
.
getOrgCode
())));
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/vo/EquipmentSpecificIndexVo.java
View file @
6943a580
package
com
.
yeejoin
.
amos
.
fas
.
business
.
vo
;
import
lombok.Data
;
/**
* @author keyong
* @title: EquipmentSpecificIndexVo
...
...
@@ -8,6 +10,7 @@ package com.yeejoin.amos.fas.business.vo;
* </pre>
* @date 2020/11/11 16:49
*/
@Data
public
class
EquipmentSpecificIndexVo
{
// id
...
...
@@ -21,6 +24,10 @@ public class EquipmentSpecificIndexVo {
// 性能指标id
private
Long
equipmentIndexId
;
private
String
equipmentIndexName
;
private
String
equipmentIndexUnitName
;
// 性能指标name key
private
String
nameKey
;
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
View file @
6943a580
...
...
@@ -518,7 +518,7 @@
and wlei.type_code!='FIREALARM'
and (wlesi.`value` = 'true'
OR wlesi.`value` = 'false')
ORDER BY wlesi.
cre
ate_date DESC
ORDER BY wlesi.
upd
ate_date DESC
limit 0,5
</select>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment