using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace PaintDotNet.Base.SettingModel
{
///
/// 设置 - 系统配置
///
[XmlRoot("ROOT")]
public class ConfigModel
{
///
/// 语言1中文 2英文 3德文
///
[XmlElement("Language")]
public int Language { get; set; }
///
/// 当前条目名称
///
[XmlElement("CurrentName")]
public string CurrentName { get; set; }
///
/// 当前自定义文本
///
[XmlElement("customTxt")]
public string customTxt { get; set; }
///
/// 名称前缀
///
[XmlElement("NamePrefix")]
public String NamePrefix { get; set; }
///
/// 名称格式
///
[XmlElement("NameFormat")]
public string NameFormat { get; set; }
///
/// 数值位数
///
[XmlElement("NumberNum")]
public int NumberNum { get; set; }
///
/// 名称状态 1 延续 2 重置
///
[XmlElement("NameStatus")]
public int NameStatus { get; set; }
///
/// 延续数值
///
[XmlElement("ContinueNum")]
public int ContinueNum { get; set; }
///
/// 名称前缀
///
[XmlElement("CharZ1")]
public String CharZ1 { get; set; }
///
/// 名称格式
///
[XmlElement("CharZ2")]
public string CharZ2 { get; set; }
///
/// 点距设置的数据库主键
///
[XmlElement("DotPitchId")]
public int DotPitchId { get; set; }
///
/// 相机数据库主键
///
[XmlElement("Camera")]
public int Camera { get; set; }
///
/// 系统复位的标记
///
[XmlElement("SystemReset")]
public int SystemReset { get; set; }
///
/// 标尺表的id,表示用户选定的标尺
///
[XmlElement("RulerId")]
public int RulerId { get; set; }
///
/// 当前系统选定的单位,对应程序里面的单位枚举,默认微米
///
[XmlElement("Unit")]
public int Unit { get; set; }
///
/// 用户选择的水印样式的配置文件名
///
[XmlElement("Watermark")]
public string Watermark { get; set; }
///
/// 用户选择的工型样式的配置文件名
///
[XmlElement("WorkType")]
public string WorkType { get; set; }
///
/// 用户选择的标尺样式的配置文件名
///
[XmlElement("RulerStyle")]
public string RulerStyle { get; set; }
///
/// 用户选择的标注样式的配置文件名
///
[XmlElement("LabelStyle")]
public string LabelStyle { get; set; }
///
/// 用户选择的测量样式的配置文件名
///
[XmlElement("MeasurementStyle")]
public string MeasurementStyle { get; set; }
///
/// 启动图像状态 1 未勾选 2 已勾选
///
[XmlElement("StartImgStatus")]
public int StartImgStatus { get; set; }
///
/// 默认启动图像
///
[XmlElement("DefaultStartImg")]
public string DefaultStartImg { get; set; }
///
/// 启动图像
///
[XmlElement("StartImg")]
public string StartImg { get; set; }
///
/// 常规操作
///
[XmlElement("NormalOperation")]
public string NormalOperation { get; set; }
///
/// 通用分析
///
[XmlElement("GeneralAnalysis")]
public string GeneralAnalysis { get; set; }
///
/// 专用分析
///
[XmlElement("DedicatedAnalysis")]
public string DedicatedAnalysis { get; set; }
///
/// 是否自动添加ZEN标尺 1是 2否
///
[XmlElement("AddZEN")]
public int AddZEN { get; set; }
///
/// 是否自动添加AxioVision标尺 1是 2否
///
[XmlElement("AddAxioVision")]
public int AddAxioVision { get; set; }
///
/// 标注信息配置初始化的标记 0不复位 1复位
///
[XmlElement("LabelInformationReset")]
public int LabelInformationReset { get; set; }
///
/// 测量信息配置初始化的标记 0不复位 1复位
///
[XmlElement("MeasurementInformationReset")]
public int MeasurementInformationReset { get; set; }
///
/// log信息初始化的标记 0不复位 1复位
///
[XmlElement("LogReset")]
public int LogReset { get; set; }
///
/// 快捷栏功能初始化的标记 0不复位 1复位
///
[XmlElement("ShortcutBarReset")]
public int ShortcutBarReset { get; set; }
///
/// 工具栏初始化的标记 0不复位 1复位
///
[XmlElement("ToolbarReset")]
public int ToolbarReset { get; set; }
///
/// 快捷键功能初始化的标记 0不复位 1复位
///
[XmlElement("HotKeyReset")]
public int HotKeyReset { get; set; }
///
/// 用户选择的二值提取的参数配置
///
[XmlElement("BinaryParameter")]
public string BinaryParameter { get; set; }
///
/// 方向设置Z轴运动方向 0上 1下
///
[XmlElement("ZMovementDirection")]
public int ZMovementDirection { get; set; }
///
/// 方向设置X轴左运动方向 0正 1负
///
[XmlElement("XLeftMovementDirection")]
public int XLeftMovementDirection { get; set; }
///
/// 方向设置X轴右运动方向 0正 1负
///
[XmlElement("XRighttMovementDirection")]
public int XRighttMovementDirection { get; set; }
///
/// 方向设置Y轴左运动方向 0正 1负
///
[XmlElement("YLeftMovementDirection")]
public int YLeftMovementDirection { get; set; }
///
/// 方向设置Y轴右运动方向 0正 1负
///
[XmlElement("YRighttMovementDirection")]
public int YRighttMovementDirection { get; set; }
///
/// 是否生成配置文件-另存窗口 0否 1是
///
[XmlElement("WhetherGenerateConfig")]
public int WhetherGenerateConfig { get; set; }
///
/// 保存后是否关闭图像-另存窗口 0否 1是
///
[XmlElement("WhetherCloseAfterSave")]
public int WhetherCloseAfterSave { get; set; }
///
/// 保存时是否保存网格数据-另存窗口 0否 1是
///
[XmlElement("WhetherSaveGridData")]
public int WhetherSaveGridData { get; set; }
///
/// 标注及测量信息是否嵌入图像-另存窗口 0否 1是
///
[XmlElement("WhetherLabelMeasureInsert")]
public int WhetherLabelMeasureInsert { get; set; }
///
/// 相信息是否嵌入图像-另存窗口 0否 1是
///
[XmlElement("PhaseInsert")]
public int PhaseInsert { get; set; }
///
/// 是否使用压缩比例-另存窗口 0否 1是
///
[XmlElement("WhetherCompression")]
public int WhetherCompression { get; set; }
///
/// 压缩比例数值-另存窗口
///
[XmlElement("CompressionRatio")]
public decimal CompressionRatio { get; set; }
///
/// 时间间隔-聚焦参数
///
[XmlElement("TimeLag")]
public int TimeLag { get; set; }
///
/// 步长-聚焦参数
///
[XmlElement("StepLength")]
public int StepLength { get; set; }
///
/// 项目工程里的项目编号的计数
///
[XmlElement("ProjectCodeNum")]
public int ProjectCodeNum { get; set; }
///
/// 常规设置-网格信息-选中的网格样式名称
///
[XmlElement("GridName")]
public string GridName { get; set; }
///
/// 标记点大小
///
[XmlElement("MarkpointWidth")]
public int MarkpointWidth { get; set; }
///
/// 命名空间集合
///
[XmlElement("LstNaming")]
public List LstNaming { get; set; }
///
/// 自定义文本
///
[XmlElement("LstCustomTxt")]
public CustomTxtModel LstCustomTxt { get; set; }
///
/// 当前自定义文本T1
///
[XmlElement("Txt1")]
public string Txt1 { get; set; }
///
/// 当前自定义文本T2
///
[XmlElement("Txt2")]
public string Txt2 { get; set; }
///
/// 当前自定义文本T3
///
[XmlElement("Txt3")]
public string Txt3 { get; set; }
///
/// 卡规设置
///
[XmlElement("calipersSetModel")]
public CalipersSetModel calipersSetModel { get; set; }
///
/// 保存拍照图片 1位是否保存,2位是否打开图片
///
public int CaptureSaveMode { get; set; }
///
/// 拍照带标尺否
///
public bool CaptureHasRoler { get; set; }
}
}