#ifndef _LIGHTNINGRODDATA_H__ #define _LIGHTNINGRODDATA_H__ #if _MSC_VER > 1000 #pragma once #endif class TGLightningRodData { public: TGLightningRodData(); virtual ~TGLightningRodData(); public: double GetGroundRadius() const; double GetHeight() const; int GetNumber() const; int GetGroupNO() const; void GetInsertPoint(AcGePoint3d& ptInsert) const; void GetObjectID(AcDbObjectId& id) const; void SetGroundRadius(double dRadius); void SetHeight(double dHeight); void SetNumber(int nNumber); void SetInsertPoint(AcGePoint3d ptInsert); void SetObjectID(AcDbObjectId id); void SetGroupNO(int nNO); public: AcGeDoubleArray m_arProtecedHeight; //房屋保护高度 private: int m_nNumber; //避雷针编号 int m_nGroupNO; //避雷针账属组号 double m_dGroundRadius; //滚球半径 double m_dHeight; //避雷针高度 AcGePoint3d m_ptInsert; //插入避雷针的位置 AcDbObjectId m_id; }; #endif // !defined(AFX_LIGHTNINGRODDATA_H__D610574C_ED05_4CAB_A056_9B9DE2ED2D88__INCLUDED_)