1
0
Fork 0

GPWS inhibit switch off terrain on ND

This commit is contained in:
Inuyaksa 2021-02-18 00:01:23 +01:00
parent b601fd7c2c
commit 1329bc4dae
2 changed files with 108 additions and 16 deletions

View file

@ -1441,20 +1441,32 @@
<button>0</button>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>0</value>
</equals>
</and>
</condition>
<command>property-toggle</command>
<property>controls/switches/terr_on_nd_l</property>
</binding>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>0</value>
</equals>
</and>
</condition>
<command>property-toggle</command>
<property>instrumentation/efis/inputs/terr</property>
@ -1492,20 +1504,32 @@
<button>0</button>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>0</value>
</equals>
</and>
</condition>
<command>property-toggle</command>
<property>controls/switches/terr_on_nd_r</property>
</binding>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<and>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>0</value>
</equals>
</and>
</condition>
<command>property-toggle</command>
<property>instrumentation/efis[1]/inputs/terr</property>

View file

@ -1698,6 +1698,74 @@
<command>property-toggle</command>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
</binding>
<binding>
<condition>
<and>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/terr_on_nd_l</property>
<value>1</value>
</equals>
</and>
</condition>
<command>property-assign</command>
<property>controls/switches/terr_on_nd_l</property>
<value>0</value>
</binding>
<binding>
<condition>
<and>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>1</value>
</equals>
<equals>
<property>controls/switches/terr_on_nd_r</property>
<value>1</value>
</equals>
</and>
</condition>
<command>property-assign</command>
<property>controls/switches/terr_on_nd_r</property>
<value>0</value>
</binding>
<binding>
<condition>
<and>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>1</value>
</equals>
<equals>
<property>instrumentation/efis/inputs/terr</property>
<value>1</value>
</equals>
</and>
</condition>
<command>property-assign</command>
<property>instrumentation/efis/inputs/terr</property>
<value>0</value>
</binding>
<binding>
<condition>
<and>
<equals>
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>1</value>
</equals>
<equals>
<property>instrumentation/efis[1]/inputs/terr</property>
<value>1</value>
</equals>
</and>
</condition>
<command>property-assign</command>
<property>instrumentation/efis[1]/inputs/terr</property>
<value>0</value>
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>