1
0
Fork 0

OHPanel: next row

This commit is contained in:
Jonathan Redpath 2022-02-19 15:16:13 +00:00
parent 2bced79370
commit 5e9bdcfc40
4 changed files with 600 additions and 514 deletions

View file

@ -1131,17 +1131,17 @@
</navigation>
<OH>
<protectors>
<ditching type="bool">0</ditching>
<elecratman type="bool">0</elecratman>
<eng1-manstart type="bool">0</eng1-manstart>
<eng2-manstart type="bool">0</eng2-manstart>
<eng1-n1 type="bool">0</eng1-n1>
<eng2-n1 type="bool">0</eng2-n1>
<idg1 type="bool">0</idg1>
<idg2 type="bool">0</idg2>
<maskman type="bool">0</maskman>
<ramair type="bool">0</ramair>
<ratman type="bool">0</ratman>
<ditching type="int">0</ditching>
<elecratman type="int">0</elecratman>
<eng1-manstart type="int">0</eng1-manstart>
<eng2-manstart type="int">0</eng2-manstart>
<eng1-n1 type="int">0</eng1-n1>
<eng2-n1 type="int">0</eng2-n1>
<idg1 type="int">0</idg1>
<idg2 type="int">0</idg2>
<maskman type="int">0</maskman>
<ramair type="int">0</ramair>
<ratman type="int">0</ratman>
</protectors>
</OH>
<oxygen>
@ -1662,6 +1662,7 @@
<cabinalt-norm type="double">0</cabinalt-norm>
<cabinpsi type="double">14.7</cabinpsi>
<ditchingpb type="double">14.7</ditchingpb>
<outflowpos-man-sw type="int">0</outflowpos-man-sw>
</pressurization>
<pitot n="0">

View file

