using XP.Scan.Attributes;
namespace XP.Scan.Models
{
///
/// 扫描配置 | Scan configuration
/// 对应 INI [Scan_Config] Section
///
[IniSection("Scan_Config")]
public class ScanSettings
{
/// 采集张数 | Number of acquisitions
[IniKey("AcquiresNums")]
public int AcquiresNums { get; set; }
/// 旋转角度 (°) | Rotation degree (°)
[IniKey("RotateDegree")]
public double RotateDegree { get; set; }
/// 扫描模式描述 | Scan mode description
[IniKey("ScanMode")]
public string ScanMode { get; set; } = string.Empty;
/// SDD — 射线源到探测器距离 (mm) | Source to detector distance (mm)
[IniKey("SDD")]
public double SDD { get; set; }
/// SOD — 射线源到样品距离 (mm) | Source to object distance (mm)
[IniKey("SOD")]
public double SOD { get; set; }
}
}