增加扫描模式配置参数功能
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using XP.Scan.Attributes;
|
||||
|
||||
namespace XP.Scan.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目信息 | Project information
|
||||
/// 对应 INI [Project_Information] Section
|
||||
/// </summary>
|
||||
[IniSection("Project_Information")]
|
||||
public class ProjectInfo
|
||||
{
|
||||
/// <summary>图像保存路径 | Image save path</summary>
|
||||
[IniKey("fileSave")]
|
||||
public string FileSave { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>滤波片1 | Filter 1</summary>
|
||||
[IniKey("filter1")]
|
||||
public string Filter1 { get; set; } = "None";
|
||||
|
||||
/// <summary>滤波片2 | Filter 2</summary>
|
||||
[IniKey("filter2")]
|
||||
public string Filter2 { get; set; } = "None";
|
||||
|
||||
/// <summary>项目名称 | Project name</summary>
|
||||
[IniKey("Project")]
|
||||
public string Project { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>样品编号 | Sample number</summary>
|
||||
[IniKey("SampleNo")]
|
||||
public string SampleNo { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>扫描模式名称 | Scan mode name</summary>
|
||||
[IniKey("ScanMode")]
|
||||
public string ScanMode { get; set; } = "QuickScan";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user