<?xml version="1.0"?>

<!--

-->

<PropertyList>

  <name>Position Monitor</name>
  <w-base>110</w-base>
  <h-base>120</h-base>

  <layers>
<!-- Background -->
    <layer>
      <name>background</name>
      <texture>
        <path>Aircraft/MiG-15/Panels/Instruments/Textures/trans-dgrey-bg.rgb</path>
      </texture>
      <w>110</w>
      <h>120</h>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>0</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>0</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>10</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>POS Monitor      X</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>51</offset>
        </transformation>
      </transformations>
    </layer>

<!-- LAT -->
<!-- Latitude Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>Lat:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>39</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Latitude -->
    <layer>
      <name>Latitude</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/latitude-deg</property>
          <format>%08.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>1</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>39</offset>
        </transformation>
      </transformations>
    </layer>

<!-- LON -->
<!-- Logitude Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>Lon:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>27</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Longitude -->
    <layer>
      <name>Logitude</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/longitude-deg</property>
          <format>%08.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>1</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>27</offset>
        </transformation>
      </transformations>
    </layer>

<!-- ALTITUDE -->
<!-- Altitude Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>Altitude:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Altitude (AH Disengaged) -->
    <layer>
      <name>Altitude (AH Disengaged)</name>
      <condition>
        <not-equals>
          <property>/autopilot/locks/altitude</property>
          <value>altitude-hold</value>
        </not-equals>
      </condition>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/altitude-ft</property>
          <format>%09.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-5</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Altitude (AH Engaged) >= target-altitude -->
    <layer>
      <name>Altitude (AH Engaged) GTE target-altitude-ft</name>
      <condition>
        <and>
          <equals>
            <property>/autopilot/locks/altitude</property>
            <value>altitude-hold</value>
          </equals>
          <greater-than-equals>
            <property>/position/altitude-ft</property>
            <property>/autopilot/settings/target-altitude-ft</property>
          </greater-than-equals>
        </and>
      </condition>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>0.4</red>
        <green>1</green>
        <blue>0.4</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/altitude-ft</property>
          <format>%09.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-5</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Altitude (AH Engaged) < target-altitude -->
    <layer>
      <name>Altitude (AH Engaged) LT target-altitude-ft</name>
      <condition>
        <and>
          <equals>
            <property>/autopilot/locks/altitude</property>
            <value>altitude-hold</value>
          </equals>
          <less-than>
            <property>/position/altitude-ft</property>
            <property>/autopilot/settings/target-altitude-ft</property>
          </less-than>
        </and>
      </condition>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/altitude-ft</property>
          <format>%09.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-5</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- AGL -->
<!-- AGL Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>AGL:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- AGL (AGLH Disengaged) -->
    <layer>
      <name>AGL (AGLH Disengaged)</name>
      <condition>
        <not-equals>
          <property>/autopilot/locks/altitude</property>
          <value>agl-hold</value>
        </not-equals>
      </condition>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/altitude-agl-ft</property>
          <format>%09.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-5</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- AGL (AGLH Engaged) >= target agl -->
    <layer>
      <name>AGL (AGLH Engaged) GTE target agl</name>
      <condition>
        <and>
          <equals>
            <property>/autopilot/locks/altitude</property>
            <value>agl-hold</value>
          </equals>
          <greater-than-equals>
            <property>/position/altitude-agl-ft</property>
            <property>/autopilot/settings/target-agl-ft</property>
          </greater-than-equals>
        </and>
      </condition>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>0.4</red>
        <green>1</green>
        <blue>0.4</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/altitude-agl-ft</property>
          <format>%09.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-5</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- AGL ( < target agl) -->
    <layer>
      <name>AGL LT target agl</name>
      <condition>
        <and>
          <equals>
            <property>/autopilot/locks/altitude</property>
            <value>agl-hold</value>
          </equals>
          <less-than>
            <property>/position/altitude-agl-ft</property>
            <property>/autopilot/settings/target-agl-ft</property>
          </less-than>
        </and>
      </condition>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>0.4</green>
        <blue>0.4</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/position/altitude-agl-ft</property>
          <format>%09.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-5</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- AOA -->
<!-- AoA Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>AoA:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-9</offset>
        </transformation>
      </transformations>
    </layer>

<!-- AoA -->
    <layer>
      <name>AoA</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/orientation/alpha-deg</property>
          <format>%06.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>13</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-9</offset>
        </transformation>
      </transformations>
    </layer>

<!-- PITCH -->
<!-- Pitch Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>Pitch:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-21</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Pitch -->
    <layer>
      <name>Pitch</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/orientation/pitch-deg</property>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-21</offset>
        </transformation>
      </transformations>
    </layer>

<!-- ROLL -->
<!-- Roll Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>Roll:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-33</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Roll -->
    <layer>
      <name>Roll</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/orientation/roll-deg</property>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-33</offset>
        </transformation>
      </transformations>
    </layer>

<!-- HEADING -->
<!-- Heading Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>Heading:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-45</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Heading -->
    <layer>
      <name>Heading</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/orientation/heading-deg</property>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-45</offset>
        </transformation>
      </transformations>
    </layer>

<!-- HEADING (MAG) -->
<!-- Heading (Magnetic) Title -->
    <layer>
      <name>Title</name>
      <type>text</type>
      <point-size>9</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>literal</type>
          <text>Hdng Mag:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-57</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Heading (Magnetic) -->
    <layer>
      <name>Heading (Magnetic)</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>1</green>
        <blue>1</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property>/orientation/heading-magnetic-deg</property>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-57</offset>
        </transformation>
      </transformations>
    </layer>

  </layers>

  <actions>

    <action>
      <name>Minimise</name>
      <button>0</button>
      <x>35</x>
      <y>50</y>
      <w>20</w>
      <h>9</h>
      <binding>
        <command>property-assign</command>
        <property>/instrumentation/posmonitor/minimised</property>
        <value type="string">true</value>
      </binding>
    </action>
    
  </actions>

</PropertyList>
