<?xml version="1.0"?>

<!-- 747-200 HSI :

     - when no more voltage DME is off, which means that one doesn't need to slave needles to voltage.
     - but when no more voltage, autopilot is not off : true heading is still correct, if way point.


Texture hsi4.rgb seems useless.

Adapted from Martin Dressler dr@musicabona.cz
-->

<PropertyList>

 <name>HSI</name>
 <w-base>512</w-base>
 <h-base>768</h-base>
 
 
 <layers>
 
  <layer>
   <name>Black background</name>
   <w>456</w>
   <h>412</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.9375</x1>
    <x2>1.0</x2>
    <y1>0.0</y1>
    <y2>0.0625</y2>
   </texture>
  </layer>

  <layer>
   <name>VOR background</name>
   <w>240</w>
   <h>240</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi4.rgb</path>
    <x1>0.0</x1>
    <x2>0.46875</x2>
    <y1>0.53125</y1>
    <y2>1.0</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/instrumentation/nav[0]/radials/selected-deg</property>
     <scale>1</scale>
     <offset>180</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/autopilot/settings/true-heading-deg</property>
     <scale>1</scale>
     <offset>180</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>VOR TO</name>
   <condition>
    <and>
     <property>/instrumentation/nav[0]/to-flag</property>
     <not>
      <property>/instrumentation/hsi/ins-source</property>
     </not>
     <property>/instrumentation/hsi/serviceable</property>
    </and>
   </condition>
   <w>48</w>
   <h>44</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.8515625</x1>
    <x2>0.9453125</x2>
    <y1>0.4375</y1>
    <y2>0.5234375</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <type>rotation</type>
     <property>/instrumentation/nav[0]/radials/selected-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>-36</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>VOR FROM</name>
   <condition>
    <and>
     <property>/instrumentation/nav[0]/from-flag</property>
     <not>
      <property>/instrumentation/hsi/ins-source</property>
     </not>
     <property>/instrumentation/hsi/serviceable</property>
    </and>
   </condition>
   <w>48</w>
   <h>44</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.8515625</x1>
    <x2>0.9453125</x2>
    <y1>0.4375</y1>
    <y2>0.5234375</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <type>rotation</type>
     <property>/instrumentation/nav[0]/radials/selected-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>36</offset>
    </transformation>
    <transformation>
     <type>rotation</type>
     <offset>180</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>VOR markings</name>
   <w>188</w>
   <h>64</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.34375</x1>
    <x2>0.7109375</x2>
    <y1>0.0</y1>
    <y2>0.125</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/instrumentation/nav[0]/radials/selected-deg</property>
     <scale>1</scale>
     <offset>180</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/autopilot/settings/true-heading-deg</property>
     <scale>1</scale>
     <offset>180</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-deg</property>
     <scale>-1</scale>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>Compas rose shadow</name>
   <w>240</w>
   <h>240</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi4.rgb</path>
    <x1>0.46875</x1>
    <x2>0.9375</x2>
    <y1>0.53125</y1>
    <y2>1.0</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-21</offset>
    </transformation>
    <transformation>
     <type>x-shift</type>
     <offset>-1</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>Compas rose</name>
   <w>328</w>
   <h>328</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi3.rgb</path>
    <x1>0.0</x1>
    <x2>0.640625</x2>
    <y1>0.359375</y1>
    <y2>1.0</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-deg</property>
     <scale>-1</scale>
    </transformation>
   </transformations>
  </layer>
  
  <layer>
   <name>HDG bug</name>
   <w>52</w>
   <h>40</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.8515625</x1>
    <x2>0.953125</x2>
    <y1>0.359375</y1>
    <y2>0.4375</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/controls/autoflight/dial-heading-deg</property>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/autopilot/settings/true-heading-deg</property>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>149</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>VOR needle</name>
   <w>28</w>
   <h>164</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.796875</x1>
    <x2>0.8515625</x2>
    <y1>0.359375</y1>
    <y2>0.6796875</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/instrumentation/nav[0]/radials/selected-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/autopilot/settings/true-heading-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>x-shift</type>
     <property>/instrumentation/nav[0]/heading-needle-deflection</property>
     <min>-12.0</min>
     <max>12.0</max>
     <scale>-7.6</scale>
    </transformation>
    <transformation>
     <condition>
      <and include="747-cond-voltage-inst.xml">
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>x-shift</type>
     <property>/autopilot/internal/true-heading-error-deg</property>
     <min>-12.0</min>
     <max>12.0</max>
     <scale>-7.6</scale>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>-2</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>VOR arrow arrow</name>
   <w>44</w>
   <h>72</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.8515625</x1>
    <x2>0.9375</x2>
    <y1>0.5390625</y1>
    <y2>0.6796875</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/instrumentation/nav[0]/radials/selected-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/autopilot/settings/true-heading-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>-109</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>VOR arrow tail</name>
   <w>28</w>
   <h>80</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.9375</x1>
    <x2>0.9921875</x2>
    <y1>0.5234375</y1>
    <y2>0.6796875</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-23</offset>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/instrumentation/nav[0]/radials/selected-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/autopilot/settings/true-heading-deg</property>
     <offset>180</offset>
     <scale>1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <not>
        <property>/instrumentation/hsi/ins-source</property>
       </not>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-magnetic-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <condition>
      <and>
       <property>/instrumentation/hsi/ins-source</property>
       <property>/instrumentation/hsi/serviceable</property>
      </and>
     </condition>
     <type>rotation</type>
     <property>/orientation/heading-deg</property>
     <scale>-1</scale>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>107</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>GS background</name>
   <w>408</w>
   <h>416</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.0</x1>
    <x2>0.796875</x2>
    <y1>0.1875</y1>
    <y2>1.0</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>-3</offset>
    </transformation>
   </transformations>
  </layer>
				  
  <layer>
   <name>GS needle right</name>
   <condition>
    <and>
     <property>/instrumentation/nav[0]/has-gs</property>
     <not>
      <property>/instrumentation/hsi/ins-source</property>
     </not>
     <property>/instrumentation/hsi/serviceable</property>
    </and>
   </condition>
   <w>40</w>
   <h>44</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.875</x1>
    <x2>0.953125</x2>
    <y1>0.6796875</y1>
    <y2>0.765625</y2>
   </texture>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>192</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <property>/instrumentation/nav[0]/gs-needle-deflection</property>
     <min>-10.0</min>
     <max>10.0</max>
     <scale>8.35</scale>
     <offset>-24</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>GS needle left</name>
   <condition>
    <and>
     <property>/instrumentation/nav[0]/has-gs</property>
     <not>
      <property>/instrumentation/hsi/ins-source</property>
     </not>
     <property>/instrumentation/hsi/serviceable</property>
    </and>
   </condition>
   <w>40</w>
   <h>44</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.796875</x1>
    <x2>0.875</x2>
    <y1>0.6796875</y1>
    <y2>0.765625</y2>
   </texture>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>-192</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <property>/instrumentation/nav[0]/gs-needle-deflection</property>
     <min>-10.0</min>
     <max>10.0</max>
     <scale>8.35</scale>
     <offset>-24</offset>
    </transformation>
   </transformations>
  </layer>


  <layer>
   <name>NAV OFF</name>
   <condition>
    <and>
     <or>
      <not>
       <property>/instrumentation/nav[0]/in-range</property>
      </not>
      <not>
       <property>/instrumentation/hsi/serviceable</property>
      </not>
     </or>
     <not>
      <property>/instrumentation/hsi/ins-source</property>
     </not>
    </and>
   </condition>
   <w>104</w>
   <h>60</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.796875</x1>
    <x2>1.0</x2>
    <y1>0.765625</y1>
    <y2>0.8828125</y2>
   </texture>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>-142</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>121</offset>
    </transformation>
    <transformation>
     <type>x-shift</type>
     <offset>67</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>Foreground</name>
   <w>512</w>
   <h>512</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi1.rgb</path>
    <x1>0.0</x1>
    <x2>1.0</x2>
    <y1>0.0</y1>
    <y2>1.0</y2>
   </texture>
  </layer>

