pd9427
This commit is contained in:
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user