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.
kev/Drawer/SSBase/WellPoleLib/InTrackLayerGroup.h

59 lines
1.6 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.

/**************************************************************************************
主要功能:
地层道、砂层组、油层组等道的道内对象。在多井剖面中用来连接地层。
Track_SandLayer || Track_OilLayerGroup || Track_ProduceLayer || Track_ReserveUnit || Track_Stratum)
**************************************************************************************/
#ifndef INTRACKLAYERGROUP_H
#define INTRACKLAYERGROUP_H
#include "InTrackTextBase.h"
#include "InTrackTextRange.h"
#pragma once
class AFX_EXT_CLASS CInTrackLayerGroup: public CInTrackTextRange
{
public:
CInTrackLayerGroup();
CInTrackLayerGroup(const CRect8& position);
~CInTrackLayerGroup();
protected:
void Init();
DWORD m_nTrackInLayerGroupFlags; // 开关状态
enum TrackInLayerGroupFlags
{
TrackInLayerGroupTopUnComformity = 0x0001, //顶部整合
TrackInLayerGroupBottomUnDrill = 0x0002, //底部钻穿
};
GDFLOGPENEXT m_penTop;
public:
virtual void Serialize(CArchive& ar, const short &ver);
//开关变量
virtual void SetTopUnComformity(BOOL bflag);
virtual void SetBottomUnDrill(BOOL bflag);
virtual BOOL IsTopUnConformity();
virtual BOOL IsBottomUnDrill();
public:
CString m_strLayerText; //文本内容
int m_nAlign; //水平位置
protected:
//绘制斜井深度段
virtual void DrawRect(CXyDC *pDC ,CRect8 trect);
void DrawInclined(CXyDC* pDC);
virtual void DrawBorderLine(CXyDC* pDC ,CRect8 rect);
public:
virtual int ReadPCG_SelfData(CKXmlParse& xp, const short& ver, CTrackObj* pTrack);
virtual void WritePCG_SelfData(CFile &fw, int nBaseTabNum);
ETrackType m_tParentTrackType; //读写pcg时的临时父对象类型
};
#endif