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.

34 lines
1.0 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#ifndef ACTION_MODIFIED_SECTIONWELL_ITEM_H
#define ACTION_MODIFIED_SECTIONWELL_ITEM_H
#include "ActionModifiedItem.h"
#include "WellPoleLib/WellBaseObj.h"
namespace NAction
{ //负责保存剖面内变化的井当井的宽度或道宽度、或道内对象的深度发生变化时使用这个action不涉及井内对象或bend对象的删除增加等
class CActionDragSizeSectionWell :public CActionModifiedItem
{
public:
CActionDragSizeSectionWell(CSigmaDoc* ppDoc, UINT actionType, const CPositionList& list,CWellBaseObj* pWellBase);
CActionDragSizeSectionWell(CSigmaDoc* ppDoc, UINT actionType, BOOL bSaveData = TRUE);
virtual ~CActionDragSizeSectionWell(void);
virtual bool AddCloneItem(POSITION pos, COne* pOne, CWellBaseObj* pWellBase,bool bCreateAdd = true);
protected:
virtual void PerformOperation(void);
virtual void PerformOperation(std::unique_ptr<COne> ModifiedEntry::* member); //在c#端中需要添加这个,这里会调用这个函数
WELLOBJVECTOR m_WellObjBaseArr;
std::vector<int> m_WellPosInList;
CArray<long, long> m_indexArray;
};
}
#pragma once
#endif //