<!-- REFERENCE -->

  <layer>
   <name>Title</name>
   <type>switch</type>

   <layer>
    <name>Title magnetic</name>
    <condition>
     <not>
      <property>/instrumentation/hsi/ins-source</property>
     </not>
    </condition>
    <type>text</type>
    <point-size>34</point-size>
    <color>
     <red>1.0</red>
     <green>1.0</green>
     <blue>1.0</blue>
    </color>
    <chunks>
     <chunk>
      <type>literal</type>
      <text>MAG</text>
     </chunk>
     </chunks>
    <transformations>
     <transformation>
      <type>x-shift</type>
      <offset>-40</offset>
     </transformation>
    </transformations>
   </layer>

   <layer>
    <name>Title true</name>
    <type>text</type>
    <point-size>34</point-size>
    <color>
     <red>1.0</red>
     <green>1.0</green>
     <blue>1.0</blue>
    </color>
    <chunks>
     <chunk>
      <type>literal</type>
      <text>TRUE</text>
     </chunk>
     </chunks>
    <transformations>
     <transformation>
      <type>x-shift</type>
      <offset>-50</offset>
     </transformation>
    </transformations>
   </layer>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>252</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>HDG OFF</name>
   <condition>
    <or>
     <not include="747-cond-voltage-inst.xml"/>
     <not>
      <property>/instrumentation/hsi/serviceable</property>
     </not>
    </or>
   </condition>
   <w>139</w>
   <h>80</h>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/hsi2.rgb</path>
    <x1>0.796875</x1>
    <x2>1.0</x2>
    <y1>0.8828125</y1>
    <y2>1.0</y2>
   </texture>
   <transformations>
    <transformation>
     <type>y-shift</type>
     <offset>233</offset>
    </transformation>
   </transformations>
  </layer>

