fix(nmNum): 修正压裂井型及井参数分组名称

feature/ReservoirPropertiesDlg-Refactoring-20260813
lh 5 days ago
parent c11454e4a7
commit 6b2009bf62

Binary file not shown.

@ -6822,10 +6822,11 @@ Average pressure in contour: %2 MPa</source>
<message><source>Finite conductivity</source><translation></translation></message> <message><source>Finite conductivity</source><translation></translation></message>
<message><source>Infinite conductivity</source><translation></translation></message> <message><source>Infinite conductivity</source><translation></translation></message>
<message><source>Vertical well</source><translation></translation></message> <message><source>Vertical well</source><translation></translation></message>
<message><source>Vertical fractured well</source><translation></translation></message> <message><source>Fractured vertical well</source><translation></translation></message>
<message><source>Horizontal fractured well</source><translation></translation></message> <message><source>Multistage fractured horizontal well</source><translation></translation></message>
<message><source>Position and wellbore</source><translation></translation></message> <message><source>Position and wellbore</source><translation></translation></message>
<message><source>Storage and fracture</source><translation></translation></message> <message><source>Wellbore storage</source><translation></translation></message>
<message><source>Wellbore storage and fracture</source><translation></translation></message>
<message><source>Basic properties</source><translation></translation></message> <message><source>Basic properties</source><translation></translation></message>
<message><source>Fluid parameters</source><translation></translation></message> <message><source>Fluid parameters</source><translation></translation></message>
<message><source>Compression and saturation</source><translation></translation></message> <message><source>Compression and saturation</source><translation></translation></message>

@ -27,14 +27,15 @@ static const char* const s_pCatalogTranslationMarkers[] =
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Finite conductivity"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Finite conductivity"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Infinite conductivity"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Infinite conductivity"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Position and wellbore"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Position and wellbore"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Storage and fracture"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Wellbore storage"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Wellbore storage and fracture"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Basic properties"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Basic properties"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Fluid parameters"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Fluid parameters"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Compression and saturation"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Compression and saturation"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Reservoir parameters"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Reservoir parameters"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Vertical well"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Vertical well"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Vertical fractured well"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Fractured vertical well"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Horizontal fractured well"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Multistage fractured horizontal well"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Dual-medium parameters"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Dual-medium parameters"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Geometry"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Geometry"),
QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Flow properties"), QT_TRANSLATE_NOOP("nmWxReservoirPropertiesEditor", "Flow properties"),
@ -193,8 +194,10 @@ void createWellGroups(nmReservoirPropertyObjectInfo& oInfo,
prefixed(oInfo.m_sObjectCode, "W_Skin"), "W_Skin")); prefixed(oInfo.m_sObjectCode, "W_Skin"), "W_Skin"));
} }
const char* pStorageGroupTitle = eWellType == Vertical_Well
? "Wellbore storage" : "Wellbore storage and fracture";
nmReservoirParameterGroupInfo oStorage = nmReservoirParameterGroupInfo oStorage =
parameterGroup("Storage and fracture", 0, 1, 1); parameterGroup(pStorageGroupTitle, 0, 1, 1);
oStorage.m_listFields.append(numericField( oStorage.m_listFields.append(numericField(
prefixed(oInfo.m_sObjectCode, "W_C"), "W_C")); prefixed(oInfo.m_sObjectCode, "W_C"), "W_C"));
if (eWellType == Vertical_Fractured_Well) if (eWellType == Vertical_Fractured_Well)
@ -490,7 +493,7 @@ nmReservoirParameterCatalog::createObjectInfos(
oInfo.m_nSourceIndex = nIndex; oInfo.m_nSourceIndex = nIndex;
oInfo.m_sObjectCode = wellCode(oWell, "VFWELL", nIndex); oInfo.m_sObjectCode = wellCode(oWell, "VFWELL", nIndex);
oInfo.m_sDisplayName = oWell.getWellName() + " - " + oInfo.m_sDisplayName = oWell.getWellName() + " - " +
editorText("Vertical fractured well"); editorText("Fractured vertical well");
createWellGroups(oInfo, Vertical_Fractured_Well, createWellGroups(oInfo, Vertical_Fractured_Well,
oWell.getPerforationCount() > 0); oWell.getPerforationCount() > 0);
listInfos.append(oInfo); listInfos.append(oInfo);
@ -508,7 +511,7 @@ nmReservoirParameterCatalog::createObjectInfos(
oInfo.m_nSourceIndex = nIndex; oInfo.m_nSourceIndex = nIndex;
oInfo.m_sObjectCode = wellCode(oWell, "HFWELL", nIndex); oInfo.m_sObjectCode = wellCode(oWell, "HFWELL", nIndex);
oInfo.m_sDisplayName = oWell.getWellName() + " - " + oInfo.m_sDisplayName = oWell.getWellName() + " - " +
editorText("Horizontal fractured well"); editorText("Multistage fractured horizontal well");
createWellGroups(oInfo, Horizontal_Fractured_Well, createWellGroups(oInfo, Horizontal_Fractured_Well,
oWell.getPerforationCount() > 0); oWell.getPerforationCount() > 0);
listInfos.append(oInfo); listInfos.append(oInfo);

Loading…
Cancel
Save