17a1aee4e4
When WP1 is invalid, hide most data since it's bogus.
195 lines
No EOL
4.3 KiB
XML
195 lines
No EOL
4.3 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<!-- GPS waypoint -->
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<format>GPS OBS:%5s</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[1]/ID</property>
|
|
</input>
|
|
|
|
<condition>
|
|
<equals>
|
|
<property>/instrumentation/gps/mode</property>
|
|
<value>obs</value>
|
|
</equals>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<x>80</x>
|
|
<format>(TO)</format>
|
|
<halign>left</halign>
|
|
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/instrumentation/gps/mode</property>
|
|
<value>obs</value>
|
|
</equals>
|
|
<not><property>/instrumentation/gps/from-flag</property></not>
|
|
</and>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<x>80</x>
|
|
<format>(FROM)</format>
|
|
<halign>left</halign>
|
|
|
|
<condition>
|
|
<and>
|
|
<equals>
|
|
<property>/instrumentation/gps/mode</property>
|
|
<value>obs</value>
|
|
</equals>
|
|
<property>/instrumentation/gps/from-flag</property>
|
|
</and>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<format>GPS DTO:%5s</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[1]/ID</property>
|
|
</input>
|
|
|
|
<condition>
|
|
<property>/instrumentation/gps/wp/wp[1]/valid</property>
|
|
<equals>
|
|
<property>/instrumentation/gps/mode</property>
|
|
<value>dto</value>
|
|
</equals>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<format>GPS LEG:%5s</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[0]/ID</property>
|
|
</input>
|
|
|
|
<condition>
|
|
<property>/instrumentation/gps/wp/wp[1]/valid</property>
|
|
<equals>
|
|
<property>/instrumentation/gps/mode</property>
|
|
<value>leg</value>
|
|
</equals>
|
|
</condition>
|
|
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<x>80</x>
|
|
<format>->%5s</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[1]/ID</property>
|
|
</input>
|
|
|
|
<condition>
|
|
<property>/instrumentation/gps/wp/wp[1]/valid</property>
|
|
<equals>
|
|
<property>/instrumentation/gps/mode</property>
|
|
<value>leg</value>
|
|
</equals>
|
|
</condition>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<y>-10</y>
|
|
<format>D: %4.1fnm</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[1]/distance-nm</property>
|
|
</input>
|
|
<condition>
|
|
<property>/instrumentation/gps/wp/wp[1]/valid</property>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<x>60</x>
|
|
<y>-10</y>
|
|
<format>TTW:%s</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[1]/TTW</property>
|
|
</input>
|
|
<condition>
|
|
<property>/instrumentation/gps/wp/wp[1]/valid</property>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<y>-20</y>
|
|
<format>BRG:%03d</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[1]/bearing-mag-deg</property>
|
|
</input>
|
|
<condition>
|
|
<property>/instrumentation/gps/wp/wp[1]/valid</property>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<y>-20</y>
|
|
<x>60</x>
|
|
<format>XTK: %2.1fnm</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/wp/wp[1]/course-error-nm</property>
|
|
</input>
|
|
|
|
<condition>
|
|
<property>/instrumentation/gps/wp/wp[1]/valid</property>
|
|
<greater-than>
|
|
<expression>
|
|
<abs><property>/instrumentation/gps/wp/wp[1]/course-error-nm</property></abs>
|
|
</expression>
|
|
<value>0.1</value>
|
|
</greater-than>
|
|
</condition>
|
|
</label>
|
|
|
|
<label>
|
|
<width>2</width>
|
|
<height>2</height>
|
|
<y>-30</y>
|
|
<format>GS:%3dkts</format>
|
|
<halign>left</halign>
|
|
<input>
|
|
<property>/instrumentation/gps/indicated-ground-speed-kt</property>
|
|
</input>
|
|
</label>
|
|
</PropertyList>
|
|
|