Files
CN_Gather/entrance/src/main/resources/application.yml

105 lines
2.4 KiB
YAML
Raw Normal View History

2024-08-13 19:29:04 +08:00
server:
port: 18092
spring:
application:
name: entrance
2024-10-30 20:37:42 +08:00
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
2024-10-30 20:37:42 +08:00
username: root
2024-11-18 10:23:50 +08:00
password: njcnpqs
2025-06-20 14:21:41 +08:00
# url: jdbc:mysql://localhost:3306/pqs91001?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=CTT
# username: root
# password: root
2024-10-30 20:37:42 +08:00
#初始化建立物理连接的个数、最小、最大连接数
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
2024-10-30 20:37:42 +08:00
configuration:
#驼峰命名
map-underscore-to-camel-case: true
#配置sql日志输出
2025-02-10 13:34:25 +08:00
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
2024-10-30 20:37:42 +08:00
#关闭日志输出
2025-02-10 13:34:25 +08:00
# log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
2024-10-30 20:37:42 +08:00
global-config:
db-config:
#指定主键生成策略
id-type: assign_uuid
2024-08-13 19:29:04 +08:00
phaseAngle:
isEnable: false
2024-12-12 18:06:27 +08:00
socket:
source:
ip: 127.0.0.1
2025-01-14 16:10:52 +08:00
port: 62000
2024-12-18 09:10:54 +08:00
device:
ip: 127.0.0.1
2024-12-18 09:10:54 +08:00
port: 61000
2025-06-20 14:21:41 +08:00
# source:
# ip: 192.168.1.121
# port: 10086
# device:
# ip: 192.168.1.121
# port: 61000
2024-12-12 18:06:27 +08:00
webSocket:
port: 7777
#源参数下发,暂态数据默认值
Dip:
#暂态前时间s
fPreTime: 2f
#写入时间s
fRampIn: 0.001f
#写出时间s
fRampOut: 0.001f
#暂态后时间s
fAfterTime: 3f
Flicker:
2025-06-18 17:53:09 +08:00
waveFluType: CPM
waveType: SQU
fDutyCycle: 50f
2024-12-12 18:06:27 +08:00
2024-08-13 19:29:04 +08:00
log:
2024-10-30 09:16:12 +08:00
homeDir: D:\logs
commonLevel: info
2025-01-15 18:28:06 +08:00
report:
2025-03-20 09:02:21 +08:00
template: D:\template
reportDir: D:\report
2025-01-15 18:28:06 +08:00
2025-06-20 14:21:41 +08:00
qr:
cloud: http://pqmcc.com:18082/api/file
dev:
name: njcn
password: Pqs@12345678
port: 21
2025-07-01 15:10:54 +08:00
path: /etc/qrc.bin
gcDev:
name: root
password: Pqs@12345678
port: 21
path: /emmc/qrc.bin
2025-06-20 14:21:41 +08:00
db:
type: mysql