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
2bbfcac0
Commit
2bbfcac0
authored
May 11, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新站端配置
parent
65cfbb23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
53 deletions
+58
-53
application-dev.properties
...ystem-equip/src/main/resources/application-dev.properties
+45
-45
application.properties
...ot-system-equip/src/main/resources/application.properties
+13
-8
No files found.
amos-boot-system-equip/src/main/resources/application-dev.properties
View file @
2bbfcac0
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://172.16.1
1.201:3306/dl_business
?useUnicode=true&allowMultiQueries=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.url
=
jdbc:mysql://172.16.1
0.241:3306/dl_business_v3.0.1.3
?useUnicode=true&allowMultiQueries=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
Yeejoin@2020
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
...
@@ -12,22 +12,22 @@ spring.datasource.hikari.max-lifetime= 1800000
...
@@ -12,22 +12,22 @@ spring.datasource.hikari.max-lifetime= 1800000
spring.datasource.hikari.connection-timeout
=
60000
spring.datasource.hikari.connection-timeout
=
60000
spring.datasource.hikari.connection-test-query
=
SELECT 1
spring.datasource.hikari.connection-test-query
=
SELECT 1
##########eureka
配置信息
###############
##########eureka
????
###############
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
#
服务实例ip地址,若eureka.instance.prefer-ip-address=false,ip-address设置失效,一般情况不用设置。
#
????ip????eureka.instance.prefer-ip-address=false,ip-address??????????????
#eureka.instance.ip-address= 172.16.3.135
#eureka.instance.ip-address= 172.16.3.135
#eureka
服务ip配置,可填写固定ip地址
#eureka
??ip????????ip??
eureka.instance.hostname
=
eureka
eureka.instance.hostname
=
172.16.10.241
#eureka
服务配置的校验账号及密码,配置需和eureka服务后台配置文件中一致
#eureka
????????????,????eureka???????????
spring.security.user.name
=
admin
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
spring.security.user.password
=
a1234560
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@${eureka.instance.hostname}:10001/eureka/
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@${eureka.instance.hostname}:10001/eureka/
##########eureka
配置信息
###############
##########eureka
????
###############
#redis
#redis
spring.redis.database
=
1
spring.redis.database
=
1
spring.redis.host
=
172.16.1
1.20
1
spring.redis.host
=
172.16.1
0.24
1
spring.redis.port
=
6379
spring.redis.port
=
6379
spring.redis.password
=
yeejoin@2020
spring.redis.password
=
yeejoin@2020
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-active
=
200
...
@@ -39,10 +39,10 @@ spring.redis.expire.time=30000
...
@@ -39,10 +39,10 @@ spring.redis.expire.time=30000
## emqx
## emqx
emqx.clean-session
=
true
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.1
1.20
1:1883
emqx.broker
=
tcp://172.16.1
0.24
1:1883
emqx.user-name
=
admin
emqx.user-name
=
admin
emqx.password
=
public
emqx.password
=
public
mqtt.scene.host
=
mqtt://172.16.1
1.20
1:8083/mqtt
mqtt.scene.host
=
mqtt://172.16.1
0.24
1:8083/mqtt
mqtt.client.product.id
=
mqtt
mqtt.client.product.id
=
mqtt
mqtt.topic
=
topic_mqtt
mqtt.topic
=
topic_mqtt
spring.mqtt.completionTimeout
=
3000
spring.mqtt.completionTimeout
=
3000
...
@@ -57,7 +57,7 @@ spring.influx.actions=10000
...
@@ -57,7 +57,7 @@ spring.influx.actions=10000
spring.influx.bufferLimit
=
20000
spring.influx.bufferLimit
=
20000
#
系统机器人账号
#
???????
amos.system.user.user-name
=
fas_system
amos.system.user.user-name
=
fas_system
amos.system.user.password
=
a1234560
amos.system.user.password
=
a1234560
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.app-key
=
studio_normalapp_3056965
...
@@ -66,36 +66,36 @@ security.productApp=STUDIO_APP_MOBILE
...
@@ -66,36 +66,36 @@ security.productApp=STUDIO_APP_MOBILE
#
向数字站同步设备,巡查点台账信息开关,适用于数字站1.0版本,目前停止同步,默认为
false
#
?????????????????????????1.0?????????????
false
systemctl.sync.switch
=
false
systemctl.sync.switch
=
false
#
数据JCS开关 设备资源数据权限配置,站端部署,库里只有单站数据可不进行开启(false),中心级部署或存在多站数据时需开启(true)数据权限过滤
#
??JCS?? ???????????????????????????????false???????????????????true???????
systemctl.jcs.switch
=
true
systemctl.jcs.switch
=
true
#
给平台同步告警数据,若不同步影响消防自动化告警消息框数据展示
#
?????????,????????????????????
systemctl.amos.switch
=
true
systemctl.amos.switch
=
true
#
告警数据是否发送给App端,发送是通过jpush实现,需要有网情况下。目前电力消防不支持网络使用,默认不进行APP推送
#
?????????App???????jpush??????????????????????????????APP??
isSendApp
=
false
isSendApp
=
false
###############
向数字化平台3.0进行告警转发配置信息
################################
###############
??????3.0??????????
################################
#
告警推送开关,若无推送需求进行关闭(false)
#
??????????????????false?
dcs.send.message
=
false
dcs.send.message
=
false
#
请求头参数
#
?????
dcs.client-id
=
fire_system
dcs.client-id
=
fire_system
dcs.client.secret
=
fire_system
dcs.client.secret
=
fire_system
dcs.grant-type
=
client_credentials
dcs.grant-type
=
client_credentials
dcs.scope
=
all
dcs.scope
=
all
dcs.token-key
=
dcs_token_key
dcs.token-key
=
dcs_token_key
#
华为roma秘钥每个站有区别与集成商索取
#
??roma??????????????
dcs.x.hw.id
=
io.cs
dcs.x.hw.id
=
io.cs
dcs.x.hw.appKey
=
i!YmnHgJ=Ysz8V+O@ZG237inQKfixkQ.-#-P3IlR8fO%.#F!g%35Z#@tp$6G+52v
dcs.x.hw.appKey
=
i!YmnHgJ=Ysz8V+O@ZG237inQKfixkQ.-#-P3IlR8fO%.#F!g%35Z#@tp$6G+52v
#
\u7531\u4E8E\u76EE\u524D\u6709\u4E0D\u6B62\u4E00\u4E2A\u6570\u5B57\u7AD9\u5E73\u53F0\u5BF9\u5E94\u63A5\u53E3\u89C4\u8303\u4E0D\u4E00\u81F4\uFF0C\u6240\u4EE5\u6B64\u5904\u589E\u52A0\u914D\u7F6E\uFF0Ctrue\u8868\u793A\u9002\u7528\u4E8E\u5357\u745E\u79D1\u6280\u7684\u63A5\u53E3\u89C4\u8303
#
?????????????????????????????????true??????????????
#
平台集成商是否科技接口,(科技为true、继保和许继为false)
#
????????????(???true???????false?
dcs.NRKJ.use
=
false
dcs.NRKJ.use
=
false
dcs.source.type
=
\u
9ad8
\u
7ea7
\u
5e94
\u7528
dcs.source.type
=
????
#
数字化平台3.0权限接口
#
?????3.0????
dcs.url.token
=
http://172.21.101.123/udaap-ddis/v1/cs/auth-service/oauth/token
dcs.url.token
=
http://172.21.101.123/udaap-ddis/v1/cs/auth-service/oauth/token
#
数字化平台3.0告警存储接口
#
?????3.0??????
dcs.url.sendalarm
=
http://172.21.101.101/v1/cs/alarm-service/appalarm/sendalarm
dcs.url.sendalarm
=
http://172.21.101.101/v1/cs/alarm-service/appalarm/sendalarm
#################################################################################
#################################################################################
...
@@ -103,50 +103,50 @@ dcs.url.sendalarm=http://172.21.101.101/v1/cs/alarm-service/appalarm/sendalarm
...
@@ -103,50 +103,50 @@ dcs.url.sendalarm=http://172.21.101.101/v1/cs/alarm-service/appalarm/sendalarm
param.system.online.date
=
2019-02-12
param.system.online.date
=
2019-02-12
############
数字1.0视频接入服务配置,其他版本不支持
##################################
############
??1.0????????????????
##################################
#
视频转码服务开关 hls(关)/flv(开),默认关闭,数字换流站1.0使用时开启
#
???????? hls(?)/flv(?),??????????1.0?????
window.vedioFormat
=
hls
window.vedioFormat
=
hls
#
航天视频服务地址
#
????????
param.htvideo.url
=
http://192.168.4.174:9001;
param.htvideo.url
=
http://192.168.4.174:9001;
#
南瑞视频转码服务地址
#
??????????
param.nrvideo.url
=
http://198.87.103.158:8001;
param.nrvideo.url
=
http://198.87.103.158:8001;
#
南瑞视频平台通过视频id获取flv格式视频播放地址
#
??????????id??flv????????
param.nrflvbyvoideoid.url
=
http://192.168.4.159:10010/api/media/live
param.nrflvbyvoideoid.url
=
http://192.168.4.159:10010/api/media/live
#####################################################################################
#####################################################################################
#
装备服务在接收到站端iot推送的装备数据后进行influxdb存库
#
??????????iot??????????influxdb??
#1.
在装备接口消息处向influxdb/{productKey}/{deviceName} 消息地址推送数据,iot负责存库
#1.
?????????influxdb/{productKey}/{deviceName} ?????????iot????
#2.
配置文件添加配置项开关,默认为关闭,该功能只使用于中心及系统
#2.
??????????????????????????????
#
是否向iot推送消息
#
???iot????
isSendIot
=
false
isSendIot
=
false
#
站端编码及中文名称,用于数据上送
#
????????????????
state.code
=
GW190301
state.code
=
GW190301
state.name
=
\u9526\u
5c4f
\u6362\u
6d41
\u
7ad9
state.name
=
?????
#
站端编码,用于物联报表查询
#
?????????????
stationCode
=
LSHLZ1bZAJU645Pgl7
stationCode
=
LSHLZ1bZAJU645Pgl7
#
用于总部系统与站端系统逻辑区分,站端写zd总部默认为空
#
???????????????????zd??????
system.type
=
zd
system.type
=
zd
#
遥测信号是否向直流中心推送,数字站默认不推送
#
??????????????????????
is.open.telemetering
=
false
is.open.telemetering
=
false
# message
接收来自南瑞平台的告警事件描述,如:出现(即为true)
# message
???????????????????????true?
message.alarm.char
=
\u
51FA
\u
73B0
message.alarm.char
=
??
#
电建项目配置
#
??????
mileage.parameter
=
0.5
mileage.parameter
=
0.5
#
电建项目配置
#
??????
mileage.segmentation.cron
=
0 0 0 * * ?
mileage.segmentation.cron
=
0 0 0 * * ?
#
机场使用特殊配置iotCode前缀,装备、车辆及导入使用到
#
????????iotCode??????????????
#
机场使用
#
????
#iot.code.prefix.have.used=20210003,20210004,20210005
#iot.code.prefix.have.used=20210003,20210004,20210005
#
电力使用
#
????
iot.code.prefix.have.used
=
iot.code.prefix.have.used
=
amos-boot-system-equip/src/main/resources/application.properties
View file @
2bbfcac0
...
@@ -45,6 +45,7 @@ iot.vehicle.track=AMOS-API-IOT
...
@@ -45,6 +45,7 @@ iot.vehicle.track=AMOS-API-IOT
jcs.fegin.name
=
JCS
jcs.fegin.name
=
JCS
video.fegin.name
=
VIDEO
video.fegin.name
=
VIDEO
idx.feign.name
=
AMOS-IDX
idx.feign.name
=
AMOS-IDX
mcb.feign.name
=
MCB-SERVER
#???????id
#???????id
morphic.projectSeq
=
1390314016458514433
morphic.projectSeq
=
1390314016458514433
#wl_equipment_category ?id ????????id?
#wl_equipment_category ?id ????????id?
...
@@ -146,30 +147,34 @@ management.endpoint.health.show-details=always
...
@@ -146,30 +147,34 @@ management.endpoint.health.show-details=always
logic
=
false
logic
=
false
##
电力报表定时任务
##
????????
jobs.month.cron
=
0 50 0 1 * ?
jobs.month.cron
=
0 50 0 1 * ?
jobs.day.cron
=
0 5 0 * * ?
jobs.day.cron
=
0 5 0 * * ?
jobs.week.cron
=
0 25 0 ? * 1
jobs.week.cron
=
0 25 0 ? * 1
jobs.day.cron.old
=
0 25 0 * * ?
jobs.day.cron.old
=
0 25 0 * * ?
# ?????????
update.car.qrCode
=
0 01 00 * * ?
#
预案消防炮设备类型编码
#
???????????
equipment.plan.monitor
=
92030200,92032200
equipment.plan.monitor
=
92030200,92032200
#
消防泵设备类型编码
#
?????????
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
#
电力设备报废业务,在设备报废前30日 每日9点执行 系统推送提醒。设备报废后停止消息推送提醒
#
???????????????30? ??9??? ????????????????????
equipment.scrap.day
=
30
equipment.scrap.day
=
30
equipment.scrap.cron
=
0 0 9 * * ?
equipment.scrap.cron
=
0 0 9 * * ?
#???????????kks?
power.station.url
=
http://139.9.169.123:5024/process/DataInterface
#
稳压泵定时向缓存中存昨日启动次数任务
#
??????????????????
equipment.pressurepump.start.cron
=
0 0 0 * * ?
equipment.pressurepump.start.cron
=
0 0 0 * * ?
#
稳压泵启停指标
#
???????
equipment.pressurepump.start
=
FHS_PressurePump_Start
equipment.pressurepump.start
=
FHS_PressurePump_Start
#
稳压泵压力指标
#
???????
equipment.pressurepump.pipepressure
=
FHS_PipePressureDetector_PipePressure
equipment.pressurepump.pipepressure
=
FHS_PipePressureDetector_PipePressure
#
液位指标编码
#
??????
water.level.indexKey
=
FHS_FirePoolDevice_WaterLevel,FHS_LevelDetector_WaterLevel,FHS_WirelessliquidDetector_WaterLevel,CAFS_FoamTank_FoamTankLevel,CAFS_WaterTank_WaterTankLevel
water.level.indexKey
=
FHS_FirePoolDevice_WaterLevel,FHS_LevelDetector_WaterLevel,FHS_WirelessliquidDetector_WaterLevel,CAFS_FoamTank_FoamTankLevel,CAFS_WaterTank_WaterTankLevel
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