#pragma once /* ´¢²ãÊý¾Ý */ #include #include #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& fields) ; virtual void SetModifyStringDatas(StringVectorSet &dataContent ,std::vector& fields); static void SetColTBToRow(CString colId, double top, double bottom, VARINTARR* pRow); virtual BOOL IsSameTopBottom(CString strCol1, CString strCol2); protected: virtual VARINTARR* GetSelfNewRow(); };