mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-05 05:06:55 -05:00
Janitor : Use enum class
This commit is contained in:
1 parent
19d650f619
commit
3fca5f15ae
18 files changed
+100
-90
No files matched your search
@@ -209,16 +209,16 @@ cvf::Color3f RivWellSpheresPartMgr::wellCellColor( const RigWellResultFrame& wel
|
||||
{
|
||||
switch ( wellResultFrame.m_productionType )
|
||||
{
|
||||
case RigWellResultFrame::PRODUCER:
|
||||
case RiaDefines::WellProductionType::PRODUCER:
|
||||
cellColor = cvf::Color3f::GREEN;
|
||||
break;
|
||||
case RigWellResultFrame::OIL_INJECTOR:
|
||||
case RiaDefines::WellProductionType::OIL_INJECTOR:
|
||||
cellColor = cvf::Color3f::RED;
|
||||
break;
|
||||
case RigWellResultFrame::GAS_INJECTOR:
|
||||
case RiaDefines::WellProductionType::GAS_INJECTOR:
|
||||
cellColor = cvf::Color3f::RED;
|
||||
break;
|
||||
case RigWellResultFrame::WATER_INJECTOR:
|
||||
case RiaDefines::WellProductionType::WATER_INJECTOR:
|
||||
cellColor = cvf::Color3f::BLUE;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user