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.

45 lines
1.3 KiB
C

1 month ago
#pragma once
#include "ItemNestBase.h"
#include "WellPoleLib/WellBaseObj.h"
#include "WellPoleLib/WellClassObjGroup.h"
#include "WellPoleLib/TrackObj.h"
1 month ago
#define HANDLESIZE 10
1 month ago
namespace NItem
{
1 month ago
struct DiscretreDataStuct
{
float depth;
float value;
};
1 month ago
class CItemWellBase : public CItemNestBase
{
public:
CItemWellBase(CSigmaDoc* pWnd);
virtual ~CItemWellBase(void);
virtual void SetPos(POSITION pos);
virtual BOOL EndEdit(void);
//virtual CItem* GetItem() { return this; }
virtual void SetItemWell(CItem* pItem) {}//= 0;
virtual void SetItemSection(CItem* pItem) {}//= 0;
virtual HCURSOR GetHandleCursor(int nHandle);
//CItemWellBase* GetItemSection() {}
//<2F><><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B1B8>
1 month ago
virtual void SetReUnDoAction(BOOL bNoSaveData=TRUE, UINT actionType=IDS_STRING_ACTION_MOVE,int actionItemType = 1, CWellBaseObj* pWellBase = NULL); //=1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>section<6F><6E>wellpole,=2<><32>bend<6E><64>fault
1 month ago
BOOL IsSelected(CWellBaseObj* pObj); //<2F>ж<EFBFBD><D0B6>Ƿ<EFBFBD><C7B7><EFBFBD>Ƕ<EFBFBD><C7B6>ѡ<EFBFBD><D1A1>
void Select(CWellBaseObj* pObj, BOOL bAdd = FALSE);//ѡ<><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
virtual void CancelSelection(void);
void SetActionAddTrackItem(TRACKLIST& addTrackList);
void SetActionDeleteTrackItem(TRACKLIST& addTrackList);
public:
CList<CWellBaseObj*> m_WellObjSelectlist; ///< <20><><EFBFBD><EFBFBD>ѡ<EFBFBD>е<EFBFBD>ͼԪ<CDBC><D4AA><EFBFBD><EFBFBD>
};
};