svghmi/analyse_widget.xslt
changeset 3629 f117526d41ba
parent 3621 da020d88db0c
child 3630 921f620577e8
child 3687 747ffdafbe31
equal deleted inserted replaced
3628:c1796e57affd 3629:f117526d41ba
   260     </shortdesc>
   260     </shortdesc>
   261     <path name="speed" accepts="HMI_INT,HMI_REAL">
   261     <path name="speed" accepts="HMI_INT,HMI_REAL">
   262       <xsl:text>speed</xsl:text>
   262       <xsl:text>speed</xsl:text>
   263     </path>
   263     </path>
   264   </xsl:template>
   264   </xsl:template>
       
   265   <xsl:template match="widget[@type='Assign']" mode="widget_desc">
       
   266     <type>
       
   267       <xsl:value-of select="@type"/>
       
   268     </type>
       
   269     <longdesc>
       
   270       <xsl:text>
       
   271 </xsl:text>
       
   272       <xsl:text>Arguments are either:
       
   273 </xsl:text>
       
   274       <xsl:text>
       
   275 </xsl:text>
       
   276       <xsl:text>- name=value: setting variable with literal value.
       
   277 </xsl:text>
       
   278       <xsl:text>- name=other_name: copy variable content into another
       
   279 </xsl:text>
       
   280       <xsl:text>
       
   281 </xsl:text>
       
   282       <xsl:text>"active"+"inactive" labeled elements can be provided to show feedback when pressed
       
   283 </xsl:text>
       
   284       <xsl:text>
       
   285 </xsl:text>
       
   286       <xsl:text>Exemples:
       
   287 </xsl:text>
       
   288       <xsl:text>
       
   289 </xsl:text>
       
   290       <xsl:text>HMI:Assign:notify=1@notify=/PLCVAR
       
   291 </xsl:text>
       
   292       <xsl:text>HMI:Assign:ack=2:notify=1@ack=.local_var@notify=/PLCVAR
       
   293 </xsl:text>
       
   294       <xsl:text>
       
   295 </xsl:text>
       
   296     </longdesc>
       
   297     <shortdesc>
       
   298       <xsl:text>Assign variables on click</xsl:text>
       
   299     </shortdesc>
       
   300   </xsl:template>
   265   <xsl:template match="widget[@type='Back']" mode="widget_desc">
   301   <xsl:template match="widget[@type='Back']" mode="widget_desc">
   266     <type>
   302     <type>
   267       <xsl:value-of select="@type"/>
   303       <xsl:value-of select="@type"/>
   268     </type>
   304     </type>
   269     <longdesc>
   305     <longdesc>