TERR GPWS button switch terr-on-nd off updating only not buttons state
This commit is contained in:
parent
7774678ac0
commit
a09003f642
2 changed files with 22 additions and 63 deletions
|
@ -1446,10 +1446,6 @@
|
||||||
<property>systems/electrical/bus/dc-ess</property>
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
<value>25</value>
|
<value>25</value>
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
<equals>
|
|
||||||
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
|
|
||||||
<value>0</value>
|
|
||||||
</equals>
|
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
|
@ -1509,10 +1505,6 @@
|
||||||
<property>systems/electrical/bus/dc-ess</property>
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
<value>25</value>
|
<value>25</value>
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
<equals>
|
|
||||||
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
|
|
||||||
<value>0</value>
|
|
||||||
</equals>
|
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
|
|
|
@ -1700,50 +1700,10 @@
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
<condition>
|
||||||
<and>
|
|
||||||
<equals>
|
<equals>
|
||||||
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
|
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
</equals>
|
</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>
|
</condition>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>instrumentation/efis/inputs/terr</property>
|
<property>instrumentation/efis/inputs/terr</property>
|
||||||
|
@ -1751,21 +1711,28 @@
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
<condition>
|
||||||
<and>
|
|
||||||
<equals>
|
<equals>
|
||||||
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
|
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
</equals>
|
</equals>
|
||||||
<equals>
|
|
||||||
<property>instrumentation/efis[1]/inputs/terr</property>
|
|
||||||
<value>1</value>
|
|
||||||
</equals>
|
|
||||||
</and>
|
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>instrumentation/efis[1]/inputs/terr</property>
|
<property>instrumentation/efis[1]/inputs/terr</property>
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<equals>
|
||||||
|
<property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
|
||||||
|
<value>0</value>
|
||||||
|
</equals>
|
||||||
|
</condition>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
setprop("instrumentation/efis/inputs/terr",getprop("controls/switches/terr_on_nd_l"));
|
||||||
|
setprop("instrumentation/efis[1]/inputs/terr",getprop("controls/switches/terr_on_nd_r"));
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>libraries.pushbutton();</script>
|
<script>libraries.pushbutton();</script>
|
||||||
|
|
Loading…
Reference in a new issue