mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Osdu Well Log: use channel "CurveId" instead of "Mnemonic".
This commit is contained in:
@@ -29,6 +29,9 @@ RimOsduWellLogChannel::RimOsduWellLogChannel()
|
||||
{
|
||||
CAF_PDM_InitObject( "OSDU Well Log Channel" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_id, "Id", "Id" );
|
||||
m_id.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_description, "Description", "Description" );
|
||||
m_description.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
@@ -56,6 +59,14 @@ RimOsduWellLogChannel::RimOsduWellLogChannel()
|
||||
nameField()->xmlCapability()->setIOWritable( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimOsduWellLogChannel::setId( const QString& id )
|
||||
{
|
||||
m_id = id;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -31,6 +31,7 @@ class RimOsduWellLogChannel : public RimWellLogChannel
|
||||
public:
|
||||
RimOsduWellLogChannel();
|
||||
|
||||
void setId( const QString& id );
|
||||
void setDescription( const QString& description );
|
||||
void setTopDepth( double topDepth );
|
||||
void setBaseDepth( double baseDepth );
|
||||
@@ -40,6 +41,7 @@ public:
|
||||
void setDepthUnit( const QString& depthUnit );
|
||||
|
||||
private:
|
||||
caf::PdmField<QString> m_id;
|
||||
caf::PdmField<QString> m_description;
|
||||
caf::PdmField<double> m_topDepth;
|
||||
caf::PdmField<double> m_baseDepth;
|
||||
|
||||
Reference in New Issue
Block a user