110 lines
2.4 KiB
YAML
110 lines
2.4 KiB
YAML
server:
|
||
port: 18092
|
||
spring:
|
||
application:
|
||
name: entrance
|
||
datasource:
|
||
druid:
|
||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
url: jdbc:mysql://192.168.1.24:13306/pqs9100?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=Asia/Shanghai
|
||
username: root
|
||
password: njcnpqs
|
||
# url: jdbc:mysql://localhost:3306/pqs91001?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=CTT
|
||
# username: root
|
||
# password: root
|
||
#初始化建立物理连接的个数、最小、最大连接数
|
||
initial-size: 5
|
||
min-idle: 5
|
||
max-active: 50
|
||
#获取连接最大等待时间,单位毫秒
|
||
max-wait: 60000
|
||
#链接保持空间而不被驱逐的最长时间,单位毫秒
|
||
min-evictable-idle-time-millis: 300000
|
||
validation-query: select 1
|
||
test-while-idle: true
|
||
test-on-borrow: false
|
||
test-on-return: false
|
||
pool-prepared-statements: true
|
||
max-pool-prepared-statement-per-connection-size: 20
|
||
|
||
#mybatis配置信息
|
||
mybatis-plus:
|
||
mapper-locations: classpath*:com/njcn/**/mapping/*.xml
|
||
#别名扫描
|
||
type-aliases-package: com.njcn.gather.system.dictionary.pojo.po,com.njcn.gather.machine.pojo.po
|
||
configuration:
|
||
#驼峰命名
|
||
map-underscore-to-camel-case: true
|
||
#配置sql日志输出
|
||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
#关闭日志输出
|
||
# log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
||
global-config:
|
||
db-config:
|
||
#指定主键生成策略
|
||
id-type: assign_uuid
|
||
|
||
phaseAngle:
|
||
isEnable: false
|
||
|
||
socket:
|
||
source:
|
||
ip: 192.168.1.124
|
||
port: 62000
|
||
device:
|
||
ip: 192.168.1.124
|
||
port: 61000
|
||
# source:
|
||
# ip: 192.168.1.121
|
||
# port: 10086
|
||
# device:
|
||
# ip: 192.168.1.121
|
||
# port: 61000
|
||
|
||
webSocket:
|
||
port: 7777
|
||
|
||
#源参数下发,暂态数据默认值
|
||
Dip:
|
||
#暂态前时间(s)
|
||
fPreTime: 2f
|
||
#写入时间(s)
|
||
fRampIn: 0.001f
|
||
#写出时间(s)
|
||
fRampOut: 0.001f
|
||
#暂态后时间(s)
|
||
fAfterTime: 3f
|
||
|
||
|
||
Flicker:
|
||
waveFluType: CPM
|
||
waveType: SQU
|
||
fDutyCycle: 50f
|
||
|
||
log:
|
||
homeDir: D:\logs
|
||
commonLevel: info
|
||
report:
|
||
template: D:\template
|
||
reportDir: D:\report
|
||
|
||
qr:
|
||
cloud: http://pqmcc.com:18082/api/file
|
||
dev:
|
||
name: njcn
|
||
password: Pqs@12345678
|
||
port: 21
|
||
path: /etc/qrc.bin
|
||
gcDev:
|
||
name: root
|
||
password: Pqs@12345678
|
||
port: 21
|
||
path: /emmc/qrc.bin
|
||
|
||
db:
|
||
type: mysql
|
||
|
||
detection:
|
||
xujy:
|
||
volOrCur: 6
|
||
phase: 3 |