Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
b9868355
Commit
b9868355
authored
Dec 08, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.大屏服务数据无法正常显示问题初步处理
parent
059b8a3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+1
-1
LargeScreenImpl.java
...s/boot/module/jxiop/biz/service/impl/LargeScreenImpl.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
b9868355
...
@@ -1437,7 +1437,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -1437,7 +1437,7 @@ public class MonitorFanIdxController extends BaseController {
map
.
put
(
"total"
,
list
.
size
());
map
.
put
(
"total"
,
list
.
size
());
map
.
put
(
"num"
,
sum
);
map
.
put
(
"num"
,
sum
);
try
{
try
{
emqKeeper
.
getMqttClient
().
publish
(
"/accessSituation/topic"
,
JSON
.
toJSONString
(
map
).
getBytes
(),
0
,
fals
e
);
emqKeeper
.
getMqttClient
().
publish
(
"/accessSituation/topic"
,
JSON
.
toJSONString
(
map
).
getBytes
(),
0
,
tru
e
);
}
catch
(
MqttException
e
)
{
}
catch
(
MqttException
e
)
{
}
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/LargeScreenImpl.java
View file @
b9868355
...
@@ -195,7 +195,7 @@ public class LargeScreenImpl {
...
@@ -195,7 +195,7 @@ public class LargeScreenImpl {
ybfbn
=
new
BigDecimal
(
ybfbn
).
setScale
(
4
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
ybfbn
=
new
BigDecimal
(
ybfbn
).
setScale
(
4
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
mapdta
.
put
(
"NJHWC"
,
ybfbn
);
mapdta
.
put
(
"NJHWC"
,
ybfbn
);
try
{
try
{
emqKeeper
.
getMqttClient
().
publish
(
"qg/yxzb"
,
JSON
.
toJSONString
(
mapdta
).
getBytes
(),
0
,
fals
e
);
emqKeeper
.
getMqttClient
().
publish
(
"qg/yxzb"
,
JSON
.
toJSONString
(
mapdta
).
getBytes
(),
0
,
tru
e
);
}
catch
(
MqttException
e
)
{
}
catch
(
MqttException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
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