MeasureRelationModel.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using PaintDotNet.Annotation.Enum;
  7. namespace PaintDotNet.Annotation.relationModel
  8. {
  9. public class MeasureRelationModel
  10. {
  11. /// <summary>
  12. /// 编号
  13. /// </summary>
  14. public int id { get; set; }
  15. /// <summary>
  16. /// 一级测量的名称(长度测量、多点线段、曲线长度、点垂线、平行线测量、多边形测量、圆形测量、角度测量)
  17. /// </summary>
  18. public string name { get; set; }
  19. public List<ChildLabel> childLabel;
  20. public class ChildLabel
  21. {
  22. /// <summary>
  23. /// 二级测量的名称
  24. /// </summary>
  25. public string name { get; set; }
  26. /// <summary>
  27. /// 二级测量对应的枚举
  28. /// </summary>
  29. public DrawToolType drawToolType { get; set; }
  30. /// <summary>
  31. /// 二级测量对应的设置的内部类的类型
  32. /// </summary>
  33. public Type type { get; set; }
  34. }
  35. }
  36. }