///////////////// Silverstar (Yangang) YX-2105
//////  www.yangang.com
// RM Oct 2005, Saturday arvo, outside in the backyard enjoying the sunshine :-)

fixture

	manufacturer = "SILVER"
	name = "yx-2105"
	version = 0.90 
//  fullmanufacturer = "Silver Star"
//  fullname = "YX-2105"
//  mode = 0
//  description = ""
	
	attribute
		name = "PAN"
		channel = 1
		fineChan = 3
		homeVal = 32768
		
	attribute
		name = "TILT"
		channel = 2
		fineChan = 4
		homeVal = 32768

	attribute
		name = "MSPEED"
		channel = 5
		homeVal = 0
		
	attribute
		name = "FOCUS"
		channel = 6
		homeVal = 127
		
	attribute
		name = "COLOUR1"
		channel = 7
		homeVal = 0
		
	attribute
		name = "COLOUR2"
		channel = 8
		homeVal = 0
		
	attribute
		name = "PRISM"
		channel = 9
		homeVal = 0
		
	attribute
		name = "GOBO1"
		channel = 10
		homeVal = 0
		
	attribute
		name = "GOBO2"
		channel = 11
		homeVal = 0
		
	attribute
		name = "GOBO2<>"
		channel = 12
		homeVal = 0
		
	attribute
		name = "IRIS"
		channel = 13
		homeVal = 0
		
	attribute
		name = "ZOOM"
		channel = 14
		homeVal = 50
		
	attribute
		name = "SHUTTER"
		channel = 15
		homeVal = 0
		
	attribute
		name = "INTENSITY"
		channel = 16		
				
/////////////////////////////////////////////

	parameter
		name = "-PAN-"
		displayerNum = 1 
		type = F
		attribList = 1
		stop = (M  0:65534),D,0,530,"Pan="

	parameter
		name = "-TILT-"
		displayerNum = 2 
		type = F
		attribList = 2 
		stop = (M  0:65534),D,0,280,"Ti@="

	parameter
		name = "-COLOUR1-"
		displayerNum = 3
		type = C
		attribList = 7 
		stop = (   0: 19),N,"White1"		
		stop = (  20: 39),N,"Red"
		stop = (  40: 59),N,"Yellow"
		stop = (  60: 79),N,"Rose"
		stop = (  80: 99),N,"Green"
		stop = ( 100:119),N,"Orange"
		stop = ( 120:139),N,"Blue"
		stop = ( 140:159),N,"Pink"
		stop = ( 160:179),N,"Firefly"
		stop = ( 180:199),N,"Dk Orange"
		stop = (M200:255),1,"C1Whl>:"

	parameter
		name = "-COLOUR2-"
		displayerNum = 4
		type = C
		attribList = 8
		stop = (   0: 25),N,"White2"		
		stop = (  26: 51),N,"Lt Red"
		stop = (  52: 77),N,"Pale Ylw"
		stop = (  78:103),N,"Lt Purple"
		stop = ( 104:129),N,"Pale Grn"
		stop = ( 130:155),N,"Lt Orange"
		stop = ( 156:181),N,"Sky Blue"
		stop = ( 182:207),N,"Lt Blue"
		stop = ( 208:233),N,"6000k"
		stop = ( 234:255),N,"3200k"

	parameter
		name = "-GOBO1-"
		displayerNum = 5 
		type = B
		attribList = 10 
		stop = (   0: 19),N,"No Gobo1"		
		stop = (  20: 39),N,"Gobo 1"
		stop = (  40: 59),N,"Gobo 2"
		stop = (  60: 79),N,"Gobo 3"
		stop = (  80: 99),N,"Gobo 4"
		stop = ( 100:119),N,"Gobo 5"
		stop = ( 120:139),N,"Gobo 6"
		stop = ( 140:159),N,"Gobo 7"
		stop = ( 160:179),N,"Gobo 8"
		stop = ( 180:199),N,"Gobo 9"
		stop = (M200:255),1,"G1Whl>:"

	parameter
		name = "-GOBO2-"
		displayerNum = 6 
		type = B
		attribList = 11 
		stop = (   0: 36),N,"No Gobo2"		
		stop = (  37: 73),N,"Gobo 1"
		stop = (  74:110),N,"Gobo 2"
		stop = ( 111:147),N,"Gobo 3"
		stop = ( 148:184),N,"Gobo 4"
		stop = ( 185:221),N,"Gobo 5"
		stop = ( 222:255),N,"Gobo 6"

//------------------------------------------

	parameter
		name = "-GOBO2<>-"
		displayerNum = 7
		type = B
		attribList = 12 
		stop = (M159:255),2,"Gobo<:"		
		stop = (   0: 40),N,"GoboStop"
		stop = (M 41:158),2,"Gobo>:"

	parameter
		name = "-IRIS-"
		displayerNum = 8 
		type = B
		attribList = 13 
		stop = (M  0:255),2,"Iris="			
				
	parameter
		name = "-FOCUS-"
		displayerNum = 9
		type = B
		attribList = 6 		
		stop = (M  0:255),2,"Focus="	

	parameter
		name = "-ZOOM-"
		displayerNum = 10
		type = B
		attribList = 14 
		stop = (   0: 32),N,"Zoom 15"		
		stop = (  33: 65),N,"Zoom 18"
		stop = (  66: 98),N,"Zoom 22"
		stop = (R 99:128),N,"Zoom Keep"
		stop = (R129:162),N,"Zoom 15"
		stop = (R163:195),N,"Zoom 18"
		stop = (R196:255),N,"Zoom 22"
		
	parameter
		name = "-PRISM-"
		displayerNum = 11 
		type = B
		attribList = 9 
		stop = (   0:  4),N,"No Prism"		
		stop = (M  5:127),2,"Prsm<:"
		stop = ( 128:131),N,"PrsmStop"
		stop = (M132:255),2,"Prsm>:"		

	parameter
		name = "-SHUTTER-"
		displayerNum = 12
		type = B
		attribList = 15 
		stop = ( 251:255),N,"Shtr Clsd"		
		stop = (   0: 19),N,"Shtr Open"
		stop = (M 20:250),2,"Strobe:"
		
//---------------------------------------------

	parameter
		name = "-MSPEED-"
		displayerNum = 23
		type = F
		attribList = 5 
		stop = (M255:  0),2,"Speed="		

	parameter
		name = "-CONTROL-"
		displayerNum = 24
		type = N
		attribList = 1,2
		stop = (     0:    0,     0:    0),N,"Run Mode"
		stop = (R    0:65534,R    0:65534),N,"Run Mode"		
		stop = ( 65535:65535: 65535:65535),N,"Reset"


			
end

