123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Xml.Serialization;
- namespace SmartCoalApplication.Base.SettingModel
- {
- /// <summary>
- /// 设置 - 系统配置
- /// </summary>
- [XmlRoot("ROOT")]
- public class ConfigModel
- {
- /// <summary>
- /// 语言1 简体中文 2繁体中文
- /// </summary>
- [XmlElement("Language")]
- public int Language { get; set; }
- /// <summary>
- /// 名称前缀
- /// </summary>
- [XmlElement("NamePrefix")]
- public String NamePrefix { get; set; }
- /// <summary>
- /// 名称格式
- /// </summary>
- [XmlElement("NameFormat")]
- public string NameFormat { get; set; }
- /// <summary>
- /// 数值位数
- /// </summary>
- [XmlElement("NumberNum")]
- public int NumberNum { get; set; }
- /// <summary>
- /// 名称状态 1 延续 2 重置
- /// </summary>
- [XmlElement("NameStatus")]
- public int NameStatus { get; set; }
- /// <summary>
- /// 延续数值
- /// </summary>
- [XmlElement("ContinueNum")]
- public int ContinueNum { get; set; }
- /// <summary>
- /// 点距设置的数据库主键
- /// </summary>
- [XmlElement("DotPitchId")]
- public int DotPitchId { get; set; }
- /// <summary>
- /// 相机数据库主键
- /// </summary>
- [XmlElement("Camera")]
- public int Camera { get; set; }
- /// <summary>
- /// 系统复位的标记
- /// </summary>
- [XmlElement("SystemReset")]
- public int SystemReset { get; set; }
- /// <summary>
- /// 标尺表的id,表示用户选定的标尺
- /// </summary>
- [XmlElement("RulerId")]
- public int RulerId { get; set; }
- /// <summary>
- /// 当前系统选定的单位,对应程序里面的单位枚举,默认微米
- /// </summary>
- [XmlElement("Unit")]
- public int Unit { get; set; }
- /// <summary>
- /// 用户选择的水印样式的配置文件名
- /// </summary>
- [XmlElement("Watermark")]
- public string Watermark { get; set; }
- /// <summary>
- /// 用户选择的工型样式的配置文件名
- /// </summary>
- [XmlElement("WorkType")]
- public string WorkType { get; set; }
- /// <summary>
- /// 用户选择的标尺样式的配置文件名
- /// </summary>
- [XmlElement("RulerStyle")]
- public string RulerStyle { get; set; }
- /// <summary>
- /// 用户选择的标注样式的配置文件名
- /// </summary>
- [XmlElement("LabelStyle")]
- public string LabelStyle { get; set; }
- /// <summary>
- /// 用户选择的测量样式的配置文件名
- /// </summary>
- [XmlElement("MeasurementStyle")]
- public string MeasurementStyle { get; set; }
- /// <summary>
- /// 用户选择的测量区域的配置文件名
- /// </summary>
- [XmlElement("MeasurementArea")]
- public string MeasurementArea { get; set; }
- /// <summary>
- /// 启动图像状态 1 未勾选 2 已勾选
- /// </summary>
- [XmlElement("StartImgStatus")]
- public int StartImgStatus { get; set; }
- /// <summary>
- /// 默认启动图像
- /// </summary>
- [XmlElement("DefaultStartImg")]
- public string DefaultStartImg { get; set; }
- /// <summary>
- /// 启动图像
- /// </summary>
- [XmlElement("StartImg")]
- public string StartImg { get; set; }
- /// <summary>
- /// 常规操作
- /// </summary>
- [XmlElement("NormalOperation")]
- public string NormalOperation { get; set; }
- /// <summary>
- /// 通用分析
- /// </summary>
- [XmlElement("GeneralAnalysis")]
- public string GeneralAnalysis { get; set; }
- /// <summary>
- /// 专用分析
- /// </summary>
- [XmlElement("DedicatedAnalysis")]
- public string DedicatedAnalysis { get; set; }
- /// <summary>
- /// 是否自动添加ZEN标尺 1是 2否
- /// </summary>
- [XmlElement("AddZEN")]
- public int AddZEN { get; set; }
- /// <summary>
- /// 是否自动添加AxioVision标尺 1是 2否
- /// </summary>
- [XmlElement("AddAxioVision")]
- public int AddAxioVision { get; set; }
- /// <summary>
- /// 标注信息配置初始化的标记 0不复位 1复位
- /// </summary>
- [XmlElement("LabelInformationReset")]
- public int LabelInformationReset { get; set; }
- /// <summary>
- /// 测量信息配置初始化的标记 0不复位 1复位
- /// </summary>
- [XmlElement("MeasurementInformationReset")]
- public int MeasurementInformationReset { get; set; }
- /// <summary>
- /// log信息初始化的标记 0不复位 1复位
- /// </summary>
- [XmlElement("LogReset")]
- public int LogReset { get; set; }
- /// <summary>
- /// 快捷栏功能初始化的标记 0不复位 1复位
- /// </summary>
- [XmlElement("ShortcutBarReset")]
- public int ShortcutBarReset { get; set; }
- /// <summary>
- /// 工具栏初始化的标记 0不复位 1复位
- /// </summary>
- [XmlElement("ToolbarReset")]
- public int ToolbarReset { get; set; }
- /// <summary>
- /// 快捷键功能初始化的标记 0不复位 1复位
- /// </summary>
- [XmlElement("HotKeyReset")]
- public int HotKeyReset { get; set; }
- /// <summary>
- /// 用户选择的二值提取的参数配置
- /// </summary>
- [XmlElement("BinaryParameter")]
- public string BinaryParameter { get; set; }
- /// <summary>
- /// 方向设置Z轴运动方向 0上 1下
- /// </summary>
- [XmlElement("ZMovementDirection")]
- public int ZMovementDirection { get; set; }
- /// <summary>
- /// 方向设置X轴左运动方向 0正 1负
- /// </summary>
- [XmlElement("XLeftMovementDirection")]
- public int XLeftMovementDirection { get; set; }
- /// <summary>
- /// 方向设置X轴右运动方向 0正 1负
- /// </summary>
- [XmlElement("XRighttMovementDirection")]
- public int XRighttMovementDirection { get; set; }
- /// <summary>
- /// 方向设置Y轴左运动方向 0正 1负
- /// </summary>
- [XmlElement("YLeftMovementDirection")]
- public int YLeftMovementDirection { get; set; }
- /// <summary>
- /// 方向设置Y轴右运动方向 0正 1负
- /// </summary>
- [XmlElement("YRighttMovementDirection")]
- public int YRighttMovementDirection { get; set; }
- /// <summary>
- /// 是否生成配置文件-另存窗口 0否 1是
- /// </summary>
- [XmlElement("WhetherGenerateConfig")]
- public int WhetherGenerateConfig { get; set; }
- /// <summary>
- /// 保存后是否关闭图像-另存窗口 0否 1是
- /// </summary>
- [XmlElement("WhetherCloseAfterSave")]
- public int WhetherCloseAfterSave { get; set; }
- /// <summary>
- /// 保存时是否保存网格数据-另存窗口 0否 1是
- /// </summary>
- [XmlElement("WhetherSaveGridData")]
- public int WhetherSaveGridData { get; set; }
- /// <summary>
- /// 标注及测量信息是否嵌入图像-另存窗口 0否 1是
- /// </summary>
- [XmlElement("WhetherLabelMeasureInsert")]
- public int WhetherLabelMeasureInsert { get; set; }
- /// <summary>
- /// 相信息是否嵌入图像-另存窗口 0否 1是
- /// </summary>
- [XmlElement("PhaseInsert")]
- public int PhaseInsert { get; set; }
- /// <summary>
- /// 是否使用压缩比例-另存窗口 0否 1是
- /// </summary>
- [XmlElement("WhetherCompression")]
- public int WhetherCompression { get; set; }
- /// <summary>
- /// 压缩比例数值-另存窗口
- /// </summary>
- [XmlElement("CompressionRatio")]
- public decimal CompressionRatio { get; set; }
- /// <summary>
- /// 时间间隔-聚焦参数
- /// </summary>
- [XmlElement("TimeLag")]
- public int TimeLag { get; set; }
- /// <summary>
- /// 步长-聚焦参数
- /// </summary>
- [XmlElement("StepLength")]
- public int StepLength { get; set; }
- /// <summary>
- /// 项目工程里的项目编号的计数
- /// </summary>
- [XmlElement("ProjectCodeNum")]
- public int ProjectCodeNum { get; set; }
- /// <summary>
- /// 常规设置-网格信息-选中的网格样式名称
- /// </summary>
- [XmlElement("GridName")]
- public string GridName { get; set; }
- /// <summary>
- /// 标记点大小
- /// </summary>
- [XmlElement("MarkpointWidth")]
- public int MarkpointWidth { get; set; }
- /// <summary>
- /// 用户名
- /// </summary>
- [XmlElement("UserName")]
- public string UserName { get; set; }
- /// <summary>
- /// 密码
- /// </summary>
- [XmlElement("PassWord")]
- public string PassWord { get; set; }
- /// <summary>
- /// 設備編號
- /// </summary>
- [XmlElement("EquId")]
- public string EquId { get; set; }
- /// <summary>
- /// 组ID
- /// </summary>
- [XmlElement("GroupId")]
- public string GroupId { get; set; }
- /// <summary>
- /// FunId
- /// </summary>
- [XmlElement("FunId")]
- public string FunId { get; set; }
- /// <summary>
- /// FunId
- /// </summary>
- [XmlElement("FunId2")]
- public string FunId2 { get; set; }
- /// <summary>
- /// FunId
- /// </summary>
- [XmlElement("FunId3")]
- public string FunId3 { get; set; }
- /// <summary>
- /// FunId4
- /// </summary>
- [XmlElement("FunId4")]
- public string FunId4 { get; set; }
- /// <summary>
- /// FTPUserName
- /// </summary>
- [XmlElement("FTPUserName")]
- public string FTPUserName { get; set; }
- /// <summary>
- /// FTPPassword
- /// </summary>
- [XmlElement("FTPPassword")]
- public string FTPPassword { get; set; }
- /// <summary>
- /// FTPURL
- /// </summary>
- [XmlElement("FTPURL")]
- public string FTPURL { get; set; }
- /// <summary>
- /// FTPFilePath
- /// </summary>
- [XmlElement("FTPFilePath")]
- public string FTPFilePath { get; set; }
- /// <summary>
- /// FTPURL
- /// </summary>
- [XmlElement("decimalPlacesNum")]
- public int decimalPlacesNum { get; set; }
- /// <summary>
- /// 是否压缩
- /// </summary>
- [XmlElement("isCompression")]
- public bool isCompression { get; set; }
- /// <summary>
- /// 是否自动打开自动量测
- /// </summary>
- [XmlElement("autoOpenDialog")]
- public bool autoOpenDialog { get; set; }
- /// <summary>
- /// 是否上传
- /// </summary>
- [XmlElement("autoUpload")]
- public int autoUpload { get; set; }
- /// <summary>
- /// 是否上传
- /// </summary>
- [XmlElement("autoSPCUpload")]
- public int autoSPCUpload { get; set; }
- /// <summary>
- /// 是否下拉
- /// </summary>
- [XmlElement("autoDownload")]
- public bool autoDownload { get; set; }
- /// <summary>
- /// 孔铜位置 true 上 false xia1
- /// </summary>
- [XmlElement("autoPosition")]
- public bool autoPosition { get; set; }
- /// <summary>
- /// 接口密码
- /// </summary>
- [XmlElement("interfacePassWord")]
- public string interfacePassWord { get; set; }
- /// <summary>
- /// 辅助线线条样式
- /// </summary>
- [XmlElement("girdLineStyle")]
- public int girdLineStyle { get; set; }
- /// <summary>
- /// 辅助线颜色
- /// </summary>
- [XmlElement("girdLineColour")]
- public int girdLineColour { get; set; }
- /// <summary>
- /// 辅助线线宽
- /// </summary>
- [XmlElement("girdLineWidth")]
- public int girdLineWidth { get; set; }
- }
- }
|