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.
64 lines
1.8 KiB
C++
64 lines
1.8 KiB
C++
#ifndef TRACKCOREPOSITIONOBJ_H
|
|
#define TRACKCOREPOSITIONOBJ_H
|
|
#pragma once
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
//主要功能:
|
|
// 取心数据道类
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
class AFX_EXT_CLASS CTrackCorePosition : public CInclinedTrack
|
|
{
|
|
protected:
|
|
//DECLARE_SERIAL(CTrackCorePosition);
|
|
void Init();
|
|
public:
|
|
CTrackCorePosition();
|
|
CTrackCorePosition(const CRect8& position);
|
|
~CTrackCorePosition();
|
|
CLONE_WELLOBJECT(CTrackCorePosition)
|
|
virtual void operator=(CTrackCorePosition& object);
|
|
|
|
protected:
|
|
|
|
DWORD m_nTrackCorePosFlags;//取心位置道状态
|
|
|
|
//enum TrackBuryFlags
|
|
//{
|
|
// TrackCorePosFlagDepth = 0x0001, //显示深度值
|
|
// TrackCorePosFlagLength = 0x0002, //显示长度值
|
|
// TrackCorePosFlagPercent = 0x0004 //显示百分比
|
|
//};
|
|
// Implementation
|
|
public:
|
|
virtual void AddObjChild(); //创建取心位置符号
|
|
virtual void ResetChildProperties();//重设取心位置符号的属性
|
|
virtual void Serialize(CArchive& ar, const short &ver);
|
|
//virtual void CalcBorders();
|
|
|
|
//开关变量值
|
|
|
|
//////从工区导入数据时创建道内子对象
|
|
void BuidChildObject(vector<CString> &fields, StringVectorSet &datas, BOOL bInit=FALSE);
|
|
//////获取道内对象的具体内容
|
|
void GetChildDatas(StringVectorSet &dataContent , BOOL bHaveWellName = TRUE);
|
|
|
|
//读pcg格式的道
|
|
virtual int ReadPCG_Self(CFile &fr,CXmlParse& xp,const short& ver );
|
|
//读pcg格式的数据
|
|
virtual int ReadPCG_Data(CFile &fr,const short& ver);
|
|
//写pcg格式的道
|
|
virtual void WritePCG_Trace(CFile &fw,int nBaseTabNum);
|
|
//写pcg格式的道内数据
|
|
virtual void WritePCG_Data(CFile &fw,int nBaseTabNum);
|
|
|
|
|
|
virtual int ReadPCG_Self(CKXmlParse& xp, const short& ver);
|
|
//读pcg格式的数据
|
|
virtual int ReadPCG_Data(CKXmlParse& xp, const short& ver);
|
|
|
|
virtual void GetChildDatas(CString& jsonStr);
|
|
virtual BOOL SetChildDatas(CString& jsonStr);
|
|
};
|
|
|
|
#endif |