mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Convert imperial pressures to metric
This will convert cylinder start and end pressures from imperial to metric, when necessary. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
0f3057d7d0
commit
f8360eeddd
1 changed files with 12 additions and 2 deletions
|
@ -88,10 +88,20 @@
|
|||
<xsl:value-of select="concat(TANK/TANKVOLUME|tank/tankvolume, ' l')"/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="start">
|
||||
<xsl:value-of select="TANK/PSTART|tank/pstart"/>
|
||||
<xsl:call-template name="pressureConvert">
|
||||
<xsl:with-param name="number">
|
||||
<xsl:value-of select="TANK/PSTART|tank/pstart"/>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="units" select="$units"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="end">
|
||||
<xsl:value-of select="TANK/PEND|tank/pend"/>
|
||||
<xsl:call-template name="pressureConvert">
|
||||
<xsl:with-param name="number">
|
||||
<xsl:value-of select="TANK/PEND|tank/pend"/>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="units" select="$units"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="o2">
|
||||
<xsl:value-of select="O2|o2"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue