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.
61 lines
2.4 KiB
C++
61 lines
2.4 KiB
C++
#pragma once
|
|
|
|
#include "WellPoleLib/WellBaseObj.h"
|
|
#include "WellPoleLib/WellClassObjGroup.h"
|
|
#include "WellPoleLib/InTrackDepthSegment.h"
|
|
#include "WellPoleLib/InTrackTextBase.h"
|
|
|
|
#include "WellPoleLib\InTrackTextRange.h"
|
|
#include "WellPoleLib\InTrackPicture.h"
|
|
#include "WellPoleLib\InTrackLith.h"
|
|
#include "WellPoleLib\InTrackResult.h"
|
|
#include "WellPoleLib\InTrackSymbol.h"
|
|
|
|
#include "WellPoleLib/InclinedTrack.h"
|
|
#include "WellPoleLib\TrackObj.h"
|
|
#include "WellPoleLib\TrackDepth.h"
|
|
#include "WellPoleLib\TrackGroup.h"
|
|
#include "WellPoleLib\TrackCurveBase.h"
|
|
#include "WellPoleLib\TrackSample.h"
|
|
#include "WellPoleLib\TrackSymbol.h"
|
|
#include "WellPoleLib\TrackLith.h"
|
|
#include "WellPoleLib\TrackResult.h"
|
|
#include "WellPoleLib/TrackDiscrete.h"
|
|
#include "WellPoleLib/TrackCurve.h"
|
|
#include "WellPoleLib/WellPole.h"
|
|
#include "WellPoleLib/InclinedWellPole.h"
|
|
#include "WellPoleLib/WellObjExtendInfo.h"
|
|
#include "WellPoleLib/TrackText.h"
|
|
|
|
//读取井及其内部数据的接口类 (本类方法中使用了GB2312_To_UTF8()函数有内存泄露,如果使用的化需要重新整理)
|
|
class CWellObjectAttributesJson
|
|
{
|
|
public:
|
|
CWellObjectAttributesJson();
|
|
public:
|
|
static BOOL GetWellObjectAttributesJson(ULONGLONG objHandle, int type, int ttype, CString& strJson);
|
|
static BOOL SetWellObjectAttributesJson(ULONGLONG objHandle, int type, int ttype, CString& strJson);
|
|
|
|
protected:
|
|
static BOOL GetWellObjectAttributes(CWellPole* pWell, CString& strJson);
|
|
static BOOL SetWellObjectAttributes(CWellPole* pWell, CString& strJson);
|
|
|
|
//static BOOL GetWellTrackAttributes(CTrackObj* pTrack, int trackType, CString& strJson);
|
|
//static BOOL SetWellTrackAttributes(CTrackObj* pTrack, int trackType,CString& strJson);
|
|
|
|
static BOOL GetInTrackDataAttributes(CWellBaseObj* pDataBase, int inTrackType, CString& strJson);
|
|
static BOOL SetInTrackDataAttributes(CWellBaseObj* pDataBase, int inTrackType, CString& strJson);
|
|
|
|
static BOOL GetDepthTrackAttributes(CTrackDepth* pTrack, CString& strJson);
|
|
static BOOL SetDepthTrackAttributes(CTrackDepth* pTrack, CString& strJson);
|
|
|
|
static BOOL GetTextTrackAttributes(CTrackText* pTrack, CString& strJson);
|
|
static BOOL SetTextTrackAttributes(CTrackText* pTrack, CString& strJson);
|
|
|
|
static BOOL GetLithologyTrackAttributes(CTrackLith* pTrack, CString& strJson);
|
|
static BOOL SetLithologyTrackAttributes(CTrackLith* pTrack, CString& strJson);
|
|
|
|
static BOOL GetCurveTrackAttributes(CTrackCurve* pTrack, CString& strJson);
|
|
static BOOL SetCurveTrackAttributes(CTrackCurve* pTrack, CString& strJson);
|
|
};
|