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

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
+24
View File
@@ -0,0 +1,24 @@
using XP.Scan.Attributes;
namespace XP.Scan.Models
{
/// <summary>
/// 射线源配置 | X-Ray source configuration
/// 对应 INI [XRay] Section
/// </summary>
[IniSection("XRay")]
public class XRayConfig
{
/// <summary>管电流 (μA) | Tube current (μA)</summary>
[IniKey("Current_uA")]
public int CurrentUA { get; set; }
/// <summary>焦点尺寸 | Focus size</summary>
[IniKey("Focus")]
public string Focus { get; set; } = string.Empty;
/// <summary>管电压 (kV) | Tube voltage (kV)</summary>
[IniKey("Voltage_kV")]
public int VoltageKV { get; set; }
}
}