@ -13689,6 +13689,584 @@
</hovered>
</animation>
<!-- Anti-ice -->
<animation>
<type>pick</type>
<object-name>WingAntiIceBtn</object-name>
<object-name>WingAntiIceBtn1F</object-name>
<object-name>WingAntiIceBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess-shed</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>controls/ice-protection/wing</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/wing-aice-translate</property>
<value>0.00075</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/wing-aice-translate</property>
<value>0.0</value>
</binding>
</mod-up>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>wngaice-lbl</tooltip-id>
<label>Wing anti-ice control</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>WingAntiIceBtn</object-name>
<object-name>WingAntiIceBtn1F</object-name>
<object-name>WingAntiIceBtn2O</object-name>
<property>/controls/cockpit/wing-aice-translate</property>
<axis>
<x1-m>-0.13646</x1-m>
<y1-m>0.000025</y1-m>
<z1-m>0.904695</z1-m>
<x2-m>-0.14011</x2-m>
<y2-m>0.000025</y2-m>
<z2-m>0.914005</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>WingAntiIceBtn1F</object-name>
<condition>
<or>
<property>controls/ice-protection/wingfault</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>WingAntiIceBtn2O</object-name>
<condition>
<or>
<property>controls/ice-protection/wing</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<name>Left Engine Anti-ice Pick</name>
<type>pick</type>
<object-name>Eng1AntiIceBtn</object-name>
<object-name>Eng1AntiIceBtn1F</object-name>
<object-name>Eng1AntiIceBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-1</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>controls/ice-protection/leng</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/leng-aice-translate</property>
<value>0.00075</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/leng-aice-translate</property>
<value>0.0</value>
</binding>
</mod-up>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>lengaice-lbl</tooltip-id>
<label>Left engine anti-ice control</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>Eng1AntiIceBtn</object-name>
<object-name>Eng1AntiIceBtn1F</object-name>
<object-name>Eng1AntiIceBtn2O</object-name>
<property>/controls/cockpit/leng-aice-translate</property>
<axis>
<x1-m>-0.13646</x1-m>
<y1-m>0.000025</y1-m>
<z1-m>0.904695</z1-m>
<x2-m>-0.14011</x2-m>
<y2-m>0.000025</y2-m>
<z2-m>0.914005</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>Eng1AntiIceBtn1F</object-name>
<condition>
<or>
<property>controls/ice-protection/lengfault</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Eng1AntiIceBtn2O</object-name>
<condition>
<or>
<property>controls/ice-protection/leng</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<name>Right Engine Anti-ice Pick</name>
<type>pick</type>
<object-name>Eng2AntiIceBtn</object-name>
<object-name>Eng2AntiIceBtn1F</object-name>
<object-name>Eng2AntiIceBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-2</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>controls/ice-protection/reng</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/reng-aice-translate</property>
<value>0.00075</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/reng-aice-translate</property>
<value>0.0</value>
</binding>
</mod-up>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>rengaice-lbl</tooltip-id>
<label>Right engine anti-ice control</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>Eng2AntiIceBtn</object-name>
<object-name>Eng2AntiIceBtn1F</object-name>
<object-name>Eng2AntiIceBtn2O</object-name>
<property>/controls/cockpit/reng-aice-translate</property>
<axis>
<x1-m>-0.13646</x1-m>
<y1-m>0.000025</y1-m>
<z1-m>0.904695</z1-m>
<x2-m>-0.14011</x2-m>
<y2-m>0.000025</y2-m>
<z2-m>0.914005</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>Eng2AntiIceBtn1F</object-name>
<condition>
<or>
<property>controls/ice-protection/rengfault</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Eng2AntiIceBtn2O</object-name>
<condition>
<or>
<property>controls/ice-protection/reng</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<name>Window Probe Heat Toggle</name>
<type>pick</type>
<object-name>PrbWinHeatBtn</object-name>
<object-name>PrbWinHeatBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-cycle</command>
<property>controls/ice-protection/windowprobeheat</property>
<value>0</value>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/prb-ht-translate</property>
<value>0.00075</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/prb-ht-translate</property>
<value>0.0</value>
</binding>
</mod-up>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>prbht-lbl</tooltip-id>
<label>Window + Probe heat toggle on / auto</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>PrbWinHeatBtn</object-name>
<object-name>PrbWinHeatBtn2O</object-name>
<property>/controls/cockpit/prb-ht-translate</property>
<axis>
<x1-m>-0.13646</x1-m>
<y1-m>0.000025</y1-m>
<z1-m>0.904695</z1-m>
<x2-m>-0.14011</x2-m>
<y2-m>0.000025</y2-m>
<z2-m>0.914005</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>PrbWinHeatBtn2O</object-name>
<condition>
<or>
<property>controls/ice-protection/windowprobeheat</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<!-- Cabin Pressurization -->
<animation>
<type>knob</type>
<object-name>ManVSCTLSwitch</object-name>
<property>controls/cockpit/outflowpos-man-sw-pos</property>
<factor>30</factor>
<axis>
<object-name>ManVSCTLSwitch.axis</object-name>
</axis>
<increase>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>libraries.increaseManVS();</script>
</binding>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>1</value>
</binding>
</increase>
<decrease>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>libraries.decreaseManVS();</script>
</binding>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>-1</value>
</binding>
</decrease>
<release>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>0</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</release>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>manvs-lbl</tooltip-id>
<label>Manual pressurization control</label>
</binding>
</hovered>
</animation>
<animation>
<type>pick</type>
<object-name>CabinPressModeBtn</object-name>
<object-name>CabinPressModeBtn1F</object-name>
<object-name>CabinPressModeBtn2M</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>systems/pressurization/auto</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/cab-press-man-translate</property>
<value>0.00075</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/cab-press-man-translate</property>
<value>0.0</value>
</binding>
</mod-up>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>pressmode-lbl</tooltip-id>
<label>Pressurization mode toggle</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>CabinPressModeBtn</object-name>
<object-name>CabinPressModeBtn1F</object-name>
<object-name>CabinPressModeBtn2M</object-name>
<property>/controls/cockpit/cab-press-man-translate</property>
<axis>
<x1-m>-0.13646</x1-m>
<y1-m>0.000025</y1-m>
<z1-m>0.904695</z1-m>
<x2-m>-0.14011</x2-m>
<y2-m>0.000025</y2-m>
<z2-m>0.914005</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>CabinPressModeBtn1F</object-name>
<condition>
<or>
<property>systems/failures/pneumatics/pack-2-valve</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>CabinPressModeBtn2M</object-name>
<condition>
<or>
<not><property>systems/pressurization/auto</property></not>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>
<animation>
<type>pick</type>
<object-name>DitchBtn</object-name>
<object-name>DitchBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<and>
<equals>
<property>controls/OH/protectors/ditching</property>
<value>1</value>
</equals>
<or>
<greater-than-equals>
<property>systems/electrical/bus/dc-bat</property>
<value>25</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</or>
</and>
</condition>
<command>property-toggle</command>
<property>systems/pressurization/ditchingpb</property>
</binding>
<binding>
<condition>
<equals>
<property>controls/OH/protectors/ditching</property>
<value>1</value>
</equals>
</condition>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
<binding>
<condition>
<equals>
<property>controls/OH/protectors/ditching</property>
<value>1</value>
</equals>
</condition>
<command>property-assign</command>
<property>/controls/cockpit/ditching-translate</property>
<value>0.00075</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/cockpit/ditching-translate</property>
<value>0.0</value>
</binding>
</mod-up>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>ditch-lbl</tooltip-id>
<label>Ditching pushbutton</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>DitchBtn</object-name>
<object-name>DitchBtn2O</object-name>
<property>/controls/cockpit/ditching-translate</property>
<axis>
<x1-m>-0.13646</x1-m>
<y1-m>0.000025</y1-m>
<z1-m>0.904695</z1-m>
<x2-m>-0.14011</x2-m>
<y2-m>0.000025</y2-m>
<z2-m>0.914005</z2-m>
</axis>
</animation>
<animation>
<type>knob</type>
<object-name>DitchProt</object-name>
<property>controls/OH/protectors/ditching-pos</property>
<factor>-145</factor>
<axis>
<object-name>DitchProt.axis</object-name>
</axis>
<action>
<binding>
<command>property-cycle</command>
<property>controls/OH/protectors/ditching</property>
<value>0</value>
<value>1</value>
<wrap>false</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>ditch_guard-lbl</tooltip-id>
<label>Ditching guard</label>
</binding>
</hovered>
</animation>
<animation>
<type>select</type>
<object-name>DitchBtn2O</object-name>
<condition>
<or>
<property>systems/pressurization/ditchingpb</property>
<property>controls/switches/annun-test</property>
</or>
</condition>
</animation>

