A3XX: Again fix condition

This commit is contained in:
Joshua Davidson 2017-06-23 13:49:36 -04:00
parent 32aa1bf5e8
commit 99b0427de6
2 changed files with 78 additions and 86 deletions

View file

@ -35,57 +35,53 @@
<object-name>sidestick-max</object-name> <object-name>sidestick-max</object-name>
<object-name>sidestick-pos</object-name> <object-name>sidestick-pos</object-name>
<condition> <condition>
<and> <or>
<or> <property>/gear/gear[1]/wow</property>
<property>/gear/gear[1]/wow</property> <property>/gear/gear[2]/wow</property>
<property>/gear/gear[2]/wow</property> <and>
<and> <property>/options/pfd/sidestick-pos</property>
<property>/options/pfd/sidestick-pos</property> <equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
</and>
<and>
<or>
<equals> <equals>
<property>/it-autoflight/output/ap1</property> <property>/FMGC/status/phase</property>
<value>0</value> <value>0</value>
</equals> </equals>
<equals> <equals>
<property>/it-autoflight/output/ap1</property> <property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/engines/engine[0]/state</property>
<value>3</value>
</equals>
</and>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value> <value>0</value>
</equals> </equals>
</and>
</or>
<or>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value>
</equals>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals> <equals>
<property>/engines/engine[0]/state</property> <property>/FMGC/status/phase</property>
<value>3</value> <value>1</value>
</equals> </equals>
</and> </or>
<and> <equals>
<or> <property>/engines/engine[1]/state</property>
<equals> <value>3</value>
<property>/FMGC/status/phase</property> </equals>
<value>0</value> </and>
</equals> </or>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/engines/engine[1]/state</property>
<value>3</value>
</equals>
</and>
</or>
</and>
</condition> </condition>
</animation> </animation>

View file

@ -35,57 +35,53 @@
<object-name>sidestick-max</object-name> <object-name>sidestick-max</object-name>
<object-name>sidestick-pos</object-name> <object-name>sidestick-pos</object-name>
<condition> <condition>
<and> <or>
<or> <property>/gear/gear[1]/wow</property>
<property>/gear/gear[1]/wow</property> <property>/gear/gear[2]/wow</property>
<property>/gear/gear[2]/wow</property> <and>
<and> <property>/options/pfd/sidestick-pos</property>
<property>/options/pfd/sidestick-pos</property> <equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
</and>
<and>
<or>
<equals> <equals>
<property>/it-autoflight/output/ap1</property> <property>/FMGC/status/phase</property>
<value>0</value> <value>0</value>
</equals> </equals>
<equals> <equals>
<property>/it-autoflight/output/ap1</property> <property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/engines/engine[0]/state</property>
<value>3</value>
</equals>
</and>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value> <value>0</value>
</equals> </equals>
</and>
</or>
<or>
<and>
<or>
<equals>
<property>/FMGC/status/phase</property>
<value>0</value>
</equals>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals> <equals>
<property>/engines/engine[0]/state</property> <property>/FMGC/status/phase</property>
<value>3</value> <value>1</value>
</equals> </equals>
</and> </or>
<and> <equals>
<or> <property>/engines/engine[1]/state</property>
<equals> <value>3</value>
<property>/FMGC/status/phase</property> </equals>
<value>0</value> </and>
</equals> </or>
<equals>
<property>/FMGC/status/phase</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/engines/engine[1]/state</property>
<value>3</value>
</equals>
</and>
</or>
</and>
</condition> </condition>
</animation> </animation>