You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**************************************************************************************
文 件 名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