This commit is contained in:
2026-04-07 09:51:38 +08:00
parent ecba4d726a
commit 00dcd6b6cc
36 changed files with 2857 additions and 505 deletions

View File

@ -66,7 +66,7 @@ class OpcuaClientFeed(Thread):
self.name="opcua_feed_client"
self.target_var_paths = []
#订阅配置文件中的参数
self.subscription_name=["pd_notify","pd_set_mode","pd_set_volume"]
self.subscription_name=["pd_notify","pd_notify_finish","pd_set_mode","pd_set_volume"]
# self.server_url = ""
self.read_opc_config() # 读取配置文件
@ -88,7 +88,7 @@ class OpcuaClientFeed(Thread):
"""停止线程+断开连接"""
self.is_running = False
self.disconnect()
self.wait()
# self.wait()
print("opcua客户端线程已退出")
def connect(self):