60 lines
1.6 KiB
XML
60 lines
1.6 KiB
XML
|
<!-- Copyright (c) 2019 Jonathan Redpath (legoboyvdlp) -->
|
||
|
|
||
|
<system name="A320: Lights">
|
||
|
|
||
|
<channel name="Lights">
|
||
|
<switch name="/controls/lighting/reading-light">
|
||
|
<default value="0" />
|
||
|
<test value="/controls/lighting/main-flood-knb">
|
||
|
/systems/electrical/bus/dc-1 gt 25
|
||
|
</test>
|
||
|
</switch>
|
||
|
|
||
|
<switch name="/controls/lighting/panel-light">
|
||
|
<default value="0" />
|
||
|
<test logic="OR" value="/controls/lighting/main-flood-knb">
|
||
|
/systems/electrical/bus/dc-ess gt 25
|
||
|
/systems/electrical/bus/dc-1 gt 25
|
||
|
</test>
|
||
|
</switch>
|
||
|
|
||
|
<switch name="/controls/lighting/pedestal-light">
|
||
|
<default value="0" />
|
||
|
<test value="/controls/lighting/ped-flood-knb">
|
||
|
/systems/electrical/bus/dc-1 gt 25
|
||
|
</test>
|
||
|
</switch>
|
||
|
|
||
|
<switch name="/controls/lighting/fcu-panel-norm">
|
||
|
<default value="0" />
|
||
|
<test value="/controls/lighting/fcu-panel-knb">
|
||
|
/systems/electrical/bus/ac-1 gt 25
|
||
|
</test>
|
||
|
</switch>
|
||
|
|
||
|
<switch name="/controls/lighting/main-panel-norm">
|
||
|
<default value="0" />
|
||
|
<test value="/controls/lighting/main-panel-knb">
|
||
|
/systems/electrical/bus/ac-1 gt 25
|
||
|
</test>
|
||
|
</switch>
|
||
|
|
||
|
<switch name="/controls/lighting/overhead-panel-norm">
|
||
|
<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">
|
||
|
<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>
|
||
|
</channel>
|
||
|
|
||
|
</system>
|