<?xml version="1.0"?>
<device image="Light.gif">
	<information>
		<name>RGB-Device with virtual Dimmer 8x</name>
		<author>PK</author>
		<vendor>Generic</vendor>
		<version>1</version>
	</information>
	<channels>
		<function channel="0" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="1" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="2" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<function channel="3" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="4" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="5" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<function channel="6" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="7" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="8" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<function channel="9" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="10" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="11" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<function channel="12" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="13" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="14" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<function channel="15" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="16" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="17" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<function channel="18" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="19" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="20" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<function channel="21" minvalue="0" maxvalue="255" name="Red" fade="yes" type="r" />
		<function channel="22" minvalue="0" maxvalue="255" name="Green" fade="yes" type="g" />
		<function channel="23" minvalue="0" maxvalue="255" name="Blue" fade="yes" type="b" />
		<virtual channel="24" minvalue="0" maxvalue="255" name="Dimmer" fade="yes">
			<channel channel="0" />
			<channel channel="1" />
			<channel channel="2" />
			<channel channel="3" />
			<channel channel="4" />
			<channel channel="5" />
			<channel channel="6" />
			<channel channel="7" />
			<channel channel="8" />
			<channel channel="9" />
			<channel channel="10" />
			<channel channel="11" />
			<channel channel="12" />
			<channel channel="13" />
			<channel channel="14" />
			<channel channel="15" />
			<channel channel="16" />
			<channel channel="17" />
			<channel channel="18" />
			<channel channel="19" />
			<channel channel="20" />
			<channel channel="21" />
			<channel channel="22" />
			<channel channel="23" />
		</virtual>
	</channels>
	<form width="753" height="258">
		<deviceimage top="0" left="0" />
		<devicename top="0" left="40" />
		<deviceadress top="16" left="40" />
		<colorpicker mode="rgb" channel1="0" channel2="1" channel3="2" top="40" left="0" height="75" width="177" layout="2" />
		<slider top="224" left="0" height="25" width="361" startvalue="0" endvalue="255" tickfreq="50" smallchange="10" largechange="50" channel="24" />
		<command top="216" left="552" width="177" height="22" caption="Show color info" action="ShowColor" />
		<colorpicker mode="rgb" channel1="3" channel2="4" channel3="5" top="40" left="184" height="75" width="177" layout="2" />
		<colorpicker mode="rgb" channel1="6" channel2="7" channel3="8" top="40" left="368" height="75" width="177" layout="2" />
		<colorpicker mode="rgb" channel1="9" channel2="10" channel3="11" top="40" left="552" height="75" width="177" layout="2" />
		<colorpicker mode="rgb" channel1="12" channel2="13" channel3="14" top="128" left="0" height="75" width="177" name="ColPicker" layout="2" />
		<colorpicker mode="rgb" channel1="15" channel2="16" channel3="17" top="128" left="184" height="75" width="177" name="ColPicker" layout="2" />
		<colorpicker mode="rgb" channel1="18" channel2="19" channel3="20" top="128" left="368" height="75" width="177" name="ColPicker" layout="2" />
		<colorpicker mode="rgb" channel1="21" channel2="22" channel3="23" top="128" left="552" height="75" width="177" name="ColPicker" layout="2" />
	</form>
	<code>
		<procedure name="ShowColor">
!msgbox|{ColPicker:1}:{ColPicker:2}:{ColPicker:3}$
		</procedure>
	</code>
</device>