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

@@ -188,4 +188,16 @@ public class DialogService :IDialogService
var result = await dialog.ShowAsync();
return result == ContentDialogResult.Primary ? vm.GetSelectedVariables().ToList() : null;
}
public async Task<OpcUaUpdateType?> ShowOpcUaUpdateTypeDialog()
{
var vm = new OpcUaUpdateTypeDialogViewModel();
var dialog = new OpcUaUpdateTypeDialog(vm);
var result = await dialog.ShowAsync();
if (result == ContentDialogResult.Primary)
{
return vm.SelectedUpdateType;
}
return null;
}
}