From 2bb2758523bea2c4805efe9f22d56fa3283b07cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Fri, 10 Jun 2016 13:54:29 +0200 Subject: [PATCH] #755 Used the same order as ERT on the display, - and search strings for Summary Variables --- .../RifEclipseSummaryAddress.cpp | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp b/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp index 9ed96bbab9..e4c6698e72 100644 --- a/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp +++ b/ApplicationCode/FileInterface/RifEclipseSummaryAddress.cpp @@ -47,7 +47,7 @@ std::string RifEclipseSummaryAddress::uiText() const case RifEclipseSummaryAddress::SUMMARY_REGION_2_REGION: { text += ":" + std::to_string(this->regionNumber()); - text += ":" + std::to_string(this->regionNumber2()); + text += "-" + std::to_string(this->regionNumber2()); } break; case RifEclipseSummaryAddress::SUMMARY_WELL_GROUP: @@ -64,23 +64,23 @@ std::string RifEclipseSummaryAddress::uiText() const { text += ":" + this->wellName(); text += ":" + std::to_string(this->cellI()) + ", " - + std::to_string(this->cellJ()) + ", " - + std::to_string(this->cellK()); + + std::to_string(this->cellJ()) + ", " + + std::to_string(this->cellK()); } break; case RifEclipseSummaryAddress::SUMMARY_WELL_LGR: { - text += ":" + this->wellName(); text += ":" + this->lgrName(); + text += ":" + this->wellName(); } break; case RifEclipseSummaryAddress::SUMMARY_WELL_COMPLETION_LGR: { - text += ":" + this->wellName(); text += ":" + this->lgrName(); + text += ":" + this->wellName(); text += ":" + std::to_string(this->cellI()) + ", " - + std::to_string(this->cellJ()) + ", " - + std::to_string(this->cellK()); + + std::to_string(this->cellJ()) + ", " + + std::to_string(this->cellK()); } break; case RifEclipseSummaryAddress::SUMMARY_WELL_SEGMENT: @@ -92,16 +92,16 @@ std::string RifEclipseSummaryAddress::uiText() const case RifEclipseSummaryAddress::SUMMARY_BLOCK: { text += ":" + std::to_string(this->cellI()) + ", " - + std::to_string(this->cellJ()) + ", " - + std::to_string(this->cellK()); + + std::to_string(this->cellJ()) + ", " + + std::to_string(this->cellK()); } break; case RifEclipseSummaryAddress::SUMMARY_BLOCK_LGR: { text += ":" + this->lgrName(); text += ":" + std::to_string(this->cellI()) + ", " - + std::to_string(this->cellJ()) + ", " - + std::to_string(this->cellK()); + + std::to_string(this->cellJ()) + ", " + + std::to_string(this->cellK()); } break; }