增加扫描模式配置参数功能

This commit is contained in:
TianSong
2026-04-22 15:16:43 +08:00
parent faf58b2768
commit 14b027b44f
12 changed files with 920 additions and 0 deletions
+20
View File
@@ -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; }
}
}