2019-10-14 16:48:35 +00:00
|
|
|
<!-- Copyright (c) 2019 Jonathan Redpath (legoboyvdlp) -->
|
|
|
|
|
|
|
|
<system name="A320: Lights">
|
|
|
|
|
2020-07-19 13:01:13 +00:00
|
|
|
<channel name="Interior Lights" execrate="8">
|
2019-10-31 19:13:20 +00:00
|
|
|
<switch name="/controls/lighting/reading-light-tied">
|
2019-10-14 16:48:35 +00:00
|
|
|
<default value="0" />
|
|
|
|
<test value="/controls/lighting/main-flood-knb">
|
|
|
|
/systems/electrical/bus/dc-1 gt 25
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-31 19:13:20 +00:00
|
|
|
<switch name="/controls/lighting/panel-light-tied">
|
2019-10-14 16:48:35 +00:00
|
|
|
<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>
|
|
|
|
|
2019-10-31 19:13:20 +00:00
|
|
|
<switch name="/controls/lighting/pedestal-light-tied">
|
2019-10-14 16:48:35 +00:00
|
|
|
<default value="0" />
|
|
|
|
<test value="/controls/lighting/ped-flood-knb">
|
|
|
|
/systems/electrical/bus/dc-1 gt 25
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-31 19:13:20 +00:00
|
|
|
<switch name="/controls/lighting/fcu-panel-norm-tied">
|
2019-10-14 16:48:35 +00:00
|
|
|
<default value="0" />
|
|
|
|
<test value="/controls/lighting/fcu-panel-knb">
|
2021-12-30 20:22:54 +00:00
|
|
|
/systems/electrical/bus/ac-1 gt 110
|
2019-10-14 16:48:35 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2021-07-28 18:03:06 +00:00
|
|
|
<switch name="/controls/lighting/fcu-digit-norm-tied">
|
|
|
|
<default value="0" />
|
2021-12-30 20:22:54 +00:00
|
|
|
<test logic="OR" value="/controls/lighting/fcu-digit-knb">
|
|
|
|
/systems/electrical/bus/ac-si-bus ge 110
|
|
|
|
/systems/electrical/bus/ac-ess-shed ge 110
|
2021-07-28 18:03:06 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-31 19:13:20 +00:00
|
|
|
<switch name="/controls/lighting/main-panel-norm-tied">
|
2019-10-14 16:48:35 +00:00
|
|
|
<default value="0" />
|
|
|
|
<test value="/controls/lighting/main-panel-knb">
|
2021-12-30 20:33:41 +00:00
|
|
|
/systems/electrical/bus/ac-1 gt 110
|
2019-10-14 16:48:35 +00:00
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-31 19:13:20 +00:00
|
|
|
<switch name="/controls/lighting/overhead-panel-norm-tied">
|
2019-10-14 16:48:35 +00:00
|
|
|
<default value="0" />
|
|
|
|
<test value="/controls/lighting/overhead-panel-knb">
|
|
|
|
/systems/electrical/bus/ac-1 gt 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
2020-07-12 13:53:15 +00:00
|
|
|
|
|
|
|
<switch name="/sim/model/lights/dome-light">
|
|
|
|
<default value="0" />
|
|
|
|
<test logic="AND" value="0.5">
|
|
|
|
/controls/lighting/dome-norm eq 0.5
|
|
|
|
/systems/electrical/bus/dc-ess ge 25
|
|
|
|
</test>
|
|
|
|
<test logic="AND" value="1.0">
|
|
|
|
/controls/lighting/dome-norm eq 1.0
|
|
|
|
/systems/electrical/bus/dc-ess ge 25
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
</channel>
|
|
|
|
|
2020-07-19 13:01:13 +00:00
|
|
|
<channel name="Exterior Lights" execrate="8">
|
2020-07-12 13:53:15 +00:00
|
|
|
|
|
|
|
<switch name="/sim/model/lights/nose-lights">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/lighting/taxi-light-switch eq 1
|
|
|
|
/gear/gear[0]/position-norm gt 0.8
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
<test logic="AND" value="0.85">
|
|
|
|
/controls/lighting/taxi-light-switch eq 0.5
|
|
|
|
/gear/gear[0]/position-norm gt 0.8
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="controls/lighting/leftturnoff">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/lighting/turnoff-light-switch eq 1
|
|
|
|
/gear/gear[0]/position-norm gt 0.8
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/rightturnoff">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/lighting/turnoff-light-switch eq 1
|
|
|
|
/gear/gear[0]/position-norm gt 0.8
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/rightturnoff">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/lighting/turnoff-light-switch eq 1
|
|
|
|
/gear/gear[0]/position-norm gt 0.8
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/systems/electrical/nav-lights-power">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="1">
|
|
|
|
/systems/electrical/bus/dc-1 ge 25
|
|
|
|
/systems/electrical/bus/dc-2 ge 25
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/sim/model/lights/logo-lights">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
<test logic="OR">
|
|
|
|
/controls/lighting/nav-lights-switch eq 1
|
|
|
|
/controls/lighting/nav-lights-switch eq 2
|
|
|
|
</test>
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
<test logic="OR">
|
2021-08-23 19:16:59 +00:00
|
|
|
fcs/flap-pos-deg ge 15
|
2020-07-12 13:53:15 +00:00
|
|
|
/gear/gear[2]/wow eq 1
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/sim/model/lights/nav-lights">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
<test logic="OR">
|
|
|
|
/controls/lighting/nav-lights-switch eq 1
|
|
|
|
/controls/lighting/nav-lights-switch eq 2
|
|
|
|
</test>
|
|
|
|
/systems/electrical/nav-lights-power eq 1
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/strobe">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/switches/strobe eq 1
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/switches/strobe eq 0.5
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
/gear/gear[1]/wow eq 0
|
|
|
|
/gear/gear[2]/wow eq 0
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/beacon">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/switches/beacon eq 1
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/wing-lights">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/switches/wing-lights eq 1
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/landing-lights[1]">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/switches/landing-lights-l eq 1
|
|
|
|
/systems/electrical/bus/ac-1 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/landing-lights[2]">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/switches/landing-lights-r eq 1
|
|
|
|
/systems/electrical/bus/ac-2 ge 110
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
|
|
|
|
<switch name="/fdm/jsbsim/rubbish/landL">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/lighting/landing-lights[1] ge 0.5
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/fdm/jsbsim/rubbish/landR">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/lighting/landing-lights[2] ge 0.5
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
2019-10-14 16:48:35 +00:00
|
|
|
</channel>
|
2022-01-02 17:24:59 +00:00
|
|
|
|
|
|
|
<channel name="Signs">
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/no-smoking-sign">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/dc-ess ge 25
|
|
|
|
/systems/electrical/bus/dc-service-bus ge 25
|
|
|
|
</test>
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/pressurization/cabinalt-norm ge 11300
|
|
|
|
/controls/switches/no-smoking-sign eq 1
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
/controls/switches/no-smoking-sign eq 0.5
|
|
|
|
/gear/gear[0]/position-norm eq 1
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/dc-ess ge 25
|
|
|
|
/systems/electrical/bus/dc-service-bus ge 25
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<switch name="/controls/lighting/seatbelt-sign">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="AND" value="1">
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/electrical/bus/dc-ess ge 25
|
|
|
|
/systems/electrical/bus/dc-service-bus ge 25
|
|
|
|
</test>
|
|
|
|
<test logic="OR">
|
|
|
|
/systems/pressurization/cabinalt-norm ge 11300
|
|
|
|
/controls/switches/seatbelt-sign eq 1
|
|
|
|
</test>
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
</channel>
|
2019-10-14 16:48:35 +00:00
|
|
|
|
|
|
|
</system>
|