#1947 RFT/PLT Plot: Remove depth from value options of curve

This commit is contained in:
Unknown 2017-10-06 08:09:20 +02:00 committed by Rebecca Cox
parent 7db64e099e
commit 4a2a80ba20
3 changed files with 4 additions and 5 deletions

View File

@ -43,10 +43,9 @@ RifEclipseRftAddress::RifEclipseRftAddress(QString wellName, QDateTime timeStep,
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
std::vector<QString> RifEclipseRftAddress::allWellLogChannelNames() std::vector<QString> RifEclipseRftAddress::allWellLogChannelNamesExDepth()
{ {
std::vector<QString> channelNames; std::vector<QString> channelNames;
channelNames.push_back(RifEclipseRftAddress::DEPTH);
channelNames.push_back(RifEclipseRftAddress::PRESSURE); channelNames.push_back(RifEclipseRftAddress::PRESSURE);
channelNames.push_back(RifEclipseRftAddress::SWAT); channelNames.push_back(RifEclipseRftAddress::SWAT);
channelNames.push_back(RifEclipseRftAddress::SOIL); channelNames.push_back(RifEclipseRftAddress::SOIL);

View File

@ -42,10 +42,10 @@ public:
public: public:
RifEclipseRftAddress(QString wellName, QDateTime timeStep, QString wellLogChannelName); RifEclipseRftAddress(QString wellName, QDateTime timeStep, QString wellLogChannelName);
static std::vector<QString> allWellLogChannelNames(); static std::vector<QString> allWellLogChannelNamesExDepth();
const QString& wellName() const { return m_wellName; } const QString& wellName() const { return m_wellName; }
QDateTime timeStep() const { return m_timeStep; } QDateTime timeStep() const { return m_timeStep; }
const QString& wellLogChannelName() const { return m_wellLogChannelName; } const QString& wellLogChannelName() const { return m_wellLogChannelName; }
private: private:

View File

@ -211,7 +211,7 @@ QList<caf::PdmOptionItemInfo> RimWellLogRftCurve::calculateValueOptions(const ca
{ {
options.push_back(caf::PdmOptionItemInfo("None", nullptr)); options.push_back(caf::PdmOptionItemInfo("None", nullptr));
for (const QString& channelName : RifEclipseRftAddress::allWellLogChannelNames()) for (const QString& channelName : RifEclipseRftAddress::allWellLogChannelNamesExDepth())
{ {
options.push_back(caf::PdmOptionItemInfo(channelName, channelName)); options.push_back(caf::PdmOptionItemInfo(channelName, channelName));
} }