feat():OPC UA环境

This commit is contained in:
Penknife
2025-08-18 10:41:44 +08:00
parent a53dc88795
commit 43eeef8089
10 changed files with 258 additions and 25 deletions

View File

@@ -101,6 +101,10 @@ spring:
enabled: true
max-attempts: 1
max-interval: 200
task:
scheduling:
pool:
size: 8 #配置Scheduled定时任务为多线程
# token配置
token:
@@ -160,4 +164,33 @@ knife4j:
language: zh-CN # 中文界面
enable-swagger-model: true # 显示模型
enable-document-manage: true # 启用文档管理
cors: true # 允许跨域
cors: true # 允许跨域
kangaroohy:
milo:
primary: default
config:
default:
endpoint: opc.tcp://127.0.0.1:49320
security-policy: none
pool:
max-idle: 5
max-total: 20
min-idle: 2
initial-size: 3
#kangaroohy:
# milo:
# primary: default
# config:
# default:
# endpoint: opc.tcp://127.0.0.1:49320
# security-policy: basic256sha256
# username: OPCUA
# password: 123456
# test:
# endpoint: opc.tcp://127.0.0.1:49321
# security-policy: basic256sha256
# username: OPCUA
# password: 123456