Commit 7a7dcec2 authored by maoying's avatar maoying

Merge branch 'dev_upgrade' into dev_upgrade_plan6

parents a617bdbc 43e072ad
...@@ -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) {
......
...@@ -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
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