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.

60 lines
1.9 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.

/**************************************************************************************
文 件 名TracSandstone.h
主要功能:
砂岩道
显示 储层表中的 各种砂岩厚度,一类,二类,有效等 设置m_dataSourceID及m_dataColID关联储层表及字段
主要函数列表:
修改历史记录:
**************************************************************************************/
#ifndef TRACKSANDSTONE_H
#define TRACKSANDSTONE_H
#pragma once
class AFX_EXT_CLASS CTrackSandstone : public CInclinedTrack
{
public:
CTrackSandstone();
CTrackSandstone(const CRect8& position);
~CTrackSandstone();
CLONE_WELLOBJECT(CTrackSandstone)
virtual void operator=(CTrackSandstone& object);
public:
virtual void ResetChildProperties();
////从工区导入数据时创建道内子对象
void BuidChildObject(vector<CString> &fields, StringVectorSet &datas, BOOL bInit=FALSE);
//// 获取道内对象的具体内容
void GetChildDatas(StringVectorSet &dataContent, BOOL bHaveWellName = TRUE);
public:
//virtual void Draw(CXyDC* pDC);
// PCG格式的读写
//读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_Data(CKXmlParse& xp, const short& ver);
public:
virtual void GetChildDatas(CString& jsonStr);
virtual BOOL SetChildDatas(CString& jsonStr);
virtual int ReadPCG_Self(CKXmlParse& xp, const short& ver);
virtual void SetDataRefID(CString tableId, CString colId);
// virtual void RemoveChild(CWellBaseObj*);
//virtual void NotfiyDeleteInTrackObj(CString tableId, CString ChangColId, CWellBaseObj* pDelObj);
virtual void InTrackObjBindDataRow(BOOL bSerialize);
//virtual void AddChild(CWellBaseObj* pNewObj);
virtual void NotifyInTrackObjChangeTopBottom(CString ChangColId,VARINTARR *RowData, double top, double bottom);
};
#endif