<!-- MILES -->

  <layer>
   <name>background</name>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/747-black-bg.rgb</path>
    <x1>0.0</x1>
    <y1>0.0</y1>
    <x2>0.25</x2>
    <y2>0.095</y2>
   </texture>
   <w>162</w>
   <h>61</h>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>-174</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>293</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>Title miles</name>
   <type>text</type>
   <point-size>27</point-size>
   <color>
    <red>1.0</red>
    <green>1.0</green>
    <blue>1.0</blue>
   </color>
   <chunks>
    <chunk>
     <type>literal</type>
     <text>MILES</text>
    </chunk>
   </chunks>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>-217</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>330</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
    <name>INS</name>
    <type>switch</type>
    <condition>
     <and include="747-cond-voltage-inst.xml">
      <not-equals>
       <property>/autopilot/route-manager/wp/id</property>
       <value></value>
      </not-equals>
      <property>/instrumentation/hsi/serviceable</property>
     </and>
    </condition>

    <layer>
     <name>INS distance</name>
     <condition>
      <less-than-equals>
       <property>/autopilot/route-manager/wp/dist</property>
       <value type="double">9999.0</value>
      </less-than-equals>
     </condition>
     <type>text</type>
     <font>led</font>
     <point-size>22</point-size>
     <color>
      <red>1.0</red>
      <green>0.5</green>
      <blue>0.0</blue>
     </color>
     <chunks>
      <chunk>
       <type>number-value</type>
       <property>/autopilot/route-manager/wp/dist</property>
       <format>%4.0f</format>
      </chunk>
     </chunks>
    </layer>

    <layer>
     <name>INS overflow</name>
     <type>text</type>
     <font>led</font>
     <point-size>22</point-size>
     <color>
      <red>1.0</red>
      <green>0.5</green>
      <blue>0.0</blue>
     </color>
     <chunks>
      <chunk>
       <type>literal</type>
       <text>9999</text>
      </chunk>
     </chunks>
    </layer>
    <transformations>
     <transformation>
      <type>x-shift</type>
      <offset>-234</offset>
     </transformation>
     <transformation>
      <type>y-shift</type>
      <offset>270</offset>
     </transformation>
    </transformations>
  </layer>
 
<!-- GROUND SPEED -->

  <layer>
   <name>background</name>
   <texture>
    <path>Aircraft/747-200/Panels/Instruments/Textures/747-black-bg.rgb</path>
    <x1>0.0</x1>
    <y1>0.0</y1>
    <x2>0.25</x2>
    <y2>0.095</y2>
   </texture>
   <w>162</w>
   <h>61</h>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>174</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>293</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>Title ground speed</name>
   <type>text</type>
   <point-size>27</point-size>
   <color>
    <red>1.0</red>
    <green>1.0</green>
    <blue>1.0</blue>
   </color>
   <chunks>
    <chunk>
     <type>literal</type>
     <text>GND SPD</text>
    </chunk>
   </chunks>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>105</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>330</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>Ground speed</name>
   <condition>
    <and include="747-cond-voltage-inst.xml">
     <property>/instrumentation/hsi/serviceable</property>
    </and>
   </condition>
   <type>text</type>
   <font>led</font>
   <point-size>22</point-size>
   <color>
    <red>1.0</red>
    <green>0.5</green>
    <blue>0.0</blue>
   </color>
   <chunks>
    <chunk>
     <type>number-value</type>
     <property>/instrumentation/ins[0]/ground-speed-fps</property>
     <format>%4.0f</format>
     <scale>0.592484</scale>        <!-- kt -->
    </chunk>
   </chunks>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>117</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>270</offset>
    </transformation>
   </transformations>
  </layer>

 </layers>

</PropertyList>
