<?xml version="1.0"?>
<PropertyList> 
  <path>chronograph.ac</path>

  <animation>
    <type>select</type>
    <object-name>clock</object-name>
    <condition>
      <equals>
        <property>sim/current-view/name</property>
        <value>Cockpit View</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>HourHand</object-name>
    <property>instrumentation/clock/indicated-sec</property>
    <factor>0.00833333333333333</factor>
    <axis> 
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>rotate</type>
    <object-name>MinuteHand</object-name>
    <property>instrumentation/clock/indicated-sec</property>
    <factor>0.1</factor>
    <axis> 
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>rotate</type>
    <object-name>SecondHand</object-name>
    <property>instrumentation/clock/elapsed-sec</property>
    <factor>6</factor>
    <axis> 
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>rotate</type>
    <object-name>ElapsedMinutesHand</object-name>
    <property>instrumentation/clock/elapsed-sec</property>
    <factor>0.1</factor>
    <axis> 
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>

  <!-- Clock Setting Knob -->
  <animation>
    <name>time-offset-left-fine</name>
    <type>pick</type>
    <visible>true</visible>
    <object-name>time-offset-left</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>-60</step>
      </binding>
    </action>
  </animation>
  <animation>
    <name>time-offset-left-hours</name>
    <type>pick</type>
    <visible>true</visible>
    <object-name>time-offset-left</object-name>
    <action>
      <button>1</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>-3600</step>
      </binding>
    </action>
  </animation>
  <animation>
    <name>time-offset-right-fine</name>
    <type>pick</type>
    <visible>true</visible>
    <object-name>time-offset-right</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>60</step>
      </binding>
    </action>
  </animation>
  <animation>
    <name>time-offset-right-hours</name>
    <type>pick</type>
    <visible>true</visible>
    <object-name>time-offset-right</object-name>
    <action>
      <button>1</button>
      <repeatable>true</repeatable>
      <interval-sec>0.2</interval-sec>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>3600</step>
      </binding>
    </action>
  </animation>

  <!-- Chronometer Start Stop Button -->
  <animation>
    <name>start-stop-reset</name>
    <type>pick</type>
    <visible>true</visible>
    <object-name>chronometer-button</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>A6Echronograph.click()</script>
      </binding>
    </action>
  </animation>

  <!-- lighting -->
  <animation>
    <object-name>clock</object-name>
    <type>material</type>
    <condition><not><property>sim/rendering/rembrandt/enabled</property></not></condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.55</red>
      <green>0.24</green>
      <blue>0.10</blue>
    </emission>
  </animation>



  <!--  LoD  -->
  <animation> 
    <type>range</type>
    <min-m>0</min-m>
    <max-m>15</max-m>
  </animation>
</PropertyList>
