1,重新梳理了代码,将使用多线程,并实现了批量读取变量
2,添加OpcUa更新方式的修改对话框 3,修复了一些已知的Bug 4,删除了不必要的函数
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user