更新菜单按钮

This commit is contained in:
zhengxuan.zhang
2026-05-22 17:29:41 +08:00
parent 92213ffd0d
commit c443404bae
2 changed files with 16 additions and 16 deletions
@@ -84,6 +84,13 @@ 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)
{
_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,