From c443404baec5d8d7a5b045adf2e2b40007624559 Mon Sep 17 00:00:00 2001 From: "zhengxuan.zhang" Date: Fri, 22 May 2026 17:29:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8F=9C=E5=8D=95=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Implementations/SimulatedDetector.cs | 7 ++++++ XplorePlane/Views/Main/MainWindow.xaml | 25 +++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/XP.Hardware.Detector/Implementations/SimulatedDetector.cs b/XP.Hardware.Detector/Implementations/SimulatedDetector.cs index 3c27c52..5da1122 100644 --- a/XP.Hardware.Detector/Implementations/SimulatedDetector.cs +++ b/XP.Hardware.Detector/Implementations/SimulatedDetector.cs @@ -84,6 +84,13 @@ namespace XP.Hardware.Detector.Implementations protected override Task BadPixelCorrectionInternalAsync(CancellationToken cancellationToken) => Task.FromResult(DetectorResult.Success("模拟坏像素校正完成")); + protected override Task ApplyParametersInternalAsync(int binningIndex, int pga, decimal frameRate, CancellationToken cancellationToken) + { + _logger?.Info("[SimulatedDetector] 应用参数: Binning={Binning}, PGA={PGA}, FrameRate={FPS}", + binningIndex, pga, frameRate); + return Task.FromResult(DetectorResult.Success("模拟探测器参数应用成功")); + } + public override DetectorInfo GetInfo() => new DetectorInfo { Type = DetectorType.Simulated, diff --git a/XplorePlane/Views/Main/MainWindow.xaml b/XplorePlane/Views/Main/MainWindow.xaml index 4318909..f4c2ca3 100644 --- a/XplorePlane/Views/Main/MainWindow.xaml +++ b/XplorePlane/Views/Main/MainWindow.xaml @@ -549,7 +549,7 @@ Text="拟合圆" /> - + @@ -569,21 +569,7 @@ Text="坐标标定" /> - - - - - - - - - + @@ -601,6 +587,13 @@ SmallImage="/Assets/Icons/tools.png" Command="{Binding OpenDebugPanelCommand}" Text="调试面板" /> +