增加扫描模式配置参数功能
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user