From 1e21d5f9f2af4e8e68e84ae760cfb6fe115ef9d8 Mon Sep 17 00:00:00 2001 From: hsc Date: Tue, 23 Jun 2026 10:29:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=BF=90=E8=A1=8Cbug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TestingModule/ViewModels/CommandTreeViewModel.cs | 2 +- UIShare/GlobalVariable/StepRunning.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TestingModule/ViewModels/CommandTreeViewModel.cs b/TestingModule/ViewModels/CommandTreeViewModel.cs index b39b7e5..28fd431 100644 --- a/TestingModule/ViewModels/CommandTreeViewModel.cs +++ b/TestingModule/ViewModels/CommandTreeViewModel.cs @@ -189,7 +189,7 @@ namespace TestingModule.ViewModels { try { - var assembly = Assembly.LoadFile(dllPath); + var assembly = Assembly.LoadFrom(dllPath); Assemblies.Add(assembly); // 加载对应的XML注释文件 (项目没有用到) diff --git a/UIShare/GlobalVariable/StepRunning.cs b/UIShare/GlobalVariable/StepRunning.cs index e426eff..539625c 100644 --- a/UIShare/GlobalVariable/StepRunning.cs +++ b/UIShare/GlobalVariable/StepRunning.cs @@ -558,7 +558,7 @@ namespace UIShare { try { - //instance = _devices.DeviceDic[targetType.Name]; + instance = _deviceManager.DeviceMap[targetType.Name]; } catch (Exception ex) {