GrainCutOffPointStyleModel.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Xml.Serialization;
  7. namespace PaintDotNet.Base.SettingModel
  8. {
  9. /// <summary>
  10. /// 晶粒度测量点样式
  11. /// </summary>
  12. [XmlRoot("ROOT")]
  13. public class GrainCutOffPointStyleModel
  14. {
  15. /// <summary>
  16. /// 0.5截点样式
  17. /// </summary>
  18. [XmlElement("CutOffPointStyle1")]
  19. public CutOffPointStyle CutOffPointStyle1 { get; set; }
  20. /// <summary>
  21. /// 1截点样式
  22. /// </summary>
  23. [XmlElement("CutOffPointStyle2")]
  24. public CutOffPointStyle CutOffPointStyle2 { get; set; }
  25. /// <summary>
  26. /// 1.5/2截点样式
  27. /// </summary>
  28. [XmlElement("CutOffPointStyle3")]
  29. public CutOffPointStyle CutOffPointStyle3 { get; set; }
  30. #region 测量点样式
  31. /// <summary>
  32. /// 测量点样式
  33. /// </summary>
  34. public class CutOffPointStyle
  35. {
  36. /// <summary>
  37. /// 颜色
  38. /// </summary>
  39. public int pointColor { get; set; }
  40. /// <summary>
  41. /// 线宽
  42. /// </summary>
  43. public int pointWidth { get; set; }
  44. /// <summary>
  45. /// 点样式 0:空心 1:实心
  46. /// </summary>
  47. public int pointStyle { get; set; }
  48. /// <summary>
  49. /// 大小
  50. /// </summary>
  51. public int pointDiameter { get; set; }
  52. /// <summary>
  53. /// 截点误差
  54. /// </summary>
  55. public int pointError { get; set; }
  56. /// <summary>
  57. /// 形状 0:圆形 1:方形
  58. /// </summary>
  59. public int pointshape { get; set; }
  60. }
  61. #endregion
  62. }
  63. }