<?xml version="1.0"?>

<!-- The TR1133 was the progenitor of the SCR-522C. This is a mild rework of the 
generic SCR-522C -->

<PropertyList>

	<path>TR1133.ac</path>

	<animation>
		<type>range</type>
		<min-m>0</min-m>
		<max-m>25</max-m>
	</animation>

	<animation>
		<type>pick</type>
		<visible>true</visible>
		<object-name>SCR-522C-OFF</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>0</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
				<value>0</value>
			</binding>

		</action>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522C-OFF</object-name>
		<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>-0.005</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>2</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>3</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>4</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.00</x-m>
			<y-m>0.0</y-m>
			<z-m>-0.0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>SCR-522C-T-base</object-name>
		<object-name>SCR-522C-T-sw-handle</object-name>
		<object-name>SCR-522C-T-stem</object-name>
		<property>/systems/comm/SCR-522C/tr</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>15</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>2</ind>
				<dep>-15</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.03644</x-m>
			<y-m>-0.0080818</y-m>
			<z-m> 0.0495798</z-m>
		</center>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<visible>true</visible>
		<object-name>SCR-522C-A</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>1</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
				<property>/instrumentation/comm/channels/A-mhz</property>
			</binding>
		</action>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522C-A</object-name>
		<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>-0.005</dep>
			</entry>
			<entry>
				<ind>2</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>3</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>4</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.00</x-m>
			<y-m>0.0</y-m>
			<z-m>-0.0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<visible>true</visible>
		<object-name>SCR-522C-B</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>2</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
				<property>/instrumentation/comm/channels/B-mhz</property>
			</binding>
		</action>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522C-B</object-name>
		<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>2</ind>
				<dep>-0.005</dep>
			</entry>
			<entry>
				<ind>3</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>4</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.00</x-m>
			<y-m>0.0</y-m>
			<z-m>-0.0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<visible>true</visible>
		<object-name>SCR-522C-C</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>3</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
				<property>/instrumentation/comm/channels/C-mhz</property>
			</binding>
		</action>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522C-C</object-name>
		<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>-0</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>-0.0</dep>
			</entry>
			<entry>
				<ind>2</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>3</ind>
				<dep>-0.005</dep>
			</entry>
			<entry>
				<ind>4</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.00</x-m>
			<y-m>0.0</y-m>
			<z-m>-0.0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<visible>true</visible>
		<object-name>SCR-522C-D</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>4</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
				<property>/instrumentation/comm/channels/D-mhz</property>
			</binding>
		</action>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522C-D</object-name>
		<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>-0</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>-0.0</dep>
			</entry>
			<entry>
				<ind>2</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>3</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>4</ind>
				<dep>-0.005</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.00</x-m>
			<y-m>0.0</y-m>
			<z-m>-0.0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>SCR-522C-lamp-A</object-name>
		<condition>
			<equals>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>SCR-522C-lamp-B</object-name>
		<condition>
			<equals>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>2</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>SCR-522C-lamp-C</object-name>
		<condition>
			<equals>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>3</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>SCR-522C-lamp-D</object-name>
		<condition>
			<equals>
				<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
				<value>4</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>pick</type>
		<visible>false</visible>
		<object-name>Pick0</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/tr</property>
				<value>0</value>
			</binding>
			<mod-up>
				<binding>
					<command>property-assign</command>
					<property>/systems/comm/SCR-522C/tr</property>
					<value>1</value>
				</binding>
			</mod-up>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<visible>false</visible>
		<object-name>Pick1</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/tr</property>
				<value>1</value>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<visible>false</visible>
		<object-name>Pick2</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<condition>
					<not>
						<property>/systems/comm/SCR-522C/tr-lock</property>
					</not>
				</condition>
				<command>property-assign</command>
				<property>/systems/comm/SCR-522C/tr</property>
				<value>2</value>
			</binding>
		</action>
	</animation>

	<animation>
		<type>select</type>
		<object-name>SCR-522C-lamp-T</object-name>
		<condition>
			<and>
				<greater-than>
					<property>/systems/comm/SCR-522C/tr</property>
					<value>0</value>
				</greater-than>
				<greater-than>
					<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
					<value>0</value>
				</greater-than>
				<not>
					<property>/instrumentation/comm[0]/ptt</property>
				</not>
				<not>
					<property>/instrumentation/comm[1]/ptt</property>
				</not>
			</and>
		</condition>
	</animation>

	<animation>
		<type>pick</type>
		<visible>true</visible>
		<object-name>SCR-522C-light-cont-1</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>/systems/comm/SCR-522C/channel-dimmer</property>
			</binding>
		</action>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522C-light-cont-1</object-name>
		<property>/systems/comm/SCR-522C/channel-dimmer</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0.0085</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522C-light-cont-2</object-name>
		<property>/systems/comm/SCR-522C/channel-dimmer</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0.0085</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>pick</type>
		<visible>true</visible>
		<object-name>SCR-522-T-Lock</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>/systems/comm/SCR-522C/tr-lock</property>
			</binding>
		</action>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>SCR-522-T-Lock</object-name>
		<property>/systems/comm/SCR-522C/tr-lock</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0.0</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0.0085</dep>
			</entry>
		</interpolation>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>


	<animation>
		<type>material</type>
		<object-name>SCR-522C-top</object-name>
		<object-name>SCR-522C-box</object-name>
		<object-name>SCR-522C-A</object-name>
		<object-name>SCR-522C-B</object-name>
		<object-name>SCR-522C-C</object-name>
		<object-name>SCR-522C-D</object-name>
		<object-name>SCR-522C-T-base</object-name>
		<object-name>SCR-522C-T-sw-handle</object-name>
		<object-name>SCR-522C-T-stem</object-name>
		<object-name>SCR-522C-light-cont-2</object-name>
		<object-name>SCR-522C-light-cont-1</object-name>
		<object-name>SCR-522C-OFF</object-name>
		<object-name>SCR-522-T-Lock</object-name>
		<!--<object-name>right-outer-bracket</object-name>
		<object-name>left-inner-bracket</object-name>
		<object-name>left-outer-bracket</object-name>-->
		<condition>
			<greater-than>
				<property>/controls/lighting/panel-norm</property>
				<value>0</value>
			</greater-than>
		</condition>
		<emission>
			<factor-prop>/controls/lighting/panel-norm</factor-prop>
			<red>0.75</red>
			<green>0.25</green>
			<blue>0.25</blue>
		</emission>
	</animation>


</PropertyList>