|
|
@ -49,7 +49,7 @@ nmSubWndGrid::nmSubWndGrid(QWidget *parent, QString sExt) :
|
|
|
|
iSubWndBaseAF(parent, sExt)
|
|
|
|
iSubWndBaseAF(parent, sExt)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_sMdiWndType = s_MdiType_DataNum;
|
|
|
|
m_sMdiWndType = s_MdiType_DataNum;
|
|
|
|
m_pAnalyzeData = nmDataDemo::getInstance();
|
|
|
|
m_pAnalyzeData = nmDataDemo::getInstance();
|
|
|
|
setWindowTitle(tr("nmSubWndGrid"));
|
|
|
|
setWindowTitle(tr("nmSubWndGrid"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -102,7 +102,7 @@ QWidget* nmSubWndGrid::initUiMainWx()
|
|
|
|
nmDataLogFile::getInstance()->writeLog(QString("%1 %2").arg(p.x()).arg(p.y()));
|
|
|
|
nmDataLogFile::getInstance()->writeLog(QString("%1 %2").arg(p.x()).arg(p.y()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nmDataLogFile::getInstance()->writeLog("==== outline end ====");
|
|
|
|
nmDataLogFile::getInstance()->writeLog("==== outline end ====");
|
|
|
|
QVector<QVector<double>> wellList = pPlot->getWellsInformation();
|
|
|
|
QVector<QVector<double >> wellList = pPlot->getWellsInformation();
|
|
|
|
nmDataLogFile::getInstance()->writeLog("==== " + QString::number(outlineInformation.count()) + " ====");
|
|
|
|
nmDataLogFile::getInstance()->writeLog("==== " + QString::number(outlineInformation.count()) + " ====");
|
|
|
|
nmDataLogFile::getInstance()->writeLog("==== " + QString::number(wellList.count()) + " ====");
|
|
|
|
nmDataLogFile::getInstance()->writeLog("==== " + QString::number(wellList.count()) + " ====");
|
|
|
|
// 根据边界和井的信息生成geo文件,先生成一个文件到tmp中
|
|
|
|
// 根据边界和井的信息生成geo文件,先生成一个文件到tmp中
|
|
|
@ -124,7 +124,7 @@ bool nmSubWndGrid::runCmdBy(QString sName, QString sID)
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void nmSubWndGrid::genGeo(QVector<QPointF> outlinePoints, QVector<QVector<double>> vWellsInfo)
|
|
|
|
void nmSubWndGrid::genGeo(QVector<QPointF> outlinePoints, QVector<QVector<double >> vWellsInfo)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// 井数据结构
|
|
|
|
// 井数据结构
|
|
|
|
QVector<CircleWell> circles;
|
|
|
|
QVector<CircleWell> circles;
|
|
|
|