CameraRelationModel.cs 1023 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using PaintDotNet.Annotation.Enum;
  2. using PaintDotNet.Base.SettingModel;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace PaintDotNet.Annotation.relationModel
  9. {
  10. /// <summary>
  11. /// 描述一级标注和二级标注的关系
  12. /// </summary>
  13. public class CameraRelationModel
  14. {
  15. public CameraRelationModel() {
  16. }
  17. public CameraRelationModel(int id , string name , CameraParamType cpt)
  18. {
  19. this.id = id;
  20. this.name = name;
  21. this.cameraParamType = cpt;
  22. }
  23. /// <summary>
  24. /// 编号
  25. /// </summary>
  26. public int id;
  27. /// <summary>
  28. /// 一级标注的名称(文本、标记、直线、曲线、箭头、圆、多边形)
  29. /// </summary>
  30. public string name;
  31. /// 二级标注对应的枚举
  32. /// </summary>
  33. public CameraParamType cameraParamType;
  34. }
  35. }