1,重新梳理了代码,将使用多线程,并实现了批量读取变量

2,添加OpcUa更新方式的修改对话框
3,修复了一些已知的Bug
4,删除了不必要的函数
This commit is contained in:
2025-07-13 16:22:07 +08:00
parent 82634f46c0
commit 6f16a1c4e4
22 changed files with 877 additions and 704 deletions

View File

@@ -58,7 +58,7 @@ public partial class OpcUaImportDialogViewModel : ObservableObject
OpcUaNodes.Clear();
SelectedNodeVariables.Clear();
_session = await OpcUaServiceHelper.CreateOpcUaSessionAsync(EndpointUrl);
_session = await ServiceHelper.CreateOpcUaSessionAsync(EndpointUrl);
NotificationHelper.ShowSuccess($"已连接到 OPC UA 服务器: {EndpointUrl}");
IsConnected = true;