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
7a7dcec2
Commit
7a7dcec2
authored
May 24, 2022
by
maoying
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_upgrade' into dev_upgrade_plan6
parents
a617bdbc
43e072ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
HandlerMqttMessageImpl.java
...mos/fas/business/service/impl/HandlerMqttMessageImpl.java
+6
-2
application-dev.properties
...utoSysStart/src/main/resources/application-dev.properties
+2
-0
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/HandlerMqttMessageImpl.java
View file @
7a7dcec2
...
@@ -71,7 +71,10 @@ public class HandlerMqttMessageImpl implements IEquipmentHandlerService {
...
@@ -71,7 +71,10 @@ public class HandlerMqttMessageImpl implements IEquipmentHandlerService {
@Value
(
"${data.type.fireMonitor}"
)
@Value
(
"${data.type.fireMonitor}"
)
private
String
fireMonitor
;
private
String
fireMonitor
;
@Value
(
"${integrated3Dtype}"
)
private
String
integrated3Dtype
;
@Autowired
@Autowired
private
WebMqttComponent
webMqttComponent
;
private
WebMqttComponent
webMqttComponent
;
...
@@ -299,7 +302,8 @@ public class HandlerMqttMessageImpl implements IEquipmentHandlerService {
...
@@ -299,7 +302,8 @@ public class HandlerMqttMessageImpl implements IEquipmentHandlerService {
PlanDetailVo
planDetailVo
=
planDetailMapper
.
getPlanDetailByEquipmentId
(
equipment
.
getId
());
PlanDetailVo
planDetailVo
=
planDetailMapper
.
getPlanDetailByEquipmentId
(
equipment
.
getId
());
//3d页面打开且存在预案,套用之前数字源码启动逻辑 进行预案的启动
//3d页面打开且存在预案,套用之前数字源码启动逻辑 进行预案的启动
boolean
isOnLine
=
this
.
getOpen3dUser
();
boolean
isOnLine
=
"web"
.
equals
(
integrated3Dtype
)?
this
.
getOpen3dUser
():
true
;
//this.getOpen3dUser();
log
.
info
(
"isOnLine==="
+
isOnLine
);
log
.
info
(
"isOnLine==="
+
isOnLine
);
log
.
info
(
"planDetailVo==="
+
JSONObject
.
toJSONString
(
planDetailVo
));
log
.
info
(
"planDetailVo==="
+
JSONObject
.
toJSONString
(
planDetailVo
));
if
(
planDetailVo
!=
null
&&
isOnLine
)
{
if
(
planDetailVo
!=
null
&&
isOnLine
)
{
...
...
YeeAmosFireAutoSysStart/src/main/resources/application-dev.properties
View file @
7a7dcec2
...
@@ -72,3 +72,5 @@ file.downLoad.url=http://172.16.11.201:9000/
...
@@ -72,3 +72,5 @@ file.downLoad.url=http://172.16.11.201:9000/
#规则ip配置,用于多网卡及docker镜像启动时添加
#规则ip配置,用于多网卡及docker镜像启动时添加
rule.definition.local-ip
=
172.16.11.201
rule.definition.local-ip
=
172.16.11.201
#3Dtype 分为web和ue
integrated3Dtype
=
web
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