|
|
|
|
@ -39,6 +39,7 @@
|
|
|
|
|
#include "ZxObjBase.h"
|
|
|
|
|
|
|
|
|
|
#include "nmDataAnalyzeManager.h"
|
|
|
|
|
#include "nmDataReservoir.h"
|
|
|
|
|
#include "iRibbonXmlTab.h"
|
|
|
|
|
#include "nmWxParameterProperty.h"
|
|
|
|
|
#include "nmWxParaPropertyPebi.h"
|
|
|
|
|
@ -591,6 +592,22 @@ bool nmSubWndUtils::fillNmDockWxs(iSubWnd* pSubWnd)
|
|
|
|
|
|
|
|
|
|
pParaWx->refreshUIs(listParas);
|
|
|
|
|
|
|
|
|
|
// 从数据中心批量读取储层参数初始化UI
|
|
|
|
|
nmDataReservoir* pRes = pDataManager->getReservoirData();
|
|
|
|
|
if (pRes)
|
|
|
|
|
{
|
|
|
|
|
QMap<QString, QVariant> mapInit;
|
|
|
|
|
mapInit["h"] = pRes->getThickness().getValue();
|
|
|
|
|
mapInit["Pi"] = pRes->getInitialPressure().getValue();
|
|
|
|
|
mapInit["K"] = pRes->getPermeability().getValue();
|
|
|
|
|
mapInit["phi"] = pRes->getPorosity().getValue();
|
|
|
|
|
mapInit["Cti"] = pRes->getCt().getValue();
|
|
|
|
|
mapInit["Cf"] = pRes->getCf().getValue();
|
|
|
|
|
mapInit["Soi"] = pRes->getSoi().getValue();
|
|
|
|
|
mapInit["Swi"] = pRes->getSwi().getValue();
|
|
|
|
|
pParaWx->restoreOldParas(mapInit);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 建立求解调用连接
|
|
|
|
|
connect(pAnalWx, SIGNAL(sigGenerateClicked()),
|
|
|
|
|
pSubWndMain, SLOT(onGenerateButtonClicked()));
|
|
|
|
|
|