完成添加变量功能

This commit is contained in:
2025-07-03 12:55:00 +08:00
parent 6a503de26e
commit 4159e95bf3
16 changed files with 528 additions and 124 deletions

View File

@@ -116,9 +116,10 @@ public partial class MainViewModel : ViewModelBase
NotificationHelper.ShowMessage("操作失败:无法获取有效的设备信息。", NotificationType.Error);
return;
}
// 2. 显示添加变量表对话框
var varTable = await _dialogService.ShowAddVarTableDialog(device);
var varTable = await _dialogService.ShowAddVarTableDialog();
if (varTable == null)
{
// 用户取消或未选择