示波器修改:visa连接方式+截图保存

This commit is contained in:
“hsc”
2026-09-23 09:16:14 +08:00
parent 3275283263
commit 81c6386e62
15 changed files with 910 additions and 88 deletions
+2 -1
View File
@@ -59,7 +59,7 @@ namespace SettingModule.ViewModels
public ObservableCollection<string> ConnectionTypes { get; } = new()
{
"None", "Tcp", "Serial", "CAN"
"None", "Tcp", "Visa", "Serial", "CAN"
};
#endregion
#region 命令
@@ -163,6 +163,7 @@ namespace SettingModule.ViewModels
var dialogName = SelectedDevice.ConnectionType switch
{
"Tcp" => "TCPConfig",
"Visa" => "VisaConfig",
"Serial" => "SerialPortConfig",
"CAN" => "CANConfig",
_ => string.Empty