Import pressure data for tank0 on Shearwater Desktop import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-05-30 06:46:25 +03:00 committed by Dirk Hohndel
parent cbe03fd88d
commit f6f74a0a3e

View file

@ -148,6 +148,11 @@
</xsl:choose>
</xsl:attribute>
</xsl:if>
<xsl:if test="tank0pressurePSI != '' and tank0pressurePSI &gt; 0 and tank0pressurePSI &lt; 4092">
<xsl:attribute name="pressure">
<xsl:value-of select="concat(format-number((tank0pressurePSI div 14.5037738007), '#.##'), ' bar')"/>
</xsl:attribute>
</xsl:if>
</sample>
</xsl:for-each>
</divecomputer>