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/Data/WellData_ReservesLayer.h

59 lines
1.5 KiB
C

1 month ago
#pragma once
/*
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*/
#include <vector>
#include <string>
#include "WellDataObj.h"
class AFX_EXT_CLASS CWellData_ReservesLayer : public CWellDataObj
{
public:
CWellData_ReservesLayer();
virtual ~CWellData_ReservesLayer();
public:
enum eColdId
{
layer,
topSecondSandstone,
bottomSecondSandstone,
topFirstSandstone,
bottomFirstSandstone,
pureEffectiveTopEstimate,
pureEffectiveThicknessEstimate,
electricLogInterpretation,
viewEffectiveTop,
viewEffectiveThickness,
facies,
subfacies,
colLen
};
static CString s_tableID;
static COLINFO s_ColNames[];
virtual BOOL SetDataJson(CString& strJson);
virtual void GetDataJson(CString& strJson);
virtual void WritePCG(CFile &fw, int nBaseTabNum);
virtual int ReadPCG(CKXmlParse& xp, const short &ver);
virtual void Serialize(CArchive& ar);
virtual void SetTopBottom(double top, double bottom, VARINTARR* pRow);
BOOL GetTopBottom(CString colId , double& top, double& bottom, VARINTARR* pRow);
virtual void SetTopBottom(CString colId, double top, double bottom, VARINTARR* pRow);
// virtual VARINTARR* GetNewRow();
public:
virtual void GetStringDatas(StringVectorSet &dataContent , std::vector<CString>& fields) ;
virtual void SetModifyStringDatas(StringVectorSet &dataContent ,std::vector<CString>& fields);
static void SetColTBToRow(CString colId, double top, double bottom, VARINTARR* pRow);
virtual BOOL IsSameTopBottom(CString strCol1, CString strCol2);
protected:
virtual VARINTARR* GetSelfNewRow();
};