Osdu Well Log: use channel "CurveId" instead of "Mnemonic".

This commit is contained in:
Kristian Bendiksen
2024-07-12 15:09:17 +02:00
parent eda26bcc25
commit 734a84956e
6 changed files with 21 additions and 6 deletions

View File

@@ -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;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -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;