| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- /**************************************************************************************************
- 版本所有(C), 2020-2022, 北京普达迪泰
- ***************************************************************************************************
- 文 件 名: EquipDataCylinder.h
- 功能描述: 实体类-圆柱
- 版 本 号: 1.00初版
- 作 者: HYF
- 生成日期; 2021-12-20
- 最近修改:
- 函数列表:
- 修改历史:
- 1.日 期 :2021-12-20
- 作 者 : HYF
- 修改内容 : 创建文件
- **************************************************************************************************/
- #pragma once
- #include <afx.h>
- class EquipDataCylinder : public CObject
- {
- public:
- EquipDataCylinder();
- virtual ~EquipDataCylinder();
- // 任务ID
- DWORD m_iTaskId;
- // 设备编号
- CString m_szEquipCode;
- // 项目ID
- DWORD m_iItemId;
-
- // 子项目ID
- DWORD m_iSubItemId;
- // 标题
- CString m_szCylinderTitle;
- // 编码
- CString m_szCylinderCode;
- // 终点1
- DOUBLE m_fPoint1X;
- DOUBLE m_fPoint1Y;
- DOUBLE m_fPoint1Z;
- // 终点2
- DOUBLE m_fPoint2X;
- DOUBLE m_fPoint2Y;
- DOUBLE m_fPoint2Z;
- // 长度
- DOUBLE m_fCylinderLength;
- // 半径
- DOUBLE m_fCylinderRadius;
- // 描述
- CString m_szCylinderDesc;
- public:
- // TaskID
- void SetTaskId(DWORD iTaskId) { m_iTaskId = iTaskId; }
- DWORD GetTaskId() const { return m_iTaskId; }
- // 设备编号
- void SetEquipCode(LPCTSTR szEquipCode) { m_szEquipCode = szEquipCode; }
- CString GetEquipCode() const { return m_szEquipCode; }
- // 项目ID
- void SetItemId(int iItemId) { m_iItemId = iItemId; }
- DWORD GetItemId() const { return m_iItemId; }
- // 子项目ID
- void SetSubItemId(int iSubItemId) { m_iSubItemId = iSubItemId; }
- DWORD GetSubItemId() const { return m_iSubItemId; }
- // 标题
- void SetCylinderTitle(LPCTSTR szCylinderTitle) { m_szCylinderTitle = szCylinderTitle; }
- CString GetCylinderTitle() const { return m_szCylinderTitle; }
- // 编码
- void SetCylinderCode(LPCTSTR szCylinderCode) { m_szCylinderCode = szCylinderCode; }
- CString GetCylinderCode() const { return m_szCylinderCode; }
- // 终点1
- void SetPoint1X(DOUBLE fPoint1X) { m_fPoint1X = fPoint1X; }
- DOUBLE GetPoint1X() const { return m_fPoint1X; }
- void SetPoint1Y(DOUBLE fPoint1Y) { m_fPoint1Y = fPoint1Y; }
- DOUBLE GetPoint1Y() const { return m_fPoint1Y; }
- void SetPoint1Z(DOUBLE fPoint1Z) { m_fPoint1Z = fPoint1Z; }
- DOUBLE GetPoint1Z() const { return m_fPoint1Z; }
- // 终点2
- void SetPoint2X(DOUBLE fPoint2X) { m_fPoint2X = fPoint2X; }
- DOUBLE GetPoint2X() const { return m_fPoint2X; }
- void SetPoint2Y(DOUBLE fPoint2Y) { m_fPoint2Y = fPoint2Y; }
- DOUBLE GetPoint2Y() const { return m_fPoint2Y; }
- void SetPoint2Z(DOUBLE fPoint2Z) { m_fPoint2Z = fPoint2Z; }
- DOUBLE GetPoint2Z() const { return m_fPoint2Z; }
- // 半径
- void SetCylinderRadius(DOUBLE fCylinderRadius) { m_fCylinderRadius = fCylinderRadius; }
- DOUBLE GetCylinderRadius() const { return m_fCylinderRadius; }
- // Length
- void SetCylinderLength(DOUBLE fCylinderLength) { m_fCylinderLength = fCylinderLength; }
- DOUBLE GetCylinderLength() const { return m_fCylinderLength; }
- // 描述
- void SetCylinderDesc(LPCTSTR szCylinderDesc) { m_szCylinderDesc = szCylinderDesc; }
- CString GetCylinderDesc() const { return m_szCylinderDesc; }
- };
|