|
|
|
@ -16,7 +16,6 @@
|
|
|
|
#include "nmDataRegion.h"
|
|
|
|
#include "nmDataRegion.h"
|
|
|
|
#include "nmObjBase.h"
|
|
|
|
#include "nmObjBase.h"
|
|
|
|
#include "nmDataAnalyzeManager.h"
|
|
|
|
#include "nmDataAnalyzeManager.h"
|
|
|
|
#include "nmAttrRegistry.h"
|
|
|
|
|
|
|
|
#include "nmObjPointWell.h"
|
|
|
|
#include "nmObjPointWell.h"
|
|
|
|
#include "nmDataWellBase.h"
|
|
|
|
#include "nmDataWellBase.h"
|
|
|
|
#include "nmDataVerticalFracturedWell.h"
|
|
|
|
#include "nmDataVerticalFracturedWell.h"
|
|
|
|
@ -1694,15 +1693,9 @@ void nmPlotGraphicBinder::syncWellMoveFromGraphic(nmObjPointWell* pGraphic,
|
|
|
|
pWellData->setLocationX(newLocation.x());
|
|
|
|
pWellData->setLocationX(newLocation.x());
|
|
|
|
pWellData->setLocationY(newLocation.y());
|
|
|
|
pWellData->setLocationY(newLocation.y());
|
|
|
|
|
|
|
|
|
|
|
|
nmDataAttribute tempAttr = pData->getX();
|
|
|
|
pData->getX().setValue(pWellData->getLocationX());
|
|
|
|
tempAttr.setValue(pWellData->getLocationX());
|
|
|
|
pData->getY().setValue(pWellData->getLocationY());
|
|
|
|
pData->setX(tempAttr);
|
|
|
|
pData->getRadius().setValue(pWellData->getWellRadius());
|
|
|
|
tempAttr = pData->getY();
|
|
|
|
|
|
|
|
tempAttr.setValue(pWellData->getLocationY());
|
|
|
|
|
|
|
|
pData->setY(tempAttr);
|
|
|
|
|
|
|
|
tempAttr = pData->getRadius();
|
|
|
|
|
|
|
|
tempAttr.setValue(pWellData->getWellRadius());
|
|
|
|
|
|
|
|
pData->setRadius(tempAttr);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (wellType == NM_WELL_MODEL::Vertical_Fractured_Well) {
|
|
|
|
if (wellType == NM_WELL_MODEL::Vertical_Fractured_Well) {
|
|
|
|
// 裂缝井位置变化后,裂缝端点需要跟着重新计算。
|
|
|
|
// 裂缝井位置变化后,裂缝端点需要跟着重新计算。
|
|
|
|
@ -1715,11 +1708,6 @@ void nmPlotGraphicBinder::syncWellMoveFromGraphic(nmObjPointWell* pGraphic,
|
|
|
|
pHFWell->setFracs();
|
|
|
|
pHFWell->setFracs();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 本轮移动数据写回完成后,统一刷新参数面板中的已注册属性。
|
|
|
|
|
|
|
|
if (m_pDataMgr != nullptr && m_pDataMgr->getAttrRegistry() != nullptr) {
|
|
|
|
|
|
|
|
m_pDataMgr->getAttrRegistry()->refreshAll();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool nmPlotGraphicBinder::ensureSelectedWellData(nmObjPointWell* pGraphic,
|
|
|
|
bool nmPlotGraphicBinder::ensureSelectedWellData(nmObjPointWell* pGraphic,
|
|
|
|
|