解决添加虚拟探测器无法运行的问题:SimulatedDetector实现ApplyParametersInternalAsync。

This commit is contained in:
QI Mingxuan
2026-05-22 15:55:25 +08:00
parent 4943bc16b7
commit 0b6554f139
@@ -84,6 +84,9 @@ namespace XP.Hardware.Detector.Implementations
protected override Task<DetectorResult> BadPixelCorrectionInternalAsync(CancellationToken cancellationToken)
=> Task.FromResult(DetectorResult.Success("模拟坏像素校正完成"));
protected override Task<DetectorResult> ApplyParametersInternalAsync(int binningIndex, int pga, decimal frameRate, CancellationToken cancellationToken)
=> Task.FromResult(DetectorResult.Success("模拟参数应用完成"));
public override DetectorInfo GetInfo() => new DetectorInfo
{
Type = DetectorType.Simulated,