add(更新opcua客户端、振捣频率按钮、管片任务数据刷新)

This commit is contained in:
2026-01-16 18:37:21 +08:00
parent 360cb13b73
commit 88dfc53b9d
13 changed files with 567 additions and 234 deletions

21
config/opc_config.ini Normal file
View File

@ -0,0 +1,21 @@
[OPC_SERVER_CONFIG]
# OPC服务器地址
server_url = opc.tcp://localhost:4840/zjsh_feed/server/
# 心跳检测间隔(秒)
heartbeat_interval = 4
# 自动重连间隔(秒)
reconnect_interval = 2
# 订阅间隔(毫秒)
sub_interval = 500
[OPC_NODE_LIST]
upper_weight = 2:upper,2:upper_weight
lower_weight = 2:lower,2:lower_weight
upper_hopper_position = 2:upper,2:upper_hopper_position
upper_clamp_status = 2:upper,2:upper_clamp_status
vibration_frequency=2:vibration_frequency
production_progress=2:production_progress
segment_tasks=2:segment_tasks