| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- /**************************************************************************************************
- 版本所有(C), 2020-2022, 北京普达迪泰
- ***************************************************************************************************
- 文 件 名: EquipDataPoint.h
- 功能描述: 实体类-Point
- 版 本 号: 1.00初版
- 作 者: HYF
- 生成日期; 2021-12-20
- 最近修改:
- 函数列表:
- 修改历史:
- 1.日 期 :2021-12-20
- 作 者 : HYF
- 修改内容 : 创建文件
- **************************************************************************************************/
- #pragma once
- #include <afx.h>
- class EquipDataPoint : public CObject
- {
- public:
- EquipDataPoint();
- virtual ~EquipDataPoint();
- private:
- // 任务ID
- DWORD m_iTaskId;
- // 设备编号
- CString m_szEquipCode;
- // 项目ID
- DWORD m_iItemId;
-
- // 子项目ID
- DWORD m_iSubItemId;
- // 标题
- CString m_szPointTitle;
- // 编码
- CString m_szPointCode;
- // 理论值
- DOUBLE m_fPointEX;
- DOUBLE m_fPointEY;
- DOUBLE m_fPointEZ;
- // 实际值
- DOUBLE m_fPointAX;
- DOUBLE m_fPointAY;
- DOUBLE m_fPointAZ;
- // 总量
- DOUBLE m_fPointTotal;
- // 描述
- CString m_szPointDesc;
- 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 SetPointTitle(LPCTSTR szPointTitle) { m_szPointTitle = szPointTitle; }
- CString GetPointTitle() const { return m_szPointTitle; }
- // 编码
- void SetPointCode(LPCTSTR szPointCode) { m_szPointCode = szPointCode; }
- CString GetPointCode() const { return m_szPointCode; }
- // 理论值
- void SetPointEX(DOUBLE fPointEX) { m_fPointEX = fPointEX; }
- DOUBLE GetPointEX() const { return m_fPointEX; }
- void SetPointEY(DOUBLE fPointEY) { m_fPointEY = fPointEY; }
- DOUBLE GetPointEY() const { return m_fPointEY; }
- void SetPointEZ(DOUBLE fPointEZ) { m_fPointEZ = fPointEZ; }
- DOUBLE GetPointEZ() const { return m_fPointEZ; }
- // 实际值
- void SetPointAX(DOUBLE fPointAX) { m_fPointAX = fPointAX; }
- DOUBLE GetPointAX() const { return m_fPointAX; }
- void SetPointAY(DOUBLE fPointAY) { m_fPointAY = fPointAY; }
- DOUBLE GetPointAY() const { return m_fPointAY; }
- void SetPointAZ(DOUBLE fPointAZ) { m_fPointAZ = fPointAZ; }
- DOUBLE GetPointAZ() const { return m_fPointAZ; }
- // 总量
- void SetPointTotal(DOUBLE fPointTotal) { m_fPointTotal = fPointTotal; }
- DOUBLE GetPointTotal() const { return m_fPointTotal; }
- // 描述
- void SetPointDesc(LPCTSTR szPointDesc) { m_szPointDesc = szPointDesc; }
- CString GetPointDesc() const { return m_szPointDesc; }
- protected:
- DECLARE_SERIAL(EquipDataPoint)
- };
|