1
0
Fork 0
A320-family/Systems/a320-lights.xml
2020-06-03 11:14:50 -04:00

61 lines
1.7 KiB
XML

<?xml version="1.0"?>
<!-- Copyright (c) 2019 Jonathan Redpath (legoboyvdlp) -->
<system name="A320: Lights">
<channel name="Lights">
<switch name="/controls/lighting/reading-light-tied">
<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-tied">
<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-tied">
<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-tied">
<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-tied">
<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-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>
</channel>
</system>