增加扫描模式配置参数功能
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using XP.Scan.Attributes;
|
||||
|
||||
namespace XP.Scan.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 校正配置 | Correction configuration
|
||||
/// 对应 INI [Correction_Config] Section
|
||||
/// </summary>
|
||||
[IniSection("Correction_Config")]
|
||||
public class CorrectionConfig
|
||||
{
|
||||
/// <summary>探测器水平偏移 (mm) | Detector horizontal offset (mm)</summary>
|
||||
[IniKey("Detector_Horizontal_Offset")]
|
||||
public double DetectorHorizontalOffset { get; set; }
|
||||
|
||||
/// <summary>探测器旋转偏移 (°) | Detector rotation offset (°)</summary>
|
||||
[IniKey("Detector_Rotation_Offset")]
|
||||
public double DetectorRotationOffset { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user