This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Instruments/ECAM/page-wheel.xml

244 lines
5.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Airbus A320 neo for FlightGear -->
<!-- ECAM Engine -->
<PropertyList>
<name>Wheels</name>
<w-base>256</w-base>
<h-base>256</h-base>
<layers>
<layer>
<name>wheel-texture</name>
<w>256</w>
<h>256</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/page-wheel.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
</layer>
2016-12-09 22:15:47 +00:00
<layer>
<name>greentriangle1</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-green-triangle.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>80</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
<condition>
<and>
<equals>
<property>gear/gear[1]/position-norm</property>
<value>1</value>
</equals>
<equals>
<property>controls/lgciu[1]/nlg/isdownlock</property>
<value>1</value>
</equals>
</and>
</condition>
</layer>
<layer>
<name>redtriangle1</name>
<w>50</w>
<h>25</h>
<texture>
<path>Aircraft/A320Family/Models/Instruments/ECAM/res/wheel-red-triangle.png</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1</x2>
<y2>1</y2>
</texture>
<emissive>true</emissive>
<transformations>
<transformation>
<type>y-shift</type>
<offset>80</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
<condition>
<and>
<less-than>
<property>/controls/lgciu[0]/nlgpos</property>
<value>0.99</value>
</less-than>
<greater-than>
<property>/controls/lgciu[0]/nlgpos</property>
<value>0.01</value>
</and>
</condition>
</layer>
<!-- ################################## Bottom #################################-->
<layer>
<type>text</type>
<name>TAT</name>
<color>
<red>0.1</red>
<green>1.0</green>
<blue>0.1</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>environment/temperature-degc</property><!-- There is no TAT temperature property-->
<format type="string">%3.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-110</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80 </offset>
</transformation>
</transformations>
</layer>
<layer>
<type>text</type>
<name>SAT</name>
<color>
<red>0.1</red>
<green>1.0</green>
<blue>0.1</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>environment/temperature-degc</property>
<format type="string">%3.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-124</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-80</offset>
</transformation>
</transformations>
</layer>
<layer>
<type>text</type>
<name>HOUR</name>
<color>
<red>0.1</red>
<green>1.0</green>
<blue>0.1</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>instrumentation/clock/indicated-hour</property>
<format type="string">%3.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-124</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-25</offset>
</transformation>
</transformations>
</layer>
<layer>
<type>text</type>
<name>Minutes</name>
<color>
<red>0.1</red>
<green>1.0</green>
<blue>0.1</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>instrumentation/clock/indicated-min</property>
<format type="string">%3.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-124</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>5</offset>
</transformation>
</transformations>
</layer>
<layer>
<type>text</type>
<name>Gross Weight</name>
<color>
<red>0.1</red>
<green>1.0</green>
<blue>0.1</blue>
</color>
<chunks>
<chunk>
<alignment>left-center</alignment>
<type>number-value</type>
<property>fdm/jsbsim/inertia/weight-lbs</property>
<scale>0.45359237</scale>
<format type="string">%5.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-110</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>74</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>