探测器XP.Hardware.Detector类库为了更好集成新的探测器,统一接口方法,DetectorService重构为通过统一接口;
新增暗场校正和亮场校正帧数配置属性(默认 64,范围 1-128),config 加载校正帧数; 修正探测器IsConnected连接状态的判断逻辑。
This commit is contained in:
@@ -111,6 +111,15 @@ namespace XP.Hardware.Detector.Implementations
|
||||
throw new NotImplementedException("iRay 探测器坏像素校正尚未实现 | iRay detector bad pixel correction not implemented yet");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 应用参数(内部实现)| Apply parameters (internal implementation)
|
||||
/// </summary>
|
||||
protected override Task<DetectorResult> ApplyParametersInternalAsync(int binningIndex, int pga, decimal frameRate, CancellationToken cancellationToken)
|
||||
{
|
||||
// TODO: 实现 iRay 探测器参数应用逻辑 | Implement iRay detector parameter application logic
|
||||
throw new NotImplementedException("iRay 探测器参数应用尚未实现 | iRay detector parameter application not implemented yet");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取探测器信息 | Get detector information
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user