ArbitrationLawCutOffPointModel.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 ArbitrationLawCutOffPointModel
  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. #region 测量点样式
  26. /// <summary>
  27. /// 测量点样式
  28. /// </summary>
  29. public class CutOffPointStyle
  30. {
  31. /// <summary>
  32. /// 颜色
  33. /// </summary>
  34. public int pointColor { get; set; }
  35. /// <summary>
  36. /// 线宽
  37. /// </summary>
  38. public int pointWidth { get; set; }
  39. /// <summary>
  40. /// 点样式 0:空心 1:实心
  41. /// </summary>
  42. public int pointStyle { get; set; }
  43. /// <summary>
  44. /// 大小
  45. /// </summary>
  46. public int pointDiameter { get; set; }
  47. /// <summary>
  48. /// 截点误差
  49. /// </summary>
  50. public int pointError { get; set; }
  51. /// <summary>
  52. /// 形状 0:圆形 1:方形
  53. /// </summary>
  54. public int pointshape { get; set; }
  55. }
  56. #endregion
  57. }
  58. }