//
// Highend Studio Command Fixture Definition
//
// Written August 2006 - Michael A. Calder (MAC)
// Modified RM Jan 2007

Fixture
	manufacturer = "HighEnd"
	name = "StudComd"
	version = 0.91
//  fullmanufacturer = "High End Systems"
//  fullname = "Studio Command"
//  mode = 0
//  description = ""

	Attribute
		name = "PAN"
		channel = 1
		fineChan = 2
		homeVal = 32640

	Attribute
		name = "TILT"
		channel = 3
		fineChan = 4
		homeVal = 32640

	Attribute
		name = "COLOUR"
		channel = 5
		homeVal = 0

	Attribute
		name = "CYAN"
		channel = 6
		homeVal = 255

	Attribute
		name = "MAGENTA"
		channel = 7
		homeVal = 255

	Attribute
		name = "YELLOW"
		channel = 8
		homeVal = 255

	Attribute
		name = "ZOOM"
		channel = 9
		homeVal = 0

	Attribute
		name = "SHUTTER"
		channel = 10
		homeVal = 255

	Attribute
		name = "INTENSITY"
		channel = 11

	Attribute
		name = "MSPEED"
		channel = 12
		homeVal = 0

	Attribute
		name = "MACRO"
		channel = 13
		homeVal = 0

	Attribute
		name = "CONTROL"
		channel = 14
		homeVal = 0

//=================================================

	Parameter
		name = "-PAN-"
		displayerNum = 1
		type = F
		attribList = 1
		stop = (M    0:65535),D,0,100,"Pan="

	Parameter
		name = "-TILT-"
		displayerNum = 2
		type = F
		attribList = 3
		stop = (M    0:65535),D,0,100,"Ti@="

	Parameter
		name = "-COLOUR-"
		displayerNum = 3
		type = C
		attribList = 12,5
		stop = (R  0:  3,   0: 15),N,"CMY"
		stop = (R  0:  3,  16: 31),N,"Cycle"
		stop = (R  0:  3,  32: 47),N,"Random"
		stop = (R  0:  3,  48:127),N,"TBD"
		stop = (R  4:255, 128:143),N,"CMY"
		stop = (R  4:255, 144:159),N,"Cycle"
		stop = (R  4:255, 160:175),N,"Random"
		stop = (R  4:255, 176:255),N,"TBD"

	Parameter
		name = "-CYAN-"
		displayerNum = 4
		type = C
		attribList = 5,6
		stop = (R  0: 15,M  0:255),2,"Cyan="
		stop = (R 48:143,M  0:255),2,"Cyan="
		stop = (R176:255,M  0:255),2,"Cyan="
		stop = (R 16: 47,R  0:255),N,"SeeDisp7"
		stop = (R144:175,R  0:255),N,"SeeDisp7"

	Parameter
		name = "-MAGNTA-"
		displayerNum = 5
		type = C
		attribList = 7
		stop = (M  0:255),2,"Mgnta="

	Parameter
		name = "-YELLOW-"
		displayerNum = 6
		type = C
		attribList = 8
		stop = (M 0:255),2,"yellow"

////////////////////////////////////////////////////////

	Parameter
		name = "-CSPEED-"
		displayerNum = 7
		type = C
		attribList = 5,6
		stop = (R 16: 47,M  0:255),2,"Speed="
		stop = (R144:175,M  0:255),2,"Speed="
		stop = (R  0: 15,R  0:255),N,"SeeDisp4"
		stop = (R 48:143,R  0:255),N,"SeeDisp4"
		stop = (R176:255,R  0:255),N,"SeeDisp4"

	Parameter
		name = "-ZOOM-"
		displayerNum = 9
		type = B
		attribList = 9
		stop = (M  0:255),2,"Zoom="

	Parameter
		name = "-SHUTTER-"
		displayerNum = 10
		type = B
		attribList = 14,10
		stop = (R  0:  9,   0: 23),N,"Closed"
		stop = (R  0:  9,  23: 49),N,"PStrobe"
		stop = (R  0:  9,  50: 75),N,"RStrobe"
		stop = (R  0:  9,  76:101),N,"SRStrobe"
		stop = (R  0:  9, 102:127),N,"ROnSOff"
		stop = (R  0:  9, 128:153),N,"SOnROff"
		stop = (R  0:  9, 154:179),N,"ROnROff"
		stop = (R  0:  9, 180:205),N,"RROnSOff"
		stop = (R  0:  9, 206:231),N,"RSOnROff"
		stop = (R  0:  9, 232:255),N,"Open"

		stop = (R134:137,   0: 23),N,"Closed"
		stop = (R134:137,  23: 49),N,"PStrobe"
		stop = (R134:137,  50: 75),N,"RStrobe"
		stop = (R134:137,  76:101),N,"SRStrobe"
		stop = (R134:137, 102:127),N,"ROnSOff"
		stop = (R134:137, 128:153),N,"SOnROff"
		stop = (R134:137, 154:179),N,"ROnROff"
		stop = (R134:137, 180:205),N,"RROnSOff"
		stop = (R134:137, 206:231),N,"RSOnROff"
		stop = (R134:137, 232:255),N,"Open"

		stop = (R138:141,   0: 23),N,"Closed"
		stop = (R138:141,  24: 49),N,"PStrobe"
		stop = (R138:141,  50: 75),N,"RStrobe"
		stop = (R138:141,  76:101),N,"SRStrobe"
		stop = (R138:141, 102:105),N,"B1S Blk"
		stop = (R138:141, 106:109),N,"B.75S Blk"
		stop = (R138:141, 110:113),N,"B.66S Blk"
		stop = (R138:141, 114:117),N,"B.5S Blk"
		stop = (R138:141, 118:121),N,"B.33S Blk"
		stop = (R138:141, 122:127),N,"B.25S Blk"
		stop = (R138:141, 128:131),N,"B1W Blk"
		stop = (R138:141, 132:135),N,"B.75W Blk"
		stop = (R138:141, 136:139),N,"B.66W Blk"
		stop = (R138:141, 140:143),N,"B.5W Blk"
		stop = (R138:141, 144:147),N,"B.33W Blk"
		stop = (R138:141, 148:153),N,"B.25W Blk"
        stop = (R138:141, 154:157),N,"Light1"
        stop = (R138:141, 158:161),N,"Light2"
        stop = (R138:141, 162:165),N,"Light3"
        stop = (R138:141, 166:169),N,"Light4"
        stop = (R138:141, 170:173),N,"Light5"
        stop = (R138:141, 174:179),N,"Light6"
		stop = (R138:141,R180:231),N,"Undefined"
		stop = (R138:141, 232:255),N,"Open"

		stop = (R146:149,   0: 23),N,"Closed"
		stop = (R146:149,  23: 49),N,"PStrobe"
		stop = (R146:149,  50: 75),N,"RStrobe"
		stop = (R146:149,  76:101),N,"SRStrobe"
		stop = (R146:149, 102:127),N,"ROnSOff"
		stop = (R146:149, 128:153),N,"SOnROff"
		stop = (R146:149, 154:179),N,"ROnROff"
		stop = (R146:149, 180:205),N,"RROnSOff"
		stop = (R146:149, 206:231),N,"RSOnROff"
		stop = (R146:149, 232:255),N,"Open"

		stop = (R 10:133,R  0:255),N,"SeeDisp24"
		stop = (R142:145,R  0:255),N,"SeeDisp24"
		stop = (R150:255,R  0:255),N,"SeeDisp24"

	Parameter
		name = "-MACRO-"
		displayerNum = 11
		type = B
		attribList = 13
		stop = (   0:  5),N,"NoMacro"
		stop = (M  6: 62),1,"PanSw:"
		stop = (M 66:122),1,"Ti@Sw:"
		stop = (M126:160),1,"Circle >:"
		stop = (M164:198),1,"Circle <:"
		stop = (R199:255),N,"Undefined"
		stop = (R 63: 65),N,"NoMacro"
		stop = (R123:125),N,"NoMacro"
		stop = (R161:163),N,"NoMacro"

	Parameter
		name = "-MSPEED-"
		displayerNum = 12
		type = F
		attribList = 12
		stop = (   0:  3),N,"Disabled"
		stop = (M  4:255),2,"Mspeed="

	Parameter
		name = "-LMPAST-"
		displayerNum = 23
		type = F
		attribList = 10,14
		stop = (R  0:255, 134:137),N,"LampAst"
		stop = (R  0:255, 138:141),N,"LFunc"
		stop = (R  0:255, 142:145),N,"LMAst"
		stop = (R  0:255, 146:149),N,"LampOnly"
		stop = (R  0:255,R150:255),N,"SeeDisp24"


	Parameter
		name = "-CONTROL-"
		displayerNum = 24
		type = N
		attribList = 10,14
		stop = (R  0:255, 0:9),N,"Safe"
		stop = (R  0:255,  10: 19),N,"MSpeedOff"
		
		stop = (   0:  0,  90: 98),N,"LampOff"
		stop = (   0:  0,  80: 88),N,"LampOn"
		stop = (   0:  0,  60: 68),N,"Reset"
		stop = (   0:  0,  20: 28),N,"DispOff"
		stop = (   0:  0,  30: 38),N,"DispDim"
		stop = (   0:  0,  40: 48),N,"DispBright"
		stop = (   0:  0, 110:118),N,"Lock"
		stop = (   0:  0, 120:130),N,"Shutdown"
		stop = (R  0:  0,R 29: 29),N,"NoFunc"
		stop = (R  0:  0,R 39: 39),N,"NoFunc"
		stop = (R  0:  0,R 49: 59),N,"NoFunc"
		stop = (R  0:  0,R 49: 59),N,"NoFunc"
		stop = (R  0:  0,R 89: 89),N,"NoFunc"
		stop = (R  0:  0,R 99:109),N,"NoFunc"
		stop = (R  0:  0,R119:119),N,"NoFunc"
		stop = (R  0:  0,R131:133),N,"NoFunc"
		stop = (R  1:255,R 20:133),N,"NoFunc"
		stop = (R  0:255,R134:255),N,"SeeDisp23"

end

