mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Support for 2 cylinders on Shearwater XML import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
5afa5ed9f1
commit
baa60e1077
1 changed files with 6 additions and 1 deletions
|
@ -149,10 +149,15 @@
|
|||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="tank0pressurePSI != '' and tank0pressurePSI > 0 and tank0pressurePSI < 4092">
|
||||
<xsl:attribute name="pressure">
|
||||
<xsl:attribute name="pressure0">
|
||||
<xsl:value-of select="concat(format-number((tank0pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="tank1pressurePSI != '' and tank1pressurePSI > 0 and tank1pressurePSI < 4092">
|
||||
<xsl:attribute name="pressure1">
|
||||
<xsl:value-of select="concat(format-number((tank1pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="currentNdl != ''">
|
||||
<xsl:attribute name="ndl">
|
||||
<xsl:value-of select="concat(currentNdl, ':00 min')"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue