更新20260518

This commit is contained in:
GukSang.Jin
2026-05-19 18:22:00 +08:00
parent 00c224ceff
commit 2f4388723c
5 changed files with 83 additions and 43 deletions

View File

@@ -73,7 +73,7 @@ namespace TabletTester2025.ViewModels
ShowDataCommand = new AsyncRelayCommand(async () =>
{
// 用你项目里已有的PLC实例假设叫 _plcClient
var window = new ShowData(_plc);
var window = new ShowData(_plc, _plcConfig);
window.Owner = Application.Current.MainWindow;
window.ShowDialog();
});