Эх сурвалжийг харах

refactor: 将 ExecutePhoto 同步调用重构为 ExecutePhotoAsync 异步调用

zly 2 сар өмнө
parent
commit
b38d16494a

+ 1 - 1
TeamAAS-VM/Core/Management.cs

@@ -2816,7 +2816,7 @@ namespace TeamAAS_VP.Core
                             var _cts = new CancellationTokenSource();
 
                             await _remoteCommandService.SetLightBeforePhoto(FzCameraProcess);
-                            var FzCameraResult = _remoteCommandService.ExecutePhoto(FzCameraProcess, out CogToolBlockTerminalCollection outputCollection);
+                            var (FzCameraResult, outputCollection) = await _remoteCommandService.ExecutePhotoAsync(FzCameraProcess);
 
                             if (FzCameraResult)
                             {