12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- # Tomcat
- server:
- # port: 21000
- port: 21001
- servlet:
- context-path: /data-gateway
- spring:
- application:
- # 应用名称
- name: agbox-energy
- cache:
- ehcache:
- config: classpath:ehcache.xml
- enabled: false
- redis:
- enabled: true
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- default-property-inclusion: always
- deserialization:
- fail-on-unknown-properties: false
- parser:
- allow-single-quotes: true
- allow-unquoted-control-chars: true
- serialization:
- fail-on-empty-beans: false
- time-zone: GMT+8
- tenant:
- enable: false
- servlet:
- multipart:
- max-file-size: 10MB
- max-request-size: 15MB
- temp:
- basedir: C:/Users/pc/Desktop/
- mqtt:
- completionTimeout: 5000
- enabled: true
- keep-alive-interval: 60
- # password: public
- # sub-topics: /502_KAT/+/control
- # url: tcp://192.168.123.165:1883
- # username: admin
- password: usky
- sub-topics: /502_KAT/+/control
- url: tcp://47.98.201.73:1883
- username: usky
- # 和嵌入式udp通信的发送端口和监听端口地址
- udp:
- deviceIp: 192.168.123.44
- sendingPort: 60000
|