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.
63 lines
2.0 KiB
C++
63 lines
2.0 KiB
C++
/************************
|
|
产液剖面道类
|
|
******************/
|
|
#ifndef TRACKFLUIDPRODUCTINGPROFILE_H
|
|
#define TRACKFLUIDPRODUCTINGPROFILE_H
|
|
#pragma once
|
|
|
|
class AFX_EXT_CLASS CTrackFluidProducingProfile : public CInclinedTrack
|
|
{
|
|
|
|
public:
|
|
CTrackFluidProducingProfile();
|
|
CTrackFluidProducingProfile(const CRect8& position);
|
|
~CTrackFluidProducingProfile();
|
|
CLONE_WELLOBJECT(CTrackFluidProducingProfile)
|
|
virtual void operator=(CTrackFluidProducingProfile& object);
|
|
|
|
protected:
|
|
//画道头
|
|
virtual void DrawTrackHead(CXyDC *pDC, CRect8 headrect);
|
|
|
|
public:
|
|
virtual void Serialize(CArchive& ar, const short &ver);
|
|
//画道头线
|
|
virtual void DrawTrackHeadLine(CXyDC* pDC, BOOL bFirst=FALSE);
|
|
|
|
void BuidChildObject(vector<CString> &fields, StringVectorSet &datas, BOOL bInit=FALSE);
|
|
|
|
void GetChildDatas(StringVectorSet &dataContent);
|
|
|
|
virtual void CalcBorders();
|
|
public:
|
|
//重设符号的属性
|
|
virtual void ResetChildProperties();
|
|
// PCG格式的读写
|
|
//读pcg格式的数据
|
|
virtual int ReadPCG_Data(CFile &fr,const short& ver);
|
|
//读pcg格式的道
|
|
virtual int ReadPCG_Self(CFile &fr,CXmlParse& xp,const short& ver );
|
|
//写pcg格式的道
|
|
virtual void WritePCG_Trace(CFile &fw,int nBaseTabNum);
|
|
//写pcg格式的道内数据
|
|
virtual void WritePCG_Data(CFile &fw,int nBaseTabNum);
|
|
|
|
public:
|
|
virtual int ReadPCG_Data(CKXmlParse& xp, const short& ver);
|
|
virtual int ReadPCG_Self(CKXmlParse& xp, const short& ver);
|
|
public:
|
|
CString m_ChildTitleNameOne; //第一子道头的内容
|
|
CString m_ChildTitleNameTwo; //第二子道头的内容
|
|
CString m_ChildTitleNameThree; //第三子道头的内容
|
|
CString m_ChildTitleNameFour; //第四子道头的内容
|
|
CString m_ChildTitleNameFive; //第五子道头的内容
|
|
double m_headdoundaryH; //道头水平分界线
|
|
double m_headdoundaryV_O; //道头竖直分界线1位置
|
|
double m_headdoundaryV_T; //道头竖直分界线2位置
|
|
double m_headdoundaryV_Th; //道头竖直分界线3位置
|
|
double m_headdoundaryV_F; //道头竖直分界线4位置
|
|
public:
|
|
|
|
};
|
|
|
|
#endif |