<?xml version="1.0" encoding="ISO-8859-1"?>
<device image="Light.gif">
	<information>
		<name>PAR 64 LED</name>
		<author>Sven Baus</author>
		<vendor>Eurolite</vendor>
		<comment>PAR 64 LED 183 LED w. procedures and Presetcolors</comment>
	<version>1</version></information>
	<channels>
		<function channel="0" minvalue="0" maxvalue="255" name="Rot" fade="no" type="r"/>
		<function channel="1" minvalue="0" maxvalue="255" name="Grün" fade="no" type="g"/>
		<function channel="2" minvalue="0" maxvalue="255" name="Blau" fade="no" type="b"/>
		<function channel="3" minvalue="0" maxvalue="255" name="Dimmer" fade="yes" type="dimmer"/>
		<function channel="4" minvalue="0" maxvalue="255" name="Strobe" fade="no"/>
	</channels>
	<form width="362" height="237">
		<deviceimage top="0" left="0"/>
		<devicename top="0" left="40"/>
		<deviceadress top="16" left="40"/>
		<colorpicker top="40" left="8" height="52" width="126" mode="rgb" layout="1" channel3="2" channel2="1" channel1="0"/>
		<slider top="192" left="8" height="41" width="345" startvalue="0" endvalue="255" name="strobe" channel="4" largechange="1" smallchange="1" tickfreq="1"/>
		<label top="168" left="8" caption="Strobe"/>
		<slider top="128" left="8" height="41" width="345" startvalue="0" endvalue="255" name="dimmer" channel="3" largechange="1" smallchange="1" tickfreq="1"/>
		<label top="104" left="8" caption="Dimmer"/>
		<dropdown top="24" left="152" width="177" action="setjbcolors" name="jbcolors">
			<item caption="weiss" value="1" color="#ffffff"/>
			<item caption="gelb" value="2" color="#ffff00"/>
			<item caption="pink" value="3" color="#ff5eff"/>
			<item caption="hellblau" value="4" color="#9bd5e8"/>
			<item caption="hellgrün" value="5" color="#baff75"/>
			<item caption="blau" value="6" color="#5f69ef"/>
			<item caption="rot" value="7" color="#ff0000"/>
			<item caption="türkis" value="8" color="#49c2b7"/>
			<item caption="hellpink" value="9" color="#ff9dce"/>
			<item caption="orange" value="10" color="#ff7837"/>
			<item caption="magenta" value="11" color="#e80074"/>
		</dropdown>
		<label top="0" left="152" caption="Colors JB"/>
		<label top="56" left="152" caption="Powercolors"/>
		<dropdown top="80" left="152" width="177" name="pcolors" action="setpcolors">
			<item caption="rot" value="0" color="#ff0000"/>
			<item caption="grün" value="1" color="#00ff00"/>
			<item caption="blau" value="2" color="#0000ff"/>
			<item caption="orange" value="3" color="#ff8000"/>
			<item caption="weiss" value="4" color="#ffffff"/>
			<item caption="türkis/grün" value="5" color="#13b79e"/>
			<item caption="türkis/blau" value="6" color="#3ef5ff"/>
			<item caption="hellblau" value="7" color="#80dfff"/>
			<item caption="blau1" value="8" color="#3684b1"/>
			<item caption="blau2" value="9" color="#5850f8"/>
			<item caption="violet1" value="10" color="#c22788"/>
			<item caption="violet2" value="11" color="#a427b6"/>
			<item caption="flieder" value="12" color="#ed93f4"/>
			<item caption="magenta1" value="13" color="#f062b4"/>
			<item caption="magenta2" value="14" color="#e41bd6"/>
			<item caption="pink" value="15" color="#ff53ff"/>
			<item caption="lila" value="16" color="#a738a7"/>
		</dropdown>
	</form>
	<code>
		<procedure name="setpcolors">!if|({pcolors})|eq|0|
!set_channel|0|255$
!set_channel|1|0$
!set_channel|2|0$
$
!if|({pcolors})|eq|1|
!set_channel|0|0$
!set_channel|1|255$
!set_channel|2|0$
$
!if|({pcolors})|eq|2|
!set_channel|0|0$
!set_channel|1|0$
!set_channel|2|255$
$
!if|({pcolors})|eq|3|
!set_channel|0|255$
!set_channel|1|50$
!set_channel|2|0$
$
!if|({pcolors})|eq|4|
!set_channel|0|255$
!set_channel|1|255$
!set_channel|2|56$

$
!if|({pcolors})|eq|5|
!set_channel|0|0$
!set_channel|1|237$
!set_channel|2|32$

$
!if|({pcolors})|eq|6|
!set_channel|0|0$
!set_channel|1|209$
!set_channel|2|61$

$
!if|({pcolors})|eq|7|
!set_channel|0|0$
!set_channel|1|230$
!set_channel|2|131$
$
!if|({pcolors})|eq|8|
!set_channel|0|0$
!set_channel|1|255$
!set_channel|2|255$
$
!if|({pcolors})|eq|9|
!set_channel|0|0$
!set_channel|1|82$
!set_channel|2|255$
$
!if|({pcolors})|eq|10|
!set_channel|0|124$
!set_channel|1|0$
!set_channel|2|255$

$
!if|({pcolors})|eq|11|
!set_channel|0|255$
!set_channel|1|0$
!set_channel|2|255$
$
!if|({pcolors})|eq|12|
!set_channel|0|255$
!set_channel|1|57$
!set_channel|2|255$

$
!if|({pcolors})|eq|13|
!set_channel|0|255$
!set_channel|1|0$
!set_channel|2|10$
$
!if|({pcolors})|eq|14|
!set_channel|0|255$
!set_channel|1|0$
!set_channel|2|56$
$
!if|({pcolors})|eq|15|
!set_channel|0|255$
!set_channel|1|0$
!set_channel|2|82$
$
!if|({pcolors})|eq|16|
!set_channel|0|255$
!set_channel|1|0$
!set_channel|2|143$
$


		</procedure>
		<procedure name="setjbcolors">!if|({jbcolors})|eq|1|
!set_channel|0|255$
!set_channel|1|255$
!set_channel|2|103$
$
!if|({jbcolors})|eq|2|
!set_channel|0|255$
!set_channel|1|146$
!set_channel|2|0$
$
!if|({jbcolors})|eq|3|
!set_channel|0|193$
!set_channel|1|0$
!set_channel|2|39$
$
!if|({jbcolors})|eq|4|
!set_channel|0|0$
!set_channel|1|255$
!set_channel|2|106$
$
!if|({jbcolors})|eq|5|
!set_channel|0|101$
!set_channel|1|255$
!set_channel|2|3$
$
!if|({jbcolors})|eq|6|
!set_channel|0|71$
!set_channel|1|0$
!set_channel|2|255$
$
!if|({jbcolors})|eq|7|
!set_channel|0|255$
!set_channel|1|7$
!set_channel|2|0$
$
!if|({jbcolors})|eq|8|
!set_channel|0|0$
!set_channel|1|255$
!set_channel|2|44$
$
!if|({jbcolors})|eq|9|
!set_channel|0|255$
!set_channel|1|52$
!set_channel|2|29$
$
!if|({jbcolors})|eq|10|
!set_channel|0|255$
!set_channel|1|35$
!set_channel|2|0$
$
!if|({jbcolors})|eq|11|
!set_channel|0|255$
!set_channel|1|0$
!set_channel|2|87$
$</procedure>
	</code>
</device>
