/************************************************************************************** 文 件 名:TrackInCoring.h 主要功能: 道内取芯符号类 主要函数列表: **************************************************************************************/ #ifndef TRACKINCORING_H #define TRACKINCORING_H #pragma once //取芯符号对象 class AFX_EXT_CLASS CInTrackCoring : public CInTrackTextBase { public: CInTrackCoring(); CInTrackCoring(const CRect8& position); CString m_strLayerName; //层名 int m_nCoringTimes; //取芯次数 double m_CoringLength; //取芯长度 double m_CoringPercent; //收获率 CString m_strName; // Implementation public: virtual void Draw(CXyDC* pDC); virtual void Serialize(CArchive& ar, const short &ver); void SetName(CString name) { m_strName = name; } protected: //绘制斜井道中符号 void DrawInclined(CXyDC* pDC); void DrawRect(CXyDC *pDC, CRect8 showRect); void Init(); public: virtual int ReadPCG_SelfData(CKXmlParse& xp, const short& ver, CTrackObj* pTrack); virtual void WritePCG_SelfData(CFile &fw, int nBaseTabNum); }; #endif