更新20260518
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user