Include po2 on Shearwater import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-11-04 22:54:07 +08:00 committed by Dirk Hohndel
parent d643bde61a
commit 676713335b

View file

@ -103,6 +103,16 @@
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="po2">
<xsl:choose>
<xsl:when test="$units = 'imperial'">
<xsl:value-of select="concat(averagePPO2 div 14.5037738, ' bar')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat(averagePPO2, ' bar')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</sample>
</xsl:for-each>
</dive>