PostureDataPoint.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /**************************************************************************************************
  2. 版本所有(C), 2020-2022, 北京普达迪泰
  3. ***************************************************************************************************
  4. 文 件 名: PostureDataPoint.h
  5. 功能描述: 实体类-位姿点
  6. 版 本 号: 1.00初版
  7. 作 者: HYF
  8. 生成日期; 2021-12-20
  9. 最近修改:
  10. 函数列表:
  11. 修改历史:
  12. 1.日 期 :2021-12-20
  13. 作 者 : HYF
  14. 修改内容 : 创建文件
  15. **************************************************************************************************/
  16. #pragma once
  17. #include <afx.h>
  18. class PostureDataPoint : public CObject
  19. {
  20. public:
  21. PostureDataPoint();
  22. virtual ~PostureDataPoint();
  23. private:
  24. // 任务ID
  25. DWORD m_iTaskId;
  26. // 设备编号
  27. CString m_szEquipCode;
  28. // 设备部位
  29. CString m_szEquipPlace;
  30. // 点ID
  31. DWORD m_iPointId;
  32. // 标题
  33. CString m_szPointTitle;
  34. // 编码
  35. CString m_szPointCode;
  36. // 理论值
  37. DOUBLE m_fPointEX;
  38. DOUBLE m_fPointEY;
  39. DOUBLE m_fPointEZ;
  40. // 实际值
  41. DOUBLE m_fPointAX;
  42. DOUBLE m_fPointAY;
  43. DOUBLE m_fPointAZ;
  44. // 描述
  45. CString m_szPointDesc;
  46. public:
  47. // 任务ID
  48. void SetTaskId(DWORD iTaskId) { m_iTaskId = iTaskId; }
  49. DWORD GetTaskId() const { return m_iTaskId; }
  50. // 设备编号
  51. void SetEquipCode(LPCTSTR szEquipCode) { m_szEquipCode = szEquipCode; }
  52. CString GetEquipCode() const { return m_szEquipCode; }
  53. // 设备部位
  54. void SetEquipPlace(LPCTSTR szEquipPlace) { m_szEquipPlace = szEquipPlace; }
  55. CString GetEquipPlace() const { return m_szEquipPlace; }
  56. // 点ID
  57. void SetPointId(DWORD iPointId) { m_iPointId = iPointId; }
  58. DWORD GetPointId() const { return m_iPointId; }
  59. // 标题
  60. void SetPointTitle(LPCTSTR szPointTitle) { m_szPointTitle = szPointTitle; }
  61. CString GetPointTitle() const { return m_szPointTitle; }
  62. // 编码
  63. void SetPointCode(LPCTSTR szPointCode) { m_szPointCode = szPointCode; }
  64. CString GetPointCode() const { return m_szPointCode; }
  65. // 理论值
  66. void SetPointEX(DOUBLE fPointEX) { m_fPointEX = fPointEX; }
  67. DOUBLE GetPointEX() const { return m_fPointEX; }
  68. void SetPointEY(DOUBLE fPointEY) { m_fPointEY = fPointEY; }
  69. DOUBLE GetPointEY() const { return m_fPointEY; }
  70. void SetPointEZ(DOUBLE fPointEZ) { m_fPointEZ = fPointEZ; }
  71. DOUBLE GetPointEZ() const { return m_fPointEZ; }
  72. // 实际值
  73. void SetPointAX(DOUBLE fPointAX) { m_fPointAX = fPointAX; }
  74. DOUBLE GetPointAX() const { return m_fPointAX; }
  75. void SetPointAY(DOUBLE fPointAY) { m_fPointAY = fPointAY; }
  76. DOUBLE GetPointAY() const { return m_fPointAY; }
  77. void SetPointAZ(DOUBLE fPointAZ) { m_fPointAZ = fPointAZ; }
  78. DOUBLE GetPointAZ() const { return m_fPointAZ; }
  79. // 描述
  80. void SetPointDesc(LPCTSTR szPointDesc) { m_szPointDesc = szPointDesc; }
  81. CString GetPointDesc() const { return m_szPointDesc; }
  82. };