namespace XP.Hardware.Detector.Abstractions
{
///
/// 校正能力描述 | Correction capabilities description
/// 描述探测器支持的校正行为和参数范围,不同探测器可返回不同配置
///
public class CorrectionCapabilities
{
///
/// 是否需要在校正前停止采集 | Whether to stop acquisition before correction
///
public bool RequiresStopBeforeCorrection { get; set; } = true;
///
/// 是否需要在暗场校正前应用参数 | Whether to apply parameters before dark correction
///
public bool RequiresParameterApplyBeforeDark { get; set; } = true;
///
/// 亮场校正后是否自动执行坏像素校正 | Auto bad pixel correction after gain correction
///
public bool AutoBadPixelAfterGain { get; set; } = true;
///
/// 停止采集后等待时间(ms)| Post-stop delay (ms)
///
public int PostStopDelayMs { get; set; } = 500;
///
/// 暗场校正帧数(从配置文件加载)| Dark correction frame count (loaded from config)
///
public int DarkFrameCount { get; set; } = 64;
///
/// 亮场校正帧数(从配置文件加载)| Gain correction frame count (loaded from config)
///
public int GainFrameCount { get; set; } = 64;
///
/// 校正帧数最小值 | Correction frame count minimum
///
public int FrameCountMin { get; set; } = 1;
///
/// 校正帧数最大值 | Correction frame count maximum
///
public int FrameCountMax { get; set; } = 128;
}
}