12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Xml.Serialization;
- namespace PaintDotNet.Base.SettingModel
- {
- /// <summary>
- /// 晶粒度测量点样式
- /// </summary>
- [XmlRoot("ROOT")]
- public class GrainCutOffPointStyleModel
- {
- /// <summary>
- /// 0.5截点样式
- /// </summary>
- [XmlElement("CutOffPointStyle1")]
- public CutOffPointStyle CutOffPointStyle1 { get; set; }
- /// <summary>
- /// 1截点样式
- /// </summary>
- [XmlElement("CutOffPointStyle2")]
- public CutOffPointStyle CutOffPointStyle2 { get; set; }
- /// <summary>
- /// 1.5/2截点样式
- /// </summary>
- [XmlElement("CutOffPointStyle3")]
- public CutOffPointStyle CutOffPointStyle3 { get; set; }
- #region 测量点样式
- /// <summary>
- /// 测量点样式
- /// </summary>
- public class CutOffPointStyle
- {
- /// <summary>
- /// 颜色
- /// </summary>
- public int pointColor { get; set; }
- /// <summary>
- /// 线宽
- /// </summary>
- public int pointWidth { get; set; }
- /// <summary>
- /// 点样式 0:空心 1:实心
- /// </summary>
- public int pointStyle { get; set; }
- /// <summary>
- /// 大小
- /// </summary>
- public int pointDiameter { get; set; }
- /// <summary>
- /// 截点误差
- /// </summary>
- public int pointError { get; set; }
- /// <summary>
- /// 形状 0:圆形 1:方形
- /// </summary>
- public int pointshape { get; set; }
- }
- #endregion
- }
- }
|