Ignore:
Timestamp:
11/14/12 13:37:04 (12 years ago)
Author:
gosiaw
Message:

Modes changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponentTranslator.xsl

    r613 r614  
    6868                        <xsl:apply-templates select="Storage" /> 
    6969                </xsl:if> 
    70                 <xsl:if test="CoolingDevice"> 
    71                         <!-- <xsl:apply-templates select="CoolingDevice" /> --> 
    72                 </xsl:if> 
    7370                <xsl:call-template name="BasicDEBBPhysicalElementParameters" /> 
    7471                <xsl:if test="Baseboard"> 
     
    7875                        <xsl:apply-templates select="Sensor" /> 
    7976                </xsl:if> 
     77                <xsl:if test="PowerSupply"> 
     78                        <xsl:apply-templates select="PowerSupply" /> 
     79                </xsl:if> 
    8080                <xsl:if test="Processor"> 
    8181                        <xsl:apply-templates select="Processor" /> 
    8282                </xsl:if> 
    83                 <xsl:if test="PowerSupply"> 
    84                         <xsl:apply-templates select="PowerSupply" /> 
     83                <xsl:if test="CoolingDevice"> 
     84                        <!-- Base cooling device data --> 
     85                        <xsl:apply-templates select="CoolingDevice" mode="basic" /> 
     86                        <!-- Air throughput connected, advanced, technical data --> 
     87                        <xsl:element name="profile"> 
     88                                <xsl:element name="airThroughputProfile"> 
     89                                        <xsl:element name="airThroughputStates"> 
     90                                                <xsl:apply-templates select="CoolingDevice" 
     91                                                        mode="advanced" /> 
     92                                        </xsl:element> 
     93                                </xsl:element> 
     94                        </xsl:element> 
    8595                </xsl:if> 
    8696        </xsl:template> 
Note: See TracChangeset for help on using the changeset viewer.