将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace XP.Hardware.Detector.Abstractions.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 采集模式枚举 | Acquisition mode enumeration
|
||||
/// 定义图像采集的工作模式
|
||||
/// </summary>
|
||||
public enum AcquisitionMode
|
||||
{
|
||||
/// <summary>
|
||||
/// 连续采集模式 | Continuous acquisition mode
|
||||
/// </summary>
|
||||
Continuous = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 单帧采集模式 | Single frame acquisition mode
|
||||
/// </summary>
|
||||
SingleFrame = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace XP.Hardware.Detector.Abstractions.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// Binning 模式枚举 | Binning mode enumeration
|
||||
/// 定义像素合并模式,用于提高信噪比或采集速度
|
||||
/// </summary>
|
||||
public enum BinningMode
|
||||
{
|
||||
/// <summary>
|
||||
/// 1x1 模式(无合并)| 1x1 mode (no binning)
|
||||
/// </summary>
|
||||
Bin1x1 = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 2x2 模式(2x2 像素合并)| 2x2 mode (2x2 pixel binning)
|
||||
/// </summary>
|
||||
Bin2x2 = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 4x4 模式(4x4 像素合并)| 4x4 mode (4x4 pixel binning)
|
||||
/// </summary>
|
||||
Bin4x4 = 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
namespace XP.Hardware.Detector.Abstractions.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 校正类型枚举 | Correction type enumeration
|
||||
/// 定义探测器支持的校正类型
|
||||
/// </summary>
|
||||
public enum CorrectionType
|
||||
{
|
||||
/// <summary>
|
||||
/// 暗场校正 | Dark field correction
|
||||
/// </summary>
|
||||
Dark = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 增益校正(亮场校正)| Gain correction (bright field correction)
|
||||
/// </summary>
|
||||
Gain = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 自动校正(暗场+增益+坏像素)| Auto correction (dark + gain + bad pixel)
|
||||
/// </summary>
|
||||
Auto = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 坏像素校正 | Bad pixel correction
|
||||
/// </summary>
|
||||
BadPixel = 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
namespace XP.Hardware.Detector.Abstractions.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 探测器状态枚举 | Detector status enumeration
|
||||
/// 定义探测器的运行状态
|
||||
/// </summary>
|
||||
public enum DetectorStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 未初始化 | Uninitialized
|
||||
/// </summary>
|
||||
Uninitialized = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 初始化中 | Initializing
|
||||
/// </summary>
|
||||
Initializing = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 就绪 | Ready
|
||||
/// </summary>
|
||||
Ready = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 采集中 | Acquiring
|
||||
/// </summary>
|
||||
Acquiring = 3,
|
||||
|
||||
/// <summary>
|
||||
/// 校正中 | Correcting
|
||||
/// </summary>
|
||||
Correcting = 4,
|
||||
|
||||
/// <summary>
|
||||
/// 错误 | Error
|
||||
/// </summary>
|
||||
Error = 5
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace XP.Hardware.Detector.Abstractions.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 探测器类型枚举 | Detector type enumeration
|
||||
/// 定义支持的探测器厂商类型
|
||||
/// </summary>
|
||||
public enum DetectorType
|
||||
{
|
||||
/// <summary>
|
||||
/// Varex 探测器 | Varex detector
|
||||
/// </summary>
|
||||
Varex = 0,
|
||||
|
||||
/// <summary>
|
||||
/// iRay 探测器 | iRay detector (预留)
|
||||
/// </summary>
|
||||
IRay = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Hamamatsu 探测器 | Hamamatsu detector (预留)
|
||||
/// </summary>
|
||||
Hamamatsu = 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
namespace XP.Hardware.Detector.Abstractions.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 增益模式枚举 | Gain mode enumeration
|
||||
/// 定义探测器的信号放大倍数
|
||||
/// </summary>
|
||||
public enum GainMode
|
||||
{
|
||||
/// <summary>
|
||||
/// 低增益模式 | Low gain mode
|
||||
/// </summary>
|
||||
Low = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 高增益模式 | High gain mode
|
||||
/// </summary>
|
||||
High = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user