<?xml version="1.0"?>

<!--

-->

<PropertyList>

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

  <params>
    <th-select>/controls/engines/engine[0]/throttle</th-select>
    <pt-select>/engines/engine[0]/prop-thrust</pt-select>
    <n1-select>/engines/engine[0]/n1</n1-select>
    <n2-select>/engines/engine[0]/n2</n2-select>
    <egt-select>/engines/engine[0]/egt-degf</egt-select>
    <ff-select>/engines/engine[0]/fuel-flow-gph</ff-select>
  </params>

  <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>ENG 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>

<!-- THROTTLE -->
<!-- Throttle 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>Throttle:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>39</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Throttle Setting -->
    <layer>
      <name>Throttle setting</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 alias="../../../../../params/th-select"/>
          <format>%1.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>18</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>39</offset>
        </transformation>
      </transformations>
    </layer>

<!-- PTHRUST -->
<!-- PThrust 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>P Thrust:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>27</offset>
        </transformation>
      </transformations>
    </layer>

<!-- P Thrust -->
    <layer>
      <name>P Thrust</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 alias="../../../../../params/pt-select"/>
          <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>

<!-- N1 -->
<!-- N1 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>N1:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- N1 <= 100 -->
    <layer>
      <condition>
        <less-than-equals>
          <property>/engines/engine[0]/n1</property>
          <value>100.0</value>
        </less-than-equals>
      </condition>
      <name>N1</name>
      <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 alias="../../../../../params/n1-select"/>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- N1 <= 90 -->
    <layer>
      <condition>
        <less-than-equals>
          <property>/engines/engine[0]/n1</property>
          <value>90.0</value>
        </less-than-equals>
      </condition>
      <name>N1</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>0</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property alias="../../../../../params/n1-select"/>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- N1 > 100 -->
    <layer>
      <condition>
        <greater-than>
          <property>/engines/engine[0]/n1</property>
          <value>100.0</value>
        </greater-than>
      </condition>
      <name>N1</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>0</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property alias="../../../../../params/n1-select"/>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>15</offset>
        </transformation>
      </transformations>
    </layer>

<!-- N2 -->
<!-- N2 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>N2:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- N2 <= 100 -->
    <layer>
      <condition>
        <less-than-equals>
          <property>/engines/engine[0]/n2</property>
          <value>100.0</value>
        </less-than-equals>
      </condition>
      <name>N2</name>
      <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 alias="../../../../../params/n2-select"/>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- N2 <= 90 -->
    <layer>
      <condition>
        <less-than-equals>
          <property>/engines/engine[0]/n2</property>
          <value>90.0</value>
        </less-than-equals>
      </condition>
      <name>N2</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>0</red>
        <green>1</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property alias="../../../../../params/n2-select"/>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- N2 > 100 -->
    <layer>
      <condition>
        <greater-than>
          <property>/engines/engine[0]/n2</property>
          <value>100.0</value>
        </greater-than>
      </condition>
      <name>N2</name>
      <type>text</type>
      <font>led</font>
      <point-size>4</point-size>
      <color>
        <red>1</red>
        <green>0</green>
        <blue>0</blue>
      </color>
      <chunks>
        <chunk>
          <type>number-value</type>
          <property alias="../../../../../params/n2-select"/>
          <format>%07.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>7</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>3</offset>
        </transformation>
      </transformations>
    </layer>

<!-- EGT -->
<!-- EGT 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>EGT:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-9</offset>
        </transformation>
      </transformations>
    </layer>

<!-- EGT -->
    <layer>
      <name>EGT</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 alias="../../../../../params/egt-select"/> -->
          <property>/engines/engine[0]/egt-degf</property>
          <format>%08.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>1</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-9</offset>
        </transformation>
      </transformations>
    </layer>

<!-- FUEL FLOW -->
<!-- Fuel Flow 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>FF-GPH:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-21</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Fuel Flow -->
    <layer>
      <name>Fuel FLow</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 alias="../../../../../params/ff-select"/>
          <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>

<!-- FUEL TOT GALS -->
<!-- Fuel Total Gallons 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>F Tot Gal:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-33</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Fuel Total Gallons (Norm >= 0.3) -->
    <layer>
      <name>Fuel Total Galons norm GTE 0.3</name>
      <condition>
        <greater-than-equals>
          <property>/consumables/fuel/total-fuel-norm</property>
          <value>0.3</value>
        </greater-than-equals>
      </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>/consumables/fuel/total-fuel-gals</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>

<!-- Fuel Total Gallons (Norm < 0.3) -->
    <layer>
      <name>Fuel Total Galons norm LT 0.3</name>
      <condition>
        <less-than>
          <property>/consumables/fuel/total-fuel-norm</property>
          <value>0.3</value>
        </less-than>
      </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>/consumables/fuel/total-fuel-gals</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>

<!-- FUEL TOT LBS -->
<!-- Fuel Total LBS 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>F Tot lbs:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-45</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Fuel Total LBS (norm >= 0.3) -->
    <layer>
      <name>Fuel Total LBS norm GTE 0.3</name>
      <condition>
        <greater-than-equals>
          <property>/consumables/fuel/total-fuel-norm</property>
          <value>0.3</value>
        </greater-than-equals>
      </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>/consumables/fuel/total-fuel-lbs</property>
          <format>%08.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>1</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-45</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Fuel Total LBS (norm < 0.3) -->
    <layer>
      <name>Fuel Total LBS norm LT 0.3</name>
      <condition>
        <less-than>
          <property>/consumables/fuel/total-fuel-norm</property>
          <value>0.3</value>
        </less-than>
      </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>/consumables/fuel/total-fuel-lbs</property>
          <format>%08.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>1</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-45</offset>
        </transformation>
      </transformations>
    </layer>

<!-- FUEL TOT NORM -->
<!-- Fuel Total Norm 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>F Prop:</text>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>-53</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-57</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Fuel Norm >= 0.3 -->
    <layer>
      <name>Fuel Norm GTE 0.3</name>
      <condition>
        <greater-than-equals>
          <property>/consumables/fuel/total-fuel-norm</property>
          <value>0.3</value>
        </greater-than-equals>
      </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>/consumables/fuel/total-fuel-norm</property>
          <format>%05.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>18</offset>
        </transformation>
        <transformation>
          <type>y-shift</type>
          <offset>-57</offset>
        </transformation>
      </transformations>
    </layer>

<!-- Fuel Norm < 0.3 -->
    <layer>
      <name>Fuel Norm LT 0.3</name>
      <condition>
        <less-than>
          <property>/consumables/fuel/total-fuel-norm</property>
          <value>0.3</value>
        </less-than>
      </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>/consumables/fuel/total-fuel-norm</property>
          <format>%05.3f</format>
        </chunk>
      </chunks>
      <transformations>
        <transformation>
          <type>x-shift</type>
          <offset>18</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/engmonitor/minimised</property>
        <value type="string">true</value>
      </binding>
    </action>
    
  </actions>

</PropertyList>
