|
@@ -14,7 +14,6 @@ spring:
|
|
host: 8.130.28.21
|
|
host: 8.130.28.21
|
|
port: 6379
|
|
port: 6379
|
|
database: 5
|
|
database: 5
|
|
- password: Hfln@1024
|
|
|
|
timeout: 10s
|
|
timeout: 10s
|
|
lettuce:
|
|
lettuce:
|
|
pool:
|
|
pool:
|
|
@@ -56,3 +55,23 @@ lnxx:
|
|
notifyId: 2368474
|
|
notifyId: 2368474
|
|
region: ap-guangzhou
|
|
region: ap-guangzhou
|
|
sdkAppId: 1400966707
|
|
sdkAppId: 1400966707
|
|
|
|
+
|
|
|
|
+mqtt:
|
|
|
|
+ broker: tcp://8.130.28.21:1883
|
|
|
|
+ client:
|
|
|
|
+ id: hfln-device-service-${random.uuid}
|
|
|
|
+ username: admin
|
|
|
|
+ password: public
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+# 设备配置
|
|
|
|
+device:
|
|
|
|
+ keepalive:
|
|
|
|
+ timeout: 90000 # 设备保活超时时间,单位毫秒
|
|
|
|
+ alarm:
|
|
|
|
+ ack:
|
|
|
|
+ timeout: 300000 # 设备告警确认超时时间,单位毫秒
|
|
|
|
+ retention:
|
|
|
|
+ time: 60 # 滞留时间阈值,单位秒
|
|
|
|
+ keep-time: 30 # 滞留持续时间,单位秒
|
|
|
|
+ alarm-time: 180 # 滞留告警时间,单位秒
|