1
0
Fork 0

Cleanup xml

This commit is contained in:
Jonathan Redpath 2021-12-30 20:33:41 +00:00
parent e32d066631
commit fbe796bc83
3 changed files with 2 additions and 29 deletions

View file

@ -1226,7 +1226,7 @@
</condition>
</animation>
<!-- Direct DC power from DC2 206PP to ECP LEDs -->
<!-- Direct DC power from DC2 206PP to ECP LEDs and rudder trim indicator -->
<animation>
<type>select</type>
<object-name>ecam_apu_led</object-name>
@ -1245,16 +1245,6 @@
<object-name>ecam_press_led</object-name>
<object-name>ecam_sts_led</object-name>
<object-name>ecam_wheel_led</object-name>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-2</property>
<value>25</value>
</greater-than-equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rudder-trim-letter</object-name>
<object-name>rudder-trim</object-name>
<condition>

View file

@ -74,12 +74,4 @@
</input>
<output>/controls/lighting/overhead-panel-norm-digital</output>
</filter>
<filter>
<type>gain</type>
<gain>1.0</gain>
<input>/controls/lighting/annunciator-lights-tied</input>
<output>/controls/lighting/annunciator-lights</output>
</filter>
</PropertyList>

View file

@ -43,23 +43,14 @@
<switch name="/controls/lighting/main-panel-norm-tied">
<default value="0" />
<test value="/controls/lighting/main-panel-knb">
/systems/electrical/bus/ac-1 gt 25
/systems/electrical/bus/ac-1 gt 110
</test>
</switch>
<switch name="/controls/lighting/overhead-panel-norm-tied">
<default value="0" />
<test value="/controls/lighting/overhead-panel-knb">
/systems/electrical/bus/ac-1 gt 25
</test>
</switch>
<switch name="/controls/lighting/annunciator-lights-tied">
<default value="0" />
<test logic="OR" value="1"> <!-- TODO: add static inverter as a source, also dc-2 switching -->
/systems/electrical/bus/ac-1 gt 110
/systems/electrical/bus/ac-2 gt 110
/systems/electrical/bus/dc-2 gt 25
</test>
</switch>