From 0b6554f13910a4ec3d285dab090191a8db2db2af Mon Sep 17 00:00:00 2001 From: QI Mingxuan Date: Fri, 22 May 2026 15:55:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=B7=BB=E5=8A=A0=E8=99=9A?= =?UTF-8?q?=E6=8B=9F=E6=8E=A2=E6=B5=8B=E5=99=A8=E6=97=A0=E6=B3=95=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=9ASimulatedDetector?= =?UTF-8?q?=E5=AE=9E=E7=8E=B0ApplyParametersInternalAsync=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- XP.Hardware.Detector/Implementations/SimulatedDetector.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/XP.Hardware.Detector/Implementations/SimulatedDetector.cs b/XP.Hardware.Detector/Implementations/SimulatedDetector.cs index 3c27c52..f9c343a 100644 --- a/XP.Hardware.Detector/Implementations/SimulatedDetector.cs +++ b/XP.Hardware.Detector/Implementations/SimulatedDetector.cs @@ -84,6 +84,9 @@ 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) + => Task.FromResult(DetectorResult.Success("模拟参数应用完成")); + public override DetectorInfo GetInfo() => new DetectorInfo { Type = DetectorType.Simulated,