View file

@ -4236,511 +4236,8 @@
</or>
</condition>
</animation>
<!-- Cabin Pressurization -->
<animation>
<type>pick</type>
<object-name>ManVSCTLSwitch</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>libraries.increaseManVS();</script>
</binding>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>0</value>
</binding>
</mod-up>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>libraries.decreaseManVS();</script>
</binding>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>-1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>0</value>
</binding>
</mod-up>
</action>
<action>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>libraries.increaseManVS();</script>
</binding>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>0</value>
</binding>
</mod-up>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>libraries.decreaseManVS();</script>
</binding>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>-1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>systems/pressurization/outflowpos-man-sw</property>
<value>0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<name>Man VS rotate</name>
<type>rotate</type>
<object-name>ManVSCTLSwitch</object-name>
<property>systems/pressurization/outflowpos-man-sw</property>
<interpolation>
<entry><ind>-1</ind><dep>-35</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>35</dep></entry>
</interpolation>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<center>
<x-m>-0.01</x-m>
<y-m> 0.0433</y-m>
<z-m>-0.2186</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>CabinPressModeBtn</object-name>
<object-name>CabinPressModeBtn1F</object-name>
<object-name>CabinPressModeBtn2M</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>systems/pressurization/auto</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
</action>
</animation>
<animation>
<type>select</type>
<object-name>CabinPressModeBtn1F</object-name>
<condition>
<or>
<equals>
<property>systems/failures/pneumatics/pack-2-valve</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>CabinPressModeBtn2M</object-name>
<condition>
<or>
<equals>
<property>systems/pressurization/auto</property>
<value>0</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>pick</type>
<object-name>DitchBtn1</object-name>
<object-name>DitchBtn2</object-name>
<object-name>DitchBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<and>
<equals>
<property>controls/OH/protectors/ditching</property>
<value>1</value>
</equals>
<or>
<greater-than-equals>
<property>systems/electrical/bus/dc-bat</property>
<value>25</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</or>
</and>
</condition>
<command>property-toggle</command>
<property>systems/pressurization/ditchingpb</property>
</binding>
<binding>
<condition>
<equals>
<property>controls/OH/protectors/ditching</property>
<value>1</value>
</equals>
</condition>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
<binding>
<condition>
<equals>
<property>controls/OH/protectors/ditching</property>
<value>1</value>
</equals>
</condition>
<command>property-assign</command>
<property>controls/OH/protectors/ditching</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>DitchBtn1</object-name>
<object-name>DitchBtn2</object-name>
<object-name>DitchBtn2O</object-name>
<object-name>DitchProt</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/OH/protectors/ditching</property>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>DitchProt</object-name>
<property>controls/OH/protectors/ditching</property>
<factor>-145</factor>
<axis>
<x1-m>-0.00898</x1-m>
<y1-m>0.13197</y1-m>
<z1-m>-0.20489</z1-m>
<x2-m>-0.00898</x2-m>
<y2-m>0.15493</y2-m>
<z2-m>-0.20489</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>DitchBtn2O</object-name>
<condition>
<or>
<equals>
<property>systems/pressurization/ditchingpb</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<!-- Anti-ice -->
<!-- Eng and Wing -->
<animation>
<name>Wing Anti-ice Pick</name>
<type>pick</type>
<object-name>WingAntiIceBtn1</object-name>
<object-name>WingAntiIceBtn1F</object-name>
<object-name>WingAntiIceBtn2</object-name>
<object-name>WingAntiIceBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess-shed</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>controls/ice-protection/wing</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
</action>
</animation>
<animation>
<type>select</type>
<object-name>WingAntiIceBtn1F</object-name>
<condition>
<or>
<equals>
<property>controls/ice-protection/wingfault</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>WingAntiIceBtn2O</object-name>
<condition>
<or>
<equals>
<property>controls/ice-protection/wing</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<name>Left Engine Anti-ice Pick</name>
<type>pick</type>
<object-name>Eng1AntiIceBtn1</object-name>
<object-name>Eng1AntiIceBtn1F</object-name>
<object-name>Eng1AntiIceBtn2</object-name>
<object-name>Eng1AntiIceBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-1</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>controls/ice-protection/leng</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
</action>
</animation>
<animation>
<type>select</type>
<object-name>Eng1AntiIceBtn1F</object-name>
<condition>
<or>
<equals>
<property>controls/ice-protection/lengfault</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Eng1AntiIceBtn2O</object-name>
<condition>
<or>
<equals>
<property>controls/ice-protection/leng</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<name>Right Engine Anti-ice Pick</name>
<type>pick</type>
<object-name>Eng2AntiIceBtn1</object-name>
<object-name>Eng2AntiIceBtn1F</object-name>
<object-name>Eng2AntiIceBtn2</object-name>
<object-name>Eng2AntiIceBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-2</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>controls/ice-protection/reng</property>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
</action>
</animation>
<animation>
<type>select</type>
<object-name>Eng2AntiIceBtn1F</object-name>
<condition>
<or>
<equals>
<property>controls/ice-protection/rengfault</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Eng2AntiIceBtn2O</object-name>
<condition>
<or>
<equals>
<property>controls/ice-protection/reng</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<!-- Window Heat and Probe Button -->
<!-- 0.5 is auto, 1 is on -->
<animation>
<name>Window Probe Heat Toggle</name>
<type>pick</type>
<object-name>PrbWinHeatBtn1</object-name>
<object-name>PrbWinHeatBtn2</object-name>
<object-name>PrbWinHeatBtn2O</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-cycle</command>
<property>controls/ice-protection/windowprobeheat</property>
<value>0</value>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
</binding>
</action>
</animation>
<animation>
<type>select</type>
<object-name>PrbWinHeatBtn2O</object-name>
<condition>
<or>
<equals>
<property>controls/ice-protection/windowprobeheat</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<!-- Cabin Fans -->
<animation>

View file

@ -329,6 +329,16 @@
<input>/controls/atc/abv-blw</input>
<c1>20</c1>
</lag_filter>
<lag_filter name="/controls/cockpit/outflowpos-man-sw-pos">
<input>/systems/pressurization/outflowpos-man-sw</input>
<c1>20</c1>
</lag_filter>
<lag_filter name="/controls/OH/protectors/ditching-pos">
<input>/controls/OH/protectors/ditching</input>
<c1>20</c1>
</lag_filter>
</channel>