mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2122 Formation/Well Path: Set formations path and key on RimWellPath
This commit is contained in:
@@ -18,20 +18,28 @@
|
||||
|
||||
#include "RigWellPathFormations.h"
|
||||
|
||||
#include "RifWellPathFormationReader.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigWellPathFormations::RigWellPathFormations(std::vector<std::pair<double, QString>> measuredDepthAndFormationNames)
|
||||
RigWellPathFormations::RigWellPathFormations(std::vector<std::pair<double, QString>> measuredDepthAndFormationNames, const QString& filePath, const QString& key)
|
||||
{
|
||||
m_measuredDepthAndFormationNames = measuredDepthAndFormationNames;
|
||||
m_filePath = filePath;
|
||||
m_keyInFile = key;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RigWellPathFormations::wellName() const
|
||||
QString RigWellPathFormations::filePath() const
|
||||
{
|
||||
return m_wellName;
|
||||
return m_filePath;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RigWellPathFormations::keyInFile() const
|
||||
{
|
||||
return m_keyInFile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user