解决添加虚拟探测器无法运行的问题:SimulatedDetector实现ApplyParametersInternalAsync。
This commit is contained in:
@@ -84,6 +84,9 @@ namespace XP.Hardware.Detector.Implementations
|
|||||||
protected override Task<DetectorResult> BadPixelCorrectionInternalAsync(CancellationToken cancellationToken)
|
protected override Task<DetectorResult> BadPixelCorrectionInternalAsync(CancellationToken cancellationToken)
|
||||||
=> Task.FromResult(DetectorResult.Success("模拟坏像素校正完成"));
|
=> 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
|
public override DetectorInfo GetInfo() => new DetectorInfo
|
||||||
{
|
{
|
||||||
Type = DetectorType.Simulated,
|
Type = DetectorType.Simulated,
|
||||||
|
|||||||
Reference in New Issue
Block a user