<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    This is the ka51b slaving meter 3d instrument.
    Maintainer: Torsten Dreyer
-->
<PropertyList>

  <path>ka51b.ac</path>

  <animation>
    <object-name>indicator</object-name>
    <object-name>face</object-name>
    <object-name>auto</object-name>
    <object-name>direction</object-name>
    <object-name>direction.pick.ccw</object-name>
    <object-name>direction.pick.cw</object-name>
    <object-name>auto.pick</object-name>
    <object-name>man.pick</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>indicator</object-name>
    <object-name>face</object-name>
    <object-name>auto</object-name>
    <object-name>direction</object-name>
    <object-name>direction.pick.ccw</object-name>
    <object-name>direction.pick.cw</object-name>
    <object-name>auto.pick</object-name>
    <object-name>man.pick</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>indicator</object-name>
    <object-name>face</object-name>
    <object-name>auto</object-name>
    <object-name>direction</object-name>
    <object-name>direction.pick.ccw</object-name>
    <object-name>direction.pick.cw</object-name>
    <object-name>auto.pick</object-name>
    <object-name>man.pick</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>auto</object-name>
    <property>instrumentation/kcs55/ka51/slaved</property>
    <factor> -60 </factor>
    <offset-deg>60</offset-deg>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>direction</object-name>
    <property>instrumentation/kcs55/ka51/manual-slave</property>
    <factor> 30 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>indicator</object-name>
    <property>instrumentation/kcs55/kg102/slaving-meter-norm</property>
    <factor> 0.0021579 </factor>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>auto</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-toggle</command>
        <property>instrumentation/kcs55/ka51/slaved</property>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>direction.pick.ccw</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kcs55/ka51/manual-slave</property>
        <value type="int">-1</value>
      </binding>
      <mod-up>
        <binding>
          <command>property-assign</command>
          <property>instrumentation/kcs55/ka51/manual-slave</property>
          <value type="int">0</value>
        </binding>
      </mod-up>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>direction.pick.cw</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kcs55/ka51/manual-slave</property>
        <value type="int">1</value>
      </binding>
      <mod-up>
        <binding>
          <command>property-assign</command>
          <property>instrumentation/kcs55/ka51/manual-slave</property>
          <value type="int">0</value>
        </binding>
      </mod-up>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>auto.pick</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kcs55/ka51/slaved</property>
        <value type="bool">1</value>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>man.pick</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/kcs55/ka51/slaved</property>
        <value type="bool">0</value>
      </binding>
    </action>
  </animation>

</PropertyList>
