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.

70 lines
2.7 KiB
C

1 month ago
#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"
#include "MultiWellSectionLib/FaultObj.h"
#include "MultiWellSectionLib\BendObj.h"
#include "MultiWellSectionLib/SectionWellObj.h"
#include "MultiWellSectionLib\WellSection.h"
#include "SigmaView.h"
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD>ݵĽӿ<C4BD><D3BF><EFBFBD>
class CWellObjectAttributesXml
{
public:
CWellObjectAttributesXml();
public:
static BOOL GetWellObjectAttributes(ULONGLONG objHandle, int type, int ttype, CString& strXml);
static BOOL SetWellObjectAttributes(CSigmaView* pView,ULONGLONG objHandle, int type, int ttype, CString& strXml);
protected:
static BOOL GetWellAttributes(CWellPole* pWell, CString& strXml);
static BOOL SetWellAttributes(CSigmaView* pView, CWellPole* pWell, CString& strXml);
static BOOL GetInTrackDataAttributes(CWellBaseObj* pDataBase, int inTrackType, CString& strXml);
static BOOL SetInTrackDataAttributes(CSigmaView* pView, CWellBaseObj* pDataBase, int inTrackType, CString& strXml);
static BOOL GetGroupTrackAttributes(CTrackGroup* pTrack, CString& strXml);
static BOOL SetGroupTrackAttributes(CSigmaView* pView, CTrackGroup* pTrack, CString& strXml);
static BOOL GetTrackAttributes(CTrackObj* pTrack, CString& strXml);
static BOOL SetTrackAttributes(CSigmaView* pView, CTrackObj* pTrack, CString& strXml);
static BOOL GetSectionBendAttributes(CBendObj* pBend,CString& strXml);
static BOOL SetSectionBendAttributes(CSigmaView* pView, CBendObj* pBend, CString& strXml);
static BOOL GetSectionFaultAttributes(CFaultObj* pFault, CString& strXml);
static BOOL SetSectionFaultAttributes(CSigmaView* pView, CFaultObj* pFault, CString& strXml);
static BOOL GetWellSectionAttributes(CWellSection* pSecton, CString& strXml);
static BOOL SetWellSectionAttributes(CSigmaView* pView, CWellSection* pSecton, CString& strXml);
static void SaveUndoRedoAction(CSigmaView* pView);
};