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="调试面板" /> +