12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- using System.Xml.Serialization;
- namespace SmartCoalApplication.Base.SettingModel
- {
- /// <summary>
- /// 设置 - 网格设置
- /// </summary>
- [XmlRoot("ROOT")]
- public class GridModel
- {
- [XmlElement("GridName")]
- public string gridName { get; set; }
- [XmlElement("Grid")]
- public Grid grid { get; set; }
- [XmlElement("Rectangle")]
- public Rectangle rectangle { get; set; }
- [XmlElement("Round")]
- public Round round { get; set; }
- /// <summary>
- /// 网格设置
- /// </summary>
- public class Grid
- {
- /// <summary>
- /// 网格边长
- /// </summary>
- public int SideLength { get; set; }
- /// <summary>
- /// 水平网格数量
- /// </summary>
- public int HorizontalNum { get; set; }
- /// <summary>
- /// 垂直网格数量
- /// </summary>
- public int VerticalNum { get; set; }
- /// <summary>
- /// 线形
- /// </summary>
- public int DashStyle { get; set; }
- /// <summary>
- /// 粗细
- /// </summary>
- public int Thickness { get; set; }
- /// <summary>
- /// 颜色值
- /// </summary>
- public int Color { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- public int Unit { get; set; }
- /// <summary>
- /// 实际单位长度
- /// </summary>
- public int ActualLength { get; set; }
- }
- /// <summary>
- /// 矩形设置
- /// </summary>
- public class Rectangle
- {
- /// <summary>
- /// 线形
- /// </summary>
- public int DashStyle { get; set; }
- /// <summary>
- /// 粗细
- /// </summary>
- public int Thickness { get; set; }
- /// <summary>
- /// 颜色值
- /// </summary>
- public int Color { get; set; }
- }
- public class Round
- {
- /// <summary>
- /// 线形
- /// </summary>
- public int DashStyle { get; set; }
- /// <summary>
- /// 粗细
- /// </summary>
- public int Thickness { get; set; }
- /// <summary>
- /// 颜色值
- /// </summary>
- public int Color { get; set; }
- }
- }
- }
|