public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); ROOMSELECT = new InOutArray <DigitalInput>(60, this); for (uint i = 0; i < 60; i++) { ROOMSELECT[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(ROOMSELECT__DigitalInput__ + i, ROOMSELECT__DigitalInput__, this); m_DigitalInputList.Add(ROOMSELECT__DigitalInput__ + i, ROOMSELECT[i + 1]); } EQUIPMENT_ID = new Crestron.Logos.SplusObjects.AnalogOutput(EQUIPMENT_ID__AnalogSerialOutput__, this); m_AnalogOutputList.Add(EQUIPMENT_ID__AnalogSerialOutput__, EQUIPMENT_ID); ROOMNAMES = new InOutArray <StringOutput>(60, this); for (uint i = 0; i < 60; i++) { ROOMNAMES[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(ROOMNAMES__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(ROOMNAMES__AnalogSerialOutput__ + i, ROOMNAMES[i + 1]); } LISTCHANGEWAIT_Callback = new WaitFunction(LISTCHANGEWAIT_CallbackFn); __SPLS_TMPVAR__WAITLABEL_21___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_21___CallbackFn); for (uint i = 0; i < 60; i++) { ROOMSELECT[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(ROOMSELECT_OnPush_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); G_SOUTPUT = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 1042, this); SEND = new Crestron.Logos.SplusObjects.DigitalInput(SEND__DigitalInput__, this); m_DigitalInputList.Add(SEND__DigitalInput__, SEND); START_CHANNEL__POUND__ = new Crestron.Logos.SplusObjects.AnalogInput(START_CHANNEL__POUND____AnalogSerialInput__, this); m_AnalogInputList.Add(START_CHANNEL__POUND____AnalogSerialInput__, START_CHANNEL__POUND__); END_CHANNEL__POUND__ = new Crestron.Logos.SplusObjects.AnalogInput(END_CHANNEL__POUND____AnalogSerialInput__, this); m_AnalogInputList.Add(END_CHANNEL__POUND____AnalogSerialInput__, END_CHANNEL__POUND__); CHANNEL = new InOutArray <AnalogInput>(100, this); for (uint i = 0; i < 100; i++) { CHANNEL[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(CHANNEL__AnalogSerialInput__ + i, CHANNEL__AnalogSerialInput__, this); m_AnalogInputList.Add(CHANNEL__AnalogSerialInput__ + i, CHANNEL[i + 1]); } OUT__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(OUT__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(OUT__DOLLAR____AnalogSerialOutput__, OUT__DOLLAR__); SEND.OnDigitalPush.Add(new InputChangeHandlerWrapper(SEND_OnPush_0, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); ERRORFB = new InOutArray <DigitalInput>(50, this); for (uint i = 0; i < 50; i++) { ERRORFB[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(ERRORFB__DigitalInput__ + i, ERRORFB__DigitalInput__, this); m_DigitalInputList.Add(ERRORFB__DigitalInput__ + i, ERRORFB[i + 1]); } ERRORMESSAGE__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(ERRORMESSAGE__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(ERRORMESSAGE__DOLLAR____AnalogSerialOutput__, ERRORMESSAGE__DOLLAR__); ERRORIN__DOLLAR__ = new InOutArray <StringParameter>(50, this); for (uint i = 0; i < 50; i++) { ERRORIN__DOLLAR__[i + 1] = new StringParameter(ERRORIN__DOLLAR____Parameter__ + i, ERRORIN__DOLLAR____Parameter__, this); m_ParameterList.Add(ERRORIN__DOLLAR____Parameter__ + i, ERRORIN__DOLLAR__[i + 1]); } for (uint i = 0; i < 50; i++) { ERRORFB[i + 1].OnDigitalChange.Add(new InputChangeHandlerWrapper(ERRORFB_OnChange_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); FF = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 6, this); SEND_WOL = new InOutArray <DigitalInput>(16, this); for (uint i = 0; i < 16; i++) { SEND_WOL[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SEND_WOL__DigitalInput__ + i, SEND_WOL__DigitalInput__, this); m_DigitalInputList.Add(SEND_WOL__DigitalInput__ + i, SEND_WOL[i + 1]); } WOL__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(WOL__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(WOL__DOLLAR____AnalogSerialOutput__, WOL__DOLLAR__); MAC_ADDRESS = new InOutArray <StringParameter>(16, this); for (uint i = 0; i < 16; i++) { MAC_ADDRESS[i + 1] = new StringParameter(MAC_ADDRESS__Parameter__ + i, MAC_ADDRESS__Parameter__, this); m_ParameterList.Add(MAC_ADDRESS__Parameter__ + i, MAC_ADDRESS[i + 1]); } for (uint i = 0; i < 16; i++) { SEND_WOL[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(SEND_WOL_OnPush_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); TRIGGER = new Crestron.Logos.SplusObjects.DigitalInput(TRIGGER__DigitalInput__, this); m_DigitalInputList.Add(TRIGGER__DigitalInput__, TRIGGER); CONVERT = new InOutArray <DigitalInput>(200, this); for (uint i = 0; i < 200; i++) { CONVERT[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(CONVERT__DigitalInput__ + i, CONVERT__DigitalInput__, this); m_DigitalInputList.Add(CONVERT__DigitalInput__ + i, CONVERT[i + 1]); } SERIALI = new InOutArray <StringInput>(200, this); for (uint i = 0; i < 200; i++) { SERIALI[i + 1] = new Crestron.Logos.SplusObjects.StringInput(SERIALI__AnalogSerialInput__ + i, SERIALI__AnalogSerialInput__, 200, this); m_StringInputList.Add(SERIALI__AnalogSerialInput__ + i, SERIALI[i + 1]); } SERIALO = new InOutArray <StringOutput>(200, this); for (uint i = 0; i < 200; i++) { SERIALO[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(SERIALO__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(SERIALO__AnalogSerialOutput__ + i, SERIALO[i + 1]); } TRIGGER.OnDigitalPush.Add(new InputChangeHandlerWrapper(TRIGGER_OnPush_0, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); DEVICE_TRIGGER = new InOutArray <DigitalOutput>(50, this); for (uint i = 0; i < 50; i++) { DEVICE_TRIGGER[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(DEVICE_TRIGGER__DigitalOutput__ + i, this); m_DigitalOutputList.Add(DEVICE_TRIGGER__DigitalOutput__ + i, DEVICE_TRIGGER[i + 1]); } SRC_ID = new Crestron.Logos.SplusObjects.AnalogInput(SRC_ID__AnalogSerialInput__, this); m_AnalogInputList.Add(SRC_ID__AnalogSerialInput__, SRC_ID); DEVICE_ID = new InOutArray <AnalogInput>(50, this); for (uint i = 0; i < 50; i++) { DEVICE_ID[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(DEVICE_ID__AnalogSerialInput__ + i, DEVICE_ID__AnalogSerialInput__, this); m_AnalogInputList.Add(DEVICE_ID__AnalogSerialInput__ + i, DEVICE_ID[i + 1]); } CURRENT_SRC_ID = new Crestron.Logos.SplusObjects.AnalogOutput(CURRENT_SRC_ID__AnalogSerialOutput__, this); m_AnalogOutputList.Add(CURRENT_SRC_ID__AnalogSerialOutput__, CURRENT_SRC_ID); SRC_ID.OnAnalogChange.Add(new InputChangeHandlerWrapper(SRC_ID_OnChange_0, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo(1, this); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM(this); SELECT = new InOutArray <DigitalInput>(120, this); for (uint i = 0; i < 120; i++) { SELECT[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SELECT__DigitalInput__ + i, SELECT__DigitalInput__, this); m_DigitalInputList.Add(SELECT__DigitalInput__ + i, SELECT[i + 1]); } RX = new InOutArray <StringInput>(4096, this); for (uint i = 0; i < 4096; i++) { RX[i + 1] = new Crestron.Logos.SplusObjects.StringInput(RX__AnalogSerialInput__ + i, RX__AnalogSerialInput__, 120, this); m_StringInputList.Add(RX__AnalogSerialInput__ + i, RX[i + 1]); } TX = new Crestron.Logos.SplusObjects.StringOutput(TX__AnalogSerialOutput__, this); m_StringOutputList.Add(TX__AnalogSerialOutput__, TX); for (uint i = 0; i < 120; i++) { SELECT[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(SELECT_OnPush_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); TEMPRXIP__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 16, this); TEMPSTAMP__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 8, this); NTPSERVER = new SplusUdpSocket(256, this); DEBUG = new Crestron.Logos.SplusObjects.DigitalInput(DEBUG__DigitalInput__, this); m_DigitalInputList.Add(DEBUG__DigitalInput__, DEBUG); LOGGING = new Crestron.Logos.SplusObjects.DigitalInput(LOGGING__DigitalInput__, this); m_DigitalInputList.Add(LOGGING__DigitalInput__, LOGGING); SYNCTIME = new InOutArray <DigitalInput>(4, this); for (uint i = 0; i < 4; i++) { SYNCTIME[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SYNCTIME__DigitalInput__ + i, SYNCTIME__DigitalInput__, this); m_DigitalInputList.Add(SYNCTIME__DigitalInput__ + i, SYNCTIME[i + 1]); } BUSY = new Crestron.Logos.SplusObjects.DigitalOutput(BUSY__DigitalOutput__, this); m_DigitalOutputList.Add(BUSY__DigitalOutput__, BUSY); SYNCSUCCESSFUL = new InOutArray <DigitalOutput>(4, this); for (uint i = 0; i < 4; i++) { SYNCSUCCESSFUL[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(SYNCSUCCESSFUL__DigitalOutput__ + i, this); m_DigitalOutputList.Add(SYNCSUCCESSFUL__DigitalOutput__ + i, SYNCSUCCESSFUL[i + 1]); } SYNCFAILED = new InOutArray <DigitalOutput>(4, this); for (uint i = 0; i < 4; i++) { SYNCFAILED[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(SYNCFAILED__DigitalOutput__ + i, this); m_DigitalOutputList.Add(SYNCFAILED__DigitalOutput__ + i, SYNCFAILED[i + 1]); } GMT_OFFSET_MINUTES = new Crestron.Logos.SplusObjects.AnalogInput(GMT_OFFSET_MINUTES__AnalogSerialInput__, this); m_AnalogInputList.Add(GMT_OFFSET_MINUTES__AnalogSerialInput__, GMT_OFFSET_MINUTES); SERVER_IP__DOLLAR__ = new InOutArray <StringInput>(4, this); for (uint i = 0; i < 4; i++) { SERVER_IP__DOLLAR__[i + 1] = new Crestron.Logos.SplusObjects.StringInput(SERVER_IP__DOLLAR____AnalogSerialInput__ + i, SERVER_IP__DOLLAR____AnalogSerialInput__, 64, this); m_StringInputList.Add(SERVER_IP__DOLLAR____AnalogSerialInput__ + i, SERVER_IP__DOLLAR__[i + 1]); } SERVERWAIT_Callback = new WaitFunction(SERVERWAIT_CallbackFn); for (uint i = 0; i < 4; i++) { SYNCTIME[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(SYNCTIME_OnPush_0, false)); } NTPSERVER.OnSocketReceive.Add(new SocketHandlerWrapper(NTPSERVER_OnSocketReceive_1, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo(1, this); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM(this); _SplusNVRAM.RETURNSTRING = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, this); _SplusNVRAM.COMMAND = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 80, this); _SplusNVRAM.SENDSTRING = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 100, this); RECALLPRESET__DOLLAR___0 = new Crestron.Logos.SplusObjects.DigitalInput(RECALLPRESET__DOLLAR___0__DigitalInput__, this); m_DigitalInputList.Add(RECALLPRESET__DOLLAR___0__DigitalInput__, RECALLPRESET__DOLLAR___0); RECALLPRESET__DOLLAR__ = new InOutArray <DigitalInput>(255, this); for (uint i = 0; i < 255; i++) { RECALLPRESET__DOLLAR__[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(RECALLPRESET__DOLLAR____DigitalInput__ + i, RECALLPRESET__DOLLAR____DigitalInput__, this); m_DigitalInputList.Add(RECALLPRESET__DOLLAR____DigitalInput__ + i, RECALLPRESET__DOLLAR__[i + 1]); } TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(TX__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__); RECALLPRESET__DOLLAR___0.OnDigitalPush.Add(new InputChangeHandlerWrapper(RECALLPRESET__DOLLAR___0_OnPush_0, false)); for (uint i = 0; i < 255; i++) { RECALLPRESET__DOLLAR__[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(RECALLPRESET__DOLLAR___OnPush_1, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); SYSTEMINITIALIZED = new Crestron.Logos.SplusObjects.DigitalInput(SYSTEMINITIALIZED__DigitalInput__, this); m_DigitalInputList.Add(SYSTEMINITIALIZED__DigitalInput__, SYSTEMINITIALIZED); PROCESSINGCOMPLETE = new Crestron.Logos.SplusObjects.DigitalOutput(PROCESSINGCOMPLETE__DigitalOutput__, this); m_DigitalOutputList.Add(PROCESSINGCOMPLETE__DigitalOutput__, PROCESSINGCOMPLETE); ROOMLOCALLYENABLED = new InOutArray <DigitalOutput>(72, this); for (uint i = 0; i < 72; i++) { ROOMLOCALLYENABLED[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(ROOMLOCALLYENABLED__DigitalOutput__ + i, this); m_DigitalOutputList.Add(ROOMLOCALLYENABLED__DigitalOutput__ + i, ROOMLOCALLYENABLED[i + 1]); } LISTPOSITION = new InOutArray <AnalogInput>(72, this); for (uint i = 0; i < 72; i++) { LISTPOSITION[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION__AnalogSerialInput__, this); m_AnalogInputList.Add(LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION[i + 1]); } SYSTEMINITIALIZED.OnDigitalPush.Add(new InputChangeHandlerWrapper(SYSTEMINITIALIZED_OnPush_0, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo(1, this); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM(this); ANALOG = new ushort[301]; TEMP = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4029, this); DIGITAL = new InOutArray <DigitalOutput>(300, this); for (uint i = 0; i < 300; i++) { DIGITAL[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(DIGITAL__DigitalOutput__ + i, this); m_DigitalOutputList.Add(DIGITAL__DigitalOutput__ + i, DIGITAL[i + 1]); } SERIAL = new Crestron.Logos.SplusObjects.StringInput(SERIAL__AnalogSerialInput__, 4029, this); m_StringInputList.Add(SERIAL__AnalogSerialInput__, SERIAL); SERIAL.OnSerialChange.Add(new InputChangeHandlerWrapper(SERIAL_OnChange_0, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); G_SOUTPUT = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 1024, this); QUERY = new Crestron.Logos.SplusObjects.DigitalInput(QUERY__DigitalInput__, this); m_DigitalInputList.Add(QUERY__DigitalInput__, QUERY); COMPLETE = new Crestron.Logos.SplusObjects.DigitalOutput(COMPLETE__DigitalOutput__, this); m_DigitalOutputList.Add(COMPLETE__DigitalOutput__, COMPLETE); CHANNEL = new InOutArray <AnalogOutput>(512, this); for (uint i = 0; i < 512; i++) { CHANNEL[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(CHANNEL__AnalogSerialOutput__ + i, this); m_AnalogOutputList.Add(CHANNEL__AnalogSerialOutput__ + i, CHANNEL[i + 1]); } TCP_IN = new Crestron.Logos.SplusObjects.StringInput(TCP_IN__AnalogSerialInput__, 512, this); m_StringInputList.Add(TCP_IN__AnalogSerialInput__, TCP_IN); TCP_OUT = new Crestron.Logos.SplusObjects.StringOutput(TCP_OUT__AnalogSerialOutput__, this); m_StringOutputList.Add(TCP_OUT__AnalogSerialOutput__, TCP_OUT); START_CHANNEL = new UShortParameter(START_CHANNEL__Parameter__, this); m_ParameterList.Add(START_CHANNEL__Parameter__, START_CHANNEL); QUERY.OnDigitalPush.Add(new InputChangeHandlerWrapper(QUERY_OnPush_0, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); SEND = new InOutArray <DigitalInput>(65, this); for (uint i = 0; i < 65; i++) { SEND[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SEND__DigitalInput__ + i, SEND__DigitalInput__, this); m_DigitalInputList.Add(SEND__DigitalInput__ + i, SEND[i + 1]); } TEXT_IN__DOLLAR__ = new InOutArray <StringInput>(100, this); for (uint i = 0; i < 100; i++) { TEXT_IN__DOLLAR__[i + 1] = new Crestron.Logos.SplusObjects.StringInput(TEXT_IN__DOLLAR____AnalogSerialInput__ + i, TEXT_IN__DOLLAR____AnalogSerialInput__, 65, this); m_StringInputList.Add(TEXT_IN__DOLLAR____AnalogSerialInput__ + i, TEXT_IN__DOLLAR__[i + 1]); } TEXT_OUT__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(TEXT_OUT__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(TEXT_OUT__DOLLAR____AnalogSerialOutput__, TEXT_OUT__DOLLAR__); for (uint i = 0; i < 65; i++) { SEND[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(SEND_OnPush_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); G_SCURRENTMULTIPOINTMODE__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, this); G_STEMP__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 255, this); G_SGARBAGE__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 500, this); POLL_B = new Crestron.Logos.SplusObjects.DigitalInput(POLL_B__DigitalInput__, this); m_DigitalInputList.Add(POLL_B__DigitalInput__, POLL_B); CALL_CONNECTED_HELD = new InOutArray <DigitalInput>(3, this); for (uint i = 0; i < 3; i++) { CALL_CONNECTED_HELD[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(CALL_CONNECTED_HELD__DigitalInput__ + i, CALL_CONNECTED_HELD__DigitalInput__, this); m_DigitalInputList.Add(CALL_CONNECTED_HELD__DigitalInput__ + i, CALL_CONNECTED_HELD[i + 1]); } POLL_BUSY_FB = new Crestron.Logos.SplusObjects.DigitalOutput(POLL_BUSY_FB__DigitalOutput__, this); m_DigitalOutputList.Add(POLL_BUSY_FB__DigitalOutput__, POLL_BUSY_FB); MULTISITE_CALL_CONNECTED_FB = new Crestron.Logos.SplusObjects.DigitalOutput(MULTISITE_CALL_CONNECTED_FB__DigitalOutput__, this); m_DigitalOutputList.Add(MULTISITE_CALL_CONNECTED_FB__DigitalOutput__, MULTISITE_CALL_CONNECTED_FB); MULTIWAY_CALL_CONNECTED_FB = new Crestron.Logos.SplusObjects.DigitalOutput(MULTIWAY_CALL_CONNECTED_FB__DigitalOutput__, this); m_DigitalOutputList.Add(MULTIWAY_CALL_CONNECTED_FB__DigitalOutput__, MULTIWAY_CALL_CONNECTED_FB); SINGLE_CALL_CONNECTED_FB = new Crestron.Logos.SplusObjects.DigitalOutput(SINGLE_CALL_CONNECTED_FB__DigitalOutput__, this); m_DigitalOutputList.Add(SINGLE_CALL_CONNECTED_FB__DigitalOutput__, SINGLE_CALL_CONNECTED_FB); NO_CALL_CONNECTED_FB = new Crestron.Logos.SplusObjects.DigitalOutput(NO_CALL_CONNECTED_FB__DigitalOutput__, this); m_DigitalOutputList.Add(NO_CALL_CONNECTED_FB__DigitalOutput__, NO_CALL_CONNECTED_FB); CISCO_TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(CISCO_TX__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(CISCO_TX__DOLLAR____AnalogSerialOutput__, CISCO_TX__DOLLAR__); CISCO_RX__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput(CISCO_RX__DOLLAR____AnalogSerialInput__, 5000, this); m_StringInputList.Add(CISCO_RX__DOLLAR____AnalogSerialInput__, CISCO_RX__DOLLAR__); DEBUGMODE = new UShortParameter(DEBUGMODE__Parameter__, this); m_ParameterList.Add(DEBUGMODE__Parameter__, DEBUGMODE); POLL_B.OnDigitalPush.Add(new InputChangeHandlerWrapper(POLL_B_OnPush_0, false)); for (uint i = 0; i < 3; i++) { CALL_CONNECTED_HELD[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(CALL_CONNECTED_HELD_OnPush_1, false)); } for (uint i = 0; i < 3; i++) { CALL_CONNECTED_HELD[i + 1].OnDigitalRelease.Add(new InputChangeHandlerWrapper(CALL_CONNECTED_HELD_OnRelease_2, false)); } CISCO_RX__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(CISCO_RX__DOLLAR___OnChange_3, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); _SplusNVRAM.BUFFER = new ushort[26]; _SplusNVRAM.CMD_BUFFER = new ushort[26]; LOGIN_REQUIRED = new Crestron.Logos.SplusObjects.DigitalInput(LOGIN_REQUIRED__DigitalInput__, this); m_DigitalInputList.Add(LOGIN_REQUIRED__DigitalInput__, LOGIN_REQUIRED); LOGIN_FB = new Crestron.Logos.SplusObjects.DigitalOutput(LOGIN_FB__DigitalOutput__, this); m_DigitalOutputList.Add(LOGIN_FB__DigitalOutput__, LOGIN_FB); ALL_STANDBY_FB = new Crestron.Logos.SplusObjects.DigitalOutput(ALL_STANDBY_FB__DigitalOutput__, this); m_DigitalOutputList.Add(ALL_STANDBY_FB__DigitalOutput__, ALL_STANDBY_FB); VIRTUAL_BUTTON = new Crestron.Logos.SplusObjects.AnalogInput(VIRTUAL_BUTTON__AnalogSerialInput__, this); m_AnalogInputList.Add(VIRTUAL_BUTTON__AnalogSerialInput__, VIRTUAL_BUTTON); LIGHT_STATUS_RM = new InOutArray <AnalogOutput>(16, this); for (uint i = 0; i < 16; i++) { LIGHT_STATUS_RM[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(LIGHT_STATUS_RM__AnalogSerialOutput__ + i, this); m_AnalogOutputList.Add(LIGHT_STATUS_RM__AnalogSerialOutput__ + i, LIGHT_STATUS_RM[i + 1]); } CONTROL_STATUS_RM = new InOutArray <AnalogOutput>(16, this); for (uint i = 0; i < 16; i++) { CONTROL_STATUS_RM[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(CONTROL_STATUS_RM__AnalogSerialOutput__ + i, this); m_AnalogOutputList.Add(CONTROL_STATUS_RM__AnalogSerialOutput__ + i, CONTROL_STATUS_RM[i + 1]); } COMM_TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(COMM_TX__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(COMM_TX__DOLLAR____AnalogSerialOutput__, COMM_TX__DOLLAR__); INCOMING_MSG = new Crestron.Logos.SplusObjects.StringOutput(INCOMING_MSG__AnalogSerialOutput__, this); m_StringOutputList.Add(INCOMING_MSG__AnalogSerialOutput__, INCOMING_MSG); COMM_RX__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput(COMM_RX__DOLLAR____AnalogSerialInput__, 255, this); m_StringInputList.Add(COMM_RX__DOLLAR____AnalogSerialInput__, COMM_RX__DOLLAR__); OUTGOING_MSG = new Crestron.Logos.SplusObjects.BufferInput(OUTGOING_MSG__AnalogSerialInput__, 255, this); m_StringInputList.Add(OUTGOING_MSG__AnalogSerialInput__, OUTGOING_MSG); LOGIN = new StringParameter(LOGIN__Parameter__, this); m_ParameterList.Add(LOGIN__Parameter__, LOGIN); PASSWORD = new StringParameter(PASSWORD__Parameter__, this); m_ParameterList.Add(PASSWORD__Parameter__, PASSWORD); VIRTUAL_BUTTON.OnAnalogChange.Add(new InputChangeHandlerWrapper(VIRTUAL_BUTTON_OnChange_0, false)); COMM_RX__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(COMM_RX__DOLLAR___OnChange_1, false)); OUTGOING_MSG.OnSerialChange.Add(new InputChangeHandlerWrapper(OUTGOING_MSG_OnChange_2, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); DEBUG = new Crestron.Logos.SplusObjects.DigitalInput(DEBUG__DigitalInput__, this); m_DigitalInputList.Add(DEBUG__DigitalInput__, DEBUG); SETSIGNAL = new InOutArray <DigitalInput>(20, this); for (uint i = 0; i < 20; i++) { SETSIGNAL[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SETSIGNAL__DigitalInput__ + i, SETSIGNAL__DigitalInput__, this); m_DigitalInputList.Add(SETSIGNAL__DigitalInput__ + i, SETSIGNAL[i + 1]); } SIGNALCONFIGURED = new InOutArray <DigitalOutput>(20, this); for (uint i = 0; i < 20; i++) { SIGNALCONFIGURED[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(SIGNALCONFIGURED__DigitalOutput__ + i, this); m_DigitalOutputList.Add(SIGNALCONFIGURED__DigitalOutput__ + i, SIGNALCONFIGURED[i + 1]); } SIGNALACTIVE = new InOutArray <DigitalOutput>(20, this); for (uint i = 0; i < 20; i++) { SIGNALACTIVE[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(SIGNALACTIVE__DigitalOutput__ + i, this); m_DigitalOutputList.Add(SIGNALACTIVE__DigitalOutput__ + i, SIGNALACTIVE[i + 1]); } CONNECTED = new Crestron.Logos.SplusObjects.AnalogOutput(CONNECTED__AnalogSerialOutput__, this); m_AnalogOutputList.Add(CONNECTED__AnalogSerialOutput__, CONNECTED); MODULENAME = new Crestron.Logos.SplusObjects.StringInput(MODULENAME__AnalogSerialInput__, 255, this); m_StringInputList.Add(MODULENAME__AnalogSerialInput__, MODULENAME); SIGNALNAME = new InOutArray <StringInput>(20, this); for (uint i = 0; i < 20; i++) { SIGNALNAME[i + 1] = new Crestron.Logos.SplusObjects.StringInput(SIGNALNAME__AnalogSerialInput__ + i, SIGNALNAME__AnalogSerialInput__, 255, this); m_StringInputList.Add(SIGNALNAME__AnalogSerialInput__ + i, SIGNALNAME[i + 1]); } MODULE_CONTROL_MODE = new UShortParameter(MODULE_CONTROL_MODE__Parameter__, this); m_ParameterList.Add(MODULE_CONTROL_MODE__Parameter__, MODULE_CONTROL_MODE); DEBUG.OnDigitalPush.Add(new InputChangeHandlerWrapper(DEBUG_OnPush_0, false)); for (uint i = 0; i < 20; i++) { SETSIGNAL[i + 1].OnDigitalChange.Add(new InputChangeHandlerWrapper(SETSIGNAL_OnChange_1, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); INIT = new Crestron.Logos.SplusObjects.DigitalInput(INIT__DigitalInput__, this); m_DigitalInputList.Add(INIT__DigitalInput__, INIT); SCENE_RECALL = new InOutArray <DigitalInput>(24, this); for (uint i = 0; i < 24; i++) { SCENE_RECALL[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SCENE_RECALL__DigitalInput__ + i, SCENE_RECALL__DigitalInput__, this); m_DigitalInputList.Add(SCENE_RECALL__DigitalInput__ + i, SCENE_RECALL[i + 1]); } SCENE_RECALLING = new InOutArray <DigitalOutput>(24, this); for (uint i = 0; i < 24; i++) { SCENE_RECALLING[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(SCENE_RECALLING__DigitalOutput__ + i, this); m_DigitalOutputList.Add(SCENE_RECALLING__DigitalOutput__ + i, SCENE_RECALLING[i + 1]); } SCENE_NAME = new InOutArray <StringOutput>(24, this); for (uint i = 0; i < 24; i++) { SCENE_NAME[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(SCENE_NAME__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(SCENE_NAME__AnalogSerialOutput__ + i, SCENE_NAME[i + 1]); } USER_NUMBER = new UShortParameter(USER_NUMBER__Parameter__, this); m_ParameterList.Add(USER_NUMBER__Parameter__, USER_NUMBER); ACCESS_LEVEL = new UShortParameter(ACCESS_LEVEL__Parameter__, this); m_ParameterList.Add(ACCESS_LEVEL__Parameter__, ACCESS_LEVEL); USER_NAME = new StringParameter(USER_NAME__Parameter__, this); m_ParameterList.Add(USER_NAME__Parameter__, USER_NAME); FILE_NAME__DOLLAR__ = new StringParameter(FILE_NAME__DOLLAR____Parameter__, this); m_ParameterList.Add(FILE_NAME__DOLLAR____Parameter__, FILE_NAME__DOLLAR__); READ_AT_BOOTUP = new StringParameter(READ_AT_BOOTUP__Parameter__, this); m_ParameterList.Add(READ_AT_BOOTUP__Parameter__, READ_AT_BOOTUP); INIT.OnDigitalPush.Add(new InputChangeHandlerWrapper(INIT_OnPush_0, true)); for (uint i = 0; i < 24; i++) { SCENE_RECALL[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(SCENE_RECALL_OnPush_1, true)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); SOURCE_OFF = new Crestron.Logos.SplusObjects.DigitalInput(SOURCE_OFF__DigitalInput__, this); m_DigitalInputList.Add(SOURCE_OFF__DigitalInput__, SOURCE_OFF); SOURCE_REQ = new InOutArray <DigitalInput>(40, this); for (uint i = 0; i < 40; i++) { SOURCE_REQ[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SOURCE_REQ__DigitalInput__ + i, SOURCE_REQ__DigitalInput__, this); m_DigitalInputList.Add(SOURCE_REQ__DigitalInput__ + i, SOURCE_REQ[i + 1]); } OVERRIDE = new InOutArray <DigitalInput>(5, this); for (uint i = 0; i < 5; i++) { OVERRIDE[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(OVERRIDE__DigitalInput__ + i, OVERRIDE__DigitalInput__, this); m_DigitalInputList.Add(OVERRIDE__DigitalInput__ + i, OVERRIDE[i + 1]); } DEVICE_ID = new InOutArray <AnalogInput>(40, this); for (uint i = 0; i < 40; i++) { DEVICE_ID[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(DEVICE_ID__AnalogSerialInput__ + i, DEVICE_ID__AnalogSerialInput__, this); m_AnalogInputList.Add(DEVICE_ID__AnalogSerialInput__ + i, DEVICE_ID[i + 1]); } OVERRIDE_ID = new InOutArray <AnalogInput>(5, this); for (uint i = 0; i < 5; i++) { OVERRIDE_ID[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(OVERRIDE_ID__AnalogSerialInput__ + i, OVERRIDE_ID__AnalogSerialInput__, this); m_AnalogInputList.Add(OVERRIDE_ID__AnalogSerialInput__ + i, OVERRIDE_ID[i + 1]); } EQUIP_ID = new Crestron.Logos.SplusObjects.AnalogOutput(EQUIP_ID__AnalogSerialOutput__, this); m_AnalogOutputList.Add(EQUIP_ID__AnalogSerialOutput__, EQUIP_ID); for (uint i = 0; i < 5; i++) { OVERRIDE[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(OVERRIDE_OnPush_0, false)); } for (uint i = 0; i < 40; i++) { SOURCE_REQ[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(SOURCE_REQ_OnPush_1, false)); } SOURCE_OFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(SOURCE_OFF_OnPush_2, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo(1, this); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM(this); _SplusNVRAM.TEMPSTRING = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 40, this); SUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput(SUBSCRIBE__DOLLAR____DigitalInput__, this); m_DigitalInputList.Add(SUBSCRIBE__DOLLAR____DigitalInput__, SUBSCRIBE__DOLLAR__); UNSUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput(UNSUBSCRIBE__DOLLAR____DigitalInput__, this); m_DigitalInputList.Add(UNSUBSCRIBE__DOLLAR____DigitalInput__, UNSUBSCRIBE__DOLLAR__); INPUTFOROUTPUT__DOLLAR__ = new InOutArray <AnalogInput>(96, this); for (uint i = 0; i < 96; i++) { INPUTFOROUTPUT__DOLLAR__[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(INPUTFOROUTPUT__DOLLAR____AnalogSerialInput__ + i, INPUTFOROUTPUT__DOLLAR____AnalogSerialInput__, this); m_AnalogInputList.Add(INPUTFOROUTPUT__DOLLAR____AnalogSerialInput__ + i, INPUTFOROUTPUT__DOLLAR__[i + 1]); } INPUTFOROUTPUT_FB__DOLLAR__ = new InOutArray <AnalogOutput>(96, this); for (uint i = 0; i < 96; i++) { INPUTFOROUTPUT_FB__DOLLAR__[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(INPUTFOROUTPUT_FB__DOLLAR____AnalogSerialOutput__ + i, this); m_AnalogOutputList.Add(INPUTFOROUTPUT_FB__DOLLAR____AnalogSerialOutput__ + i, INPUTFOROUTPUT_FB__DOLLAR__[i + 1]); } TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(TX__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__); RX__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput(RX__DOLLAR____AnalogSerialInput__, 400, this); m_StringInputList.Add(RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__); IMAXOUTPUT = new UShortParameter(IMAXOUTPUT__Parameter__, this); m_ParameterList.Add(IMAXOUTPUT__Parameter__, IMAXOUTPUT); OBJECTID__DOLLAR__ = new StringParameter(OBJECTID__DOLLAR____Parameter__, this); m_ParameterList.Add(OBJECTID__DOLLAR____Parameter__, OBJECTID__DOLLAR__); __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_0___CallbackFn); for (uint i = 0; i < 96; i++) { INPUTFOROUTPUT__DOLLAR__[i + 1].OnAnalogChange.Add(new InputChangeHandlerWrapper(INPUTFOROUTPUT__DOLLAR___OnChange_0, false)); } SUBSCRIBE__DOLLAR__.OnDigitalPush.Add(new InputChangeHandlerWrapper(SUBSCRIBE__DOLLAR___OnPush_1, false)); UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add(new InputChangeHandlerWrapper(UNSUBSCRIBE__DOLLAR___OnPush_2, false)); RX__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(RX__DOLLAR___OnChange_3, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo(1, this); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM(this); CHANNEL__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 10, this); CURRENTCHAN__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 10, this); TEMP__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 10, this); KEY_DASH = new Crestron.Logos.SplusObjects.DigitalInput(KEY_DASH__DigitalInput__, this); m_DigitalInputList.Add(KEY_DASH__DigitalInput__, KEY_DASH); KEY_ENTER = new Crestron.Logos.SplusObjects.DigitalInput(KEY_ENTER__DigitalInput__, this); m_DigitalInputList.Add(KEY_ENTER__DigitalInput__, KEY_ENTER); KEY_BACK = new Crestron.Logos.SplusObjects.DigitalInput(KEY_BACK__DigitalInput__, this); m_DigitalInputList.Add(KEY_BACK__DigitalInput__, KEY_BACK); KEY_CLEAR = new Crestron.Logos.SplusObjects.DigitalInput(KEY_CLEAR__DigitalInput__, this); m_DigitalInputList.Add(KEY_CLEAR__DigitalInput__, KEY_CLEAR); KEY_NUM = new InOutArray <DigitalInput>(10, this); for (uint i = 0; i < 10; i++) { KEY_NUM[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(KEY_NUM__DigitalInput__ + i, KEY_NUM__DigitalInput__, this); m_DigitalInputList.Add(KEY_NUM__DigitalInput__ + i, KEY_NUM[i + 1]); } DISPLAY_CHANNEL__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(DISPLAY_CHANNEL__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(DISPLAY_CHANNEL__DOLLAR____AnalogSerialOutput__, DISPLAY_CHANNEL__DOLLAR__); TO_DEVICE__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(TO_DEVICE__DOLLAR____AnalogSerialOutput__, this); m_StringOutputList.Add(TO_DEVICE__DOLLAR____AnalogSerialOutput__, TO_DEVICE__DOLLAR__); FROM_DEVICE__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput(FROM_DEVICE__DOLLAR____AnalogSerialInput__, 100, this); m_StringInputList.Add(FROM_DEVICE__DOLLAR____AnalogSerialInput__, FROM_DEVICE__DOLLAR__); for (uint i = 0; i < 10; i++) { KEY_NUM[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_NUM_OnPush_0, false)); } KEY_DASH.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_DASH_OnPush_1, false)); KEY_BACK.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_BACK_OnPush_2, false)); KEY_CLEAR.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_CLEAR_OnPush_3, false)); KEY_ENTER.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_ENTER_OnPush_4, false)); FROM_DEVICE__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(FROM_DEVICE__DOLLAR___OnChange_5, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo(1, this); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM(this); STOREDCOMMANDSTRING = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 256, this); G_LOADS_FILE__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 96, this); G_ROOM_FILE__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 96, this); G_SCENE_FILE__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 96, this); G_AREA_FILE__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 96, this); PATH__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput(PATH__DOLLAR____AnalogSerialInput__, 64, this); m_StringInputList.Add(PATH__DOLLAR____AnalogSerialInput__, PATH__DOLLAR__); COMMANDTX__DOLLAR__ = new InOutArray <StringOutput>(10, this); for (uint i = 0; i < 10; i++) { COMMANDTX__DOLLAR__[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(COMMANDTX__DOLLAR____AnalogSerialOutput__ + i, this); m_StringOutputList.Add(COMMANDTX__DOLLAR____AnalogSerialOutput__ + i, COMMANDTX__DOLLAR__[i + 1]); } ROUTETOLOADS = new InOutArray <StringOutput>(500, this); for (uint i = 0; i < 500; i++) { ROUTETOLOADS[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(ROUTETOLOADS__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(ROUTETOLOADS__AnalogSerialOutput__ + i, ROUTETOLOADS[i + 1]); } ROUTETOSCENES = new InOutArray <StringOutput>(500, this); for (uint i = 0; i < 500; i++) { ROUTETOSCENES[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(ROUTETOSCENES__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(ROUTETOSCENES__AnalogSerialOutput__ + i, ROUTETOSCENES[i + 1]); } COMMANDRX__DOLLAR__ = new InOutArray <BufferInput>(10, this); for (uint i = 0; i < 10; i++) { COMMANDRX__DOLLAR__[i + 1] = new Crestron.Logos.SplusObjects.BufferInput(COMMANDRX__DOLLAR____AnalogSerialInput__ + i, COMMANDRX__DOLLAR____AnalogSerialInput__, 768, this); m_StringInputList.Add(COMMANDRX__DOLLAR____AnalogSerialInput__ + i, COMMANDRX__DOLLAR__[i + 1]); } for (uint i = 0; i < 10; i++) { COMMANDRX__DOLLAR__[i + 1].OnSerialChange.Add(new InputChangeHandlerWrapper(COMMANDRX__DOLLAR___OnChange_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); IVIS = new ushort[61]; IFB = new ushort[61]; STRASH = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 1000, this); SDATABUFFER = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 3000, this); HTML = new STHTML[3]; for (uint i = 0; i < 3; i++) { HTML [i] = new STHTML(this, true); HTML [i].PopulateCustomAttributeList(false); } VIS = new InOutArray <DigitalOutput>(60, this); for (uint i = 0; i < 60; i++) { VIS[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(VIS__DigitalOutput__ + i, this); m_DigitalOutputList.Add(VIS__DigitalOutput__ + i, VIS[i + 1]); } FB = new InOutArray <DigitalOutput>(60, this); for (uint i = 0; i < 60; i++) { FB[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(FB__DigitalOutput__ + i, this); m_DigitalOutputList.Add(FB__DigitalOutput__ + i, FB[i + 1]); } RX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput(RX__DOLLAR____AnalogSerialInput__, 1024, this); m_StringInputList.Add(RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__); TX__DOLLAR__1 = new InOutArray <StringOutput>(60, this); for (uint i = 0; i < 60; i++) { TX__DOLLAR__1[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(TX__DOLLAR__1__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(TX__DOLLAR__1__AnalogSerialOutput__ + i, TX__DOLLAR__1[i + 1]); } HIGHINDEX = new UShortParameter(HIGHINDEX__Parameter__, this); m_ParameterList.Add(HIGHINDEX__Parameter__, HIGHINDEX); TEXTCOLUMNS = new UShortParameter(TEXTCOLUMNS__Parameter__, this); m_ParameterList.Add(TEXTCOLUMNS__Parameter__, TEXTCOLUMNS); HTMLDATA = new StringParameter(HTMLDATA__Parameter__, this); m_ParameterList.Add(HTMLDATA__Parameter__, HTMLDATA); RX__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(RX__DOLLAR___OnChange_0, true)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); SBUF = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 2000, this); FILE_CONTENTS = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 2000, this); FILE_LINE = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this); STR = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this); NFILEINFO = new FILE_INFO(); NFILEINFO.PopulateDefaults(); PRESET_INIT = new Crestron.Logos.SplusObjects.DigitalInput(PRESET_INIT__DigitalInput__, this); m_DigitalInputList.Add(PRESET_INIT__DigitalInput__, PRESET_INIT); PRESET_SAVE = new Crestron.Logos.SplusObjects.DigitalInput(PRESET_SAVE__DigitalInput__, this); m_DigitalInputList.Add(PRESET_SAVE__DigitalInput__, PRESET_SAVE); PRESET_SAVED_FB = new Crestron.Logos.SplusObjects.DigitalOutput(PRESET_SAVED_FB__DigitalOutput__, this); m_DigitalOutputList.Add(PRESET_SAVED_FB__DigitalOutput__, PRESET_SAVED_FB); LEVEL_IN = new InOutArray <AnalogInput>(32, this); for (uint i = 0; i < 32; i++) { LEVEL_IN[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(LEVEL_IN__AnalogSerialInput__ + i, LEVEL_IN__AnalogSerialInput__, this); m_AnalogInputList.Add(LEVEL_IN__AnalogSerialInput__ + i, LEVEL_IN[i + 1]); } LEVEL_OUT = new InOutArray <AnalogOutput>(32, this); for (uint i = 0; i < 32; i++) { LEVEL_OUT[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(LEVEL_OUT__AnalogSerialOutput__ + i, this); m_AnalogOutputList.Add(LEVEL_OUT__AnalogSerialOutput__ + i, LEVEL_OUT[i + 1]); } DEFAULT_LEVEL = new UShortParameter(DEFAULT_LEVEL__Parameter__, this); m_ParameterList.Add(DEFAULT_LEVEL__Parameter__, DEFAULT_LEVEL); ROOMID = new StringParameter(ROOMID__Parameter__, this); m_ParameterList.Add(ROOMID__Parameter__, ROOMID); FILE_PATH = new StringParameter(FILE_PATH__Parameter__, this); m_ParameterList.Add(FILE_PATH__Parameter__, FILE_PATH); PRESET_NAME = new StringParameter(PRESET_NAME__Parameter__, this); m_ParameterList.Add(PRESET_NAME__Parameter__, PRESET_NAME); PRESET_SAVE.OnDigitalPush.Add(new InputChangeHandlerWrapper(PRESET_SAVE_OnPush_0, false)); PRESET_INIT.OnDigitalPush.Add(new InputChangeHandlerWrapper(PRESET_INIT_OnPush_1, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo(1, this); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM(this); POWER_ON = new Crestron.Logos.SplusObjects.DigitalInput(POWER_ON__DigitalInput__, this); m_DigitalInputList.Add(POWER_ON__DigitalInput__, POWER_ON); POWER_OFF = new Crestron.Logos.SplusObjects.DigitalInput(POWER_OFF__DigitalInput__, this); m_DigitalInputList.Add(POWER_OFF__DigitalInput__, POWER_OFF); ACTIVATE_3D = new Crestron.Logos.SplusObjects.DigitalInput(ACTIVATE_3D__DigitalInput__, this); m_DigitalInputList.Add(ACTIVATE_3D__DigitalInput__, ACTIVATE_3D); DEACTIVATE_3D = new Crestron.Logos.SplusObjects.DigitalInput(DEACTIVATE_3D__DigitalInput__, this); m_DigitalInputList.Add(DEACTIVATE_3D__DigitalInput__, DEACTIVATE_3D); SELECT_INPUTS_1234 = new Crestron.Logos.SplusObjects.DigitalInput(SELECT_INPUTS_1234__DigitalInput__, this); m_DigitalInputList.Add(SELECT_INPUTS_1234__DigitalInput__, SELECT_INPUTS_1234); STATUS_POWER = new Crestron.Logos.SplusObjects.DigitalOutput(STATUS_POWER__DigitalOutput__, this); m_DigitalOutputList.Add(STATUS_POWER__DigitalOutput__, STATUS_POWER); STATUS_3D = new Crestron.Logos.SplusObjects.DigitalOutput(STATUS_3D__DigitalOutput__, this); m_DigitalOutputList.Add(STATUS_3D__DigitalOutput__, STATUS_3D); LAN_RX = new Crestron.Logos.SplusObjects.StringInput(LAN_RX__AnalogSerialInput__, 256, this); m_StringInputList.Add(LAN_RX__AnalogSerialInput__, LAN_RX); STATUS_LAMP_HOURS = new InOutArray <StringOutput>(16, this); for (uint i = 0; i < 16; i++) { STATUS_LAMP_HOURS[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(STATUS_LAMP_HOURS__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(STATUS_LAMP_HOURS__AnalogSerialOutput__ + i, STATUS_LAMP_HOURS[i + 1]); } LAN_TX = new InOutArray <StringOutput>(256, this); for (uint i = 0; i < 256; i++) { LAN_TX[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(LAN_TX__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(LAN_TX__AnalogSerialOutput__ + i, LAN_TX[i + 1]); } POWER_ON.OnDigitalPush.Add(new InputChangeHandlerWrapper(POWER_ON_OnPush_0, false)); POWER_OFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(POWER_OFF_OnPush_1, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); LINK = new Crestron.Logos.SplusObjects.DigitalInput(LINK__DigitalInput__, this); m_DigitalInputList.Add(LINK__DigitalInput__, LINK); GETLIGHTS = new Crestron.Logos.SplusObjects.DigitalInput(GETLIGHTS__DigitalInput__, this); m_DigitalInputList.Add(GETLIGHTS__DigitalInput__, GETLIGHTS); ISLINKED = new Crestron.Logos.SplusObjects.DigitalOutput(ISLINKED__DigitalOutput__, this); m_DigitalOutputList.Add(ISLINKED__DigitalOutput__, ISLINKED); IPADDRESS = new Crestron.Logos.SplusObjects.StringInput(IPADDRESS__AnalogSerialInput__, 16, this); m_StringInputList.Add(IPADDRESS__AnalogSerialInput__, IPADDRESS); USERNAME = new Crestron.Logos.SplusObjects.StringInput(USERNAME__AnalogSerialInput__, 1000, this); m_StringInputList.Add(USERNAME__AnalogSerialInput__, USERNAME); BRIDGENAME = new Crestron.Logos.SplusObjects.StringOutput(BRIDGENAME__AnalogSerialOutput__, this); m_StringOutputList.Add(BRIDGENAME__AnalogSerialOutput__, BRIDGENAME); BRIDGEVERSION = new Crestron.Logos.SplusObjects.StringOutput(BRIDGEVERSION__AnalogSerialOutput__, this); m_StringOutputList.Add(BRIDGEVERSION__AnalogSerialOutput__, BRIDGEVERSION); STATUS = new Crestron.Logos.SplusObjects.StringOutput(STATUS__AnalogSerialOutput__, this); m_StringOutputList.Add(STATUS__AnalogSerialOutput__, STATUS); LIGHTNAME = new InOutArray <StringOutput>(50, this); for (uint i = 0; i < 50; i++) { LIGHTNAME[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(LIGHTNAME__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(LIGHTNAME__AnalogSerialOutput__ + i, LIGHTNAME[i + 1]); } GROUPNAME = new InOutArray <StringOutput>(50, this); for (uint i = 0; i < 50; i++) { GROUPNAME[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(GROUPNAME__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(GROUPNAME__AnalogSerialOutput__ + i, GROUPNAME[i + 1]); } LINK.OnDigitalPush.Add(new InputChangeHandlerWrapper(LINK_OnPush_0, false)); GETLIGHTS.OnDigitalPush.Add(new InputChangeHandlerWrapper(GETLIGHTS_OnPush_1, false)); IPADDRESS.OnSerialChange.Add(new InputChangeHandlerWrapper(IPADDRESS_OnChange_2, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); COMMANDQUEUE = new CrestronString[501]; for (uint i = 0; i < 501; i++) { COMMANDQUEUE [i] = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 25, this); } QUERYQUEUE = new CrestronString[501]; for (uint i = 0; i < 501; i++) { QUERYQUEUE [i] = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 25, this); } ADDRESSES = new CrestronString[101]; for (uint i = 0; i < 101; i++) { ADDRESSES [i] = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 3, this); } INITIALIZE = new Crestron.Logos.SplusObjects.DigitalInput(INITIALIZE__DigitalInput__, this); m_DigitalInputList.Add(INITIALIZE__DigitalInput__, INITIALIZE); INITCOMPLETE = new Crestron.Logos.SplusObjects.DigitalOutput(INITCOMPLETE__DigitalOutput__, this); m_DigitalOutputList.Add(INITCOMPLETE__DigitalOutput__, INITCOMPLETE); TODEVICE = new Crestron.Logos.SplusObjects.StringOutput(TODEVICE__AnalogSerialOutput__, this); m_StringOutputList.Add(TODEVICE__AnalogSerialOutput__, TODEVICE); TOMODULES = new InOutArray <StringOutput>(100, this); for (uint i = 0; i < 100; i++) { TOMODULES[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(TOMODULES__AnalogSerialOutput__ + i, this); m_StringOutputList.Add(TOMODULES__AnalogSerialOutput__ + i, TOMODULES[i + 1]); } FROMDEVICE = new Crestron.Logos.SplusObjects.BufferInput(FROMDEVICE__AnalogSerialInput__, 500, this); m_StringInputList.Add(FROMDEVICE__AnalogSerialInput__, FROMDEVICE); FROMMODULES = new Crestron.Logos.SplusObjects.BufferInput(FROMMODULES__AnalogSerialInput__, 5000, this); m_StringInputList.Add(FROMMODULES__AnalogSerialInput__, FROMMODULES); __SPLS_TMPVAR__WAITLABEL_10___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_10___CallbackFn); INITIALIZE.OnDigitalPush.Add(new InputChangeHandlerWrapper(INITIALIZE_OnPush_0, false)); FROMDEVICE.OnSerialChange.Add(new InputChangeHandlerWrapper(FROMDEVICE_OnChange_1, true)); FROMMODULES.OnSerialChange.Add(new InputChangeHandlerWrapper(FROMMODULES_OnChange_2, true)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); SOURCE_OFF = new Crestron.Logos.SplusObjects.DigitalInput(SOURCE_OFF__DigitalInput__, this); m_DigitalInputList.Add(SOURCE_OFF__DigitalInput__, SOURCE_OFF); SOURCE_REQ = new InOutArray <DigitalInput>(50, this); for (uint i = 0; i < 50; i++) { SOURCE_REQ[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SOURCE_REQ__DigitalInput__ + i, SOURCE_REQ__DigitalInput__, this); m_DigitalInputList.Add(SOURCE_REQ__DigitalInput__ + i, SOURCE_REQ[i + 1]); } SOURCE_OFF_FB = new Crestron.Logos.SplusObjects.DigitalOutput(SOURCE_OFF_FB__DigitalOutput__, this); m_DigitalOutputList.Add(SOURCE_OFF_FB__DigitalOutput__, SOURCE_OFF_FB); SOURCE_FB = new InOutArray <DigitalOutput>(50, this); for (uint i = 0; i < 50; i++) { SOURCE_FB[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(SOURCE_FB__DigitalOutput__ + i, this); m_DigitalOutputList.Add(SOURCE_FB__DigitalOutput__ + i, SOURCE_FB[i + 1]); } EQUIP_ID_IN = new Crestron.Logos.SplusObjects.AnalogInput(EQUIP_ID_IN__AnalogSerialInput__, this); m_AnalogInputList.Add(EQUIP_ID_IN__AnalogSerialInput__, EQUIP_ID_IN); DEVICE_ID = new InOutArray <AnalogInput>(50, this); for (uint i = 0; i < 50; i++) { DEVICE_ID[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(DEVICE_ID__AnalogSerialInput__ + i, DEVICE_ID__AnalogSerialInput__, this); m_AnalogInputList.Add(DEVICE_ID__AnalogSerialInput__ + i, DEVICE_ID[i + 1]); } EQUIP_ID_OUT = new Crestron.Logos.SplusObjects.AnalogOutput(EQUIP_ID_OUT__AnalogSerialOutput__, this); m_AnalogOutputList.Add(EQUIP_ID_OUT__AnalogSerialOutput__, EQUIP_ID_OUT); EQUIP_ID_IN.OnAnalogChange.Add(new InputChangeHandlerWrapper(EQUIP_ID_IN_OnChange_0, false)); for (uint i = 0; i < 50; i++) { SOURCE_REQ[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(SOURCE_REQ_OnPush_1, false)); } SOURCE_OFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(SOURCE_OFF_OnPush_2, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); PWR_OFF = new Crestron.Logos.SplusObjects.DigitalInput(PWR_OFF__DigitalInput__, this); m_DigitalInputList.Add(PWR_OFF__DigitalInput__, PWR_OFF); INPUT = new InOutArray <DigitalInput>(20, this); for (uint i = 0; i < 20; i++) { INPUT[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(INPUT__DigitalInput__ + i, INPUT__DigitalInput__, this); m_DigitalInputList.Add(INPUT__DigitalInput__ + i, INPUT[i + 1]); } SEND_PWR_ON = new Crestron.Logos.SplusObjects.DigitalOutput(SEND_PWR_ON__DigitalOutput__, this); m_DigitalOutputList.Add(SEND_PWR_ON__DigitalOutput__, SEND_PWR_ON); SEND_PWR_OFF = new Crestron.Logos.SplusObjects.DigitalOutput(SEND_PWR_OFF__DigitalOutput__, this); m_DigitalOutputList.Add(SEND_PWR_OFF__DigitalOutput__, SEND_PWR_OFF); SEND_INPUT = new InOutArray <DigitalOutput>(20, this); for (uint i = 0; i < 20; i++) { SEND_INPUT[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(SEND_INPUT__DigitalOutput__ + i, this); m_DigitalOutputList.Add(SEND_INPUT__DigitalOutput__ + i, SEND_INPUT[i + 1]); } DELAYED_INPUT_TRIGGER = new UShortParameter(DELAYED_INPUT_TRIGGER__Parameter__, this); m_ParameterList.Add(DELAYED_INPUT_TRIGGER__Parameter__, DELAYED_INPUT_TRIGGER); PULSE_TIME = new UShortParameter(PULSE_TIME__Parameter__, this); m_ParameterList.Add(PULSE_TIME__Parameter__, PULSE_TIME); STEP_TIME = new UShortParameter(STEP_TIME__Parameter__, this); m_ParameterList.Add(STEP_TIME__Parameter__, STEP_TIME); PWR_LONG_DELAY_Callback = new WaitFunction(PWR_LONG_DELAY_CallbackFn); for (uint i = 0; i < 20; i++) { INPUT[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(INPUT_OnPush_0, false)); } PWR_OFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(PWR_OFF_OnPush_1, false)); _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); ENABLE_TRANSLATION_TO_ZERO = new Crestron.Logos.SplusObjects.DigitalInput(ENABLE_TRANSLATION_TO_ZERO__DigitalInput__, this); m_DigitalInputList.Add(ENABLE_TRANSLATION_TO_ZERO__DigitalInput__, ENABLE_TRANSLATION_TO_ZERO); ENABLE_UNKNOWN_X_TRANSLATION_TO_ZERO = new Crestron.Logos.SplusObjects.DigitalInput(ENABLE_UNKNOWN_X_TRANSLATION_TO_ZERO__DigitalInput__, this); m_DigitalInputList.Add(ENABLE_UNKNOWN_X_TRANSLATION_TO_ZERO__DigitalInput__, ENABLE_UNKNOWN_X_TRANSLATION_TO_ZERO); X = new InOutArray <AnalogInput>(1, this); for (uint i = 0; i < 1; i++) { X[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(X__AnalogSerialInput__ + i, X__AnalogSerialInput__, this); m_AnalogInputList.Add(X__AnalogSerialInput__ + i, X[i + 1]); } X_PARAMETER = new InOutArray <AnalogInput>(33, this); for (uint i = 0; i < 33; i++) { X_PARAMETER[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(X_PARAMETER__AnalogSerialInput__ + i, X_PARAMETER__AnalogSerialInput__, this); m_AnalogInputList.Add(X_PARAMETER__AnalogSerialInput__ + i, X_PARAMETER[i + 1]); } Y = new InOutArray <AnalogInput>(33, this); for (uint i = 0; i < 33; i++) { Y[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(Y__AnalogSerialInput__ + i, Y__AnalogSerialInput__, this); m_AnalogInputList.Add(Y__AnalogSerialInput__ + i, Y[i + 1]); } FUNCTION_OF_X = new InOutArray <AnalogOutput>(1, this); for (uint i = 0; i < 1; i++) { FUNCTION_OF_X[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(FUNCTION_OF_X__AnalogSerialOutput__ + i, this); m_AnalogOutputList.Add(FUNCTION_OF_X__AnalogSerialOutput__ + i, FUNCTION_OF_X[i + 1]); } for (uint i = 0; i < 1; i++) { X[i + 1].OnAnalogChange.Add(new InputChangeHandlerWrapper(X_OnChange_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM(this); COMMAND = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this); DMXENABLED = new InOutArray <DigitalInput>(120, this); for (uint i = 0; i < 120; i++) { DMXENABLED[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(DMXENABLED__DigitalInput__ + i, DMXENABLED__DigitalInput__, this); m_DigitalInputList.Add(DMXENABLED__DigitalInput__ + i, DMXENABLED[i + 1]); } II = new InOutArray <AnalogInput>(120, this); for (uint i = 0; i < 120; i++) { II[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(II__AnalogSerialInput__ + i, II__AnalogSerialInput__, this); m_AnalogInputList.Add(II__AnalogSerialInput__ + i, II[i + 1]); } CI = new InOutArray <AnalogInput>(120, this); for (uint i = 0; i < 120; i++) { CI[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(CI__AnalogSerialInput__ + i, CI__AnalogSerialInput__, this); m_AnalogInputList.Add(CI__AnalogSerialInput__ + i, CI[i + 1]); } TIMEE = new Crestron.Logos.SplusObjects.StringInput(TIMEE__AnalogSerialInput__, 255, this); m_StringInputList.Add(TIMEE__AnalogSerialInput__, TIMEE); TX = new Crestron.Logos.SplusObjects.StringOutput(TX__AnalogSerialOutput__, this); m_StringOutputList.Add(TX__AnalogSerialOutput__, TX); for (uint i = 0; i < 120; i++) { II[i + 1].OnAnalogChange.Add(new InputChangeHandlerWrapper(II_OnChange_0, false)); } for (uint i = 0; i < 120; i++) { CI[i + 1].OnAnalogChange.Add(new InputChangeHandlerWrapper(II_OnChange_0, false)); } _SplusNVRAM.PopulateCustomAttributeList(true); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); ROOM_ON = new InOutArray<DigitalInput>( 25, this ); for( uint i = 0; i < 25; i++ ) { ROOM_ON[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( ROOM_ON__DigitalInput__ + i, ROOM_ON__DigitalInput__, this ); m_DigitalInputList.Add( ROOM_ON__DigitalInput__ + i, ROOM_ON[i+1] ); } ROOM = new InOutArray<StringInput>( 25, this ); for( uint i = 0; i < 25; i++ ) { ROOM[i+1] = new Crestron.Logos.SplusObjects.StringInput( ROOM__AnalogSerialInput__ + i, ROOM__AnalogSerialInput__, 100, this ); m_StringInputList.Add( ROOM__AnalogSerialInput__ + i, ROOM[i+1] ); } OUTPUT = new InOutArray<StringOutput>( 25, this ); for( uint i = 0; i < 25; i++ ) { OUTPUT[i+1] = new Crestron.Logos.SplusObjects.StringOutput( OUTPUT__AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( OUTPUT__AnalogSerialOutput__ + i, OUTPUT[i+1] ); } FONTSIZE = new UShortParameter( FONTSIZE__Parameter__, this ); m_ParameterList.Add( FONTSIZE__Parameter__, FONTSIZE ); ON_COLOR = new StringParameter( ON_COLOR__Parameter__, this ); m_ParameterList.Add( ON_COLOR__Parameter__, ON_COLOR ); OFF_COLOR = new StringParameter( OFF_COLOR__Parameter__, this ); m_ParameterList.Add( OFF_COLOR__Parameter__, OFF_COLOR ); for( uint i = 0; i < 25; i++ ) ROOM_ON[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( ROOM_ON_OnPush_0, false ) ); for( uint i = 0; i < 25; i++ ) ROOM_ON[i+1].OnDigitalRelease.Add( new InputChangeHandlerWrapper( ROOM_ON_OnRelease_1, false ) ); for( uint i = 0; i < 25; i++ ) ROOM[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( ROOM_OnChange_2, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo( 1, this ); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM( this ); SLOTS = new InOutArray<StringOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { SLOTS[i+1] = new Crestron.Logos.SplusObjects.StringOutput( SLOTS__AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( SLOTS__AnalogSerialOutput__ + i, SLOTS[i+1] ); } UNIVERSE = new UShortParameter( UNIVERSE__Parameter__, this ); m_ParameterList.Add( UNIVERSE__Parameter__, UNIVERSE ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); SYSTEMSTARTUPPULSE = new Crestron.Logos.SplusObjects.DigitalInput( SYSTEMSTARTUPPULSE__DigitalInput__, this ); m_DigitalInputList.Add( SYSTEMSTARTUPPULSE__DigitalInput__, SYSTEMSTARTUPPULSE ); LISTPOSITION = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { LISTPOSITION[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION__AnalogSerialInput__, this ); m_AnalogInputList.Add( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION[i+1] ); } INITIALPREVIOUSSOURCE = new Crestron.Logos.SplusObjects.AnalogOutput( INITIALPREVIOUSSOURCE__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( INITIALPREVIOUSSOURCE__AnalogSerialOutput__, INITIALPREVIOUSSOURCE ); SYSTEMSTARTUPPULSE.OnDigitalPush.Add( new InputChangeHandlerWrapper( SYSTEMSTARTUPPULSE_OnPush_0, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); _SplusNVRAM.STEMP = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 10, this ); _SplusNVRAM.SVOLUMETEMP = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this ); _SplusNVRAM.STHREEDVIEWPOINTTEMP = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this ); _SplusNVRAM.STHREEDDEPTHTEMP = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this ); _SplusNVRAM.SCHANNELTEMP = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this ); _SplusNVRAM.SNUMBER = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 11, this ); _SplusNVRAM.SCHANNELCOMMAND = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 13, this ); ATV = new Crestron.Logos.SplusObjects.DigitalInput( ATV__DigitalInput__, this ); m_DigitalInputList.Add( ATV__DigitalInput__, ATV ); DTV = new Crestron.Logos.SplusObjects.DigitalInput( DTV__DigitalInput__, this ); m_DigitalInputList.Add( DTV__DigitalInput__, DTV ); KP = new InOutArray<DigitalInput>( 13, this ); for( uint i = 0; i < 13; i++ ) { KP[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( KP__DigitalInput__ + i, KP__DigitalInput__, this ); m_DigitalInputList.Add( KP__DigitalInput__ + i, KP[i+1] ); } VOLUME_SET_VALUE = new Crestron.Logos.SplusObjects.AnalogInput( VOLUME_SET_VALUE__AnalogSerialInput__, this ); m_AnalogInputList.Add( VOLUME_SET_VALUE__AnalogSerialInput__, VOLUME_SET_VALUE ); THREED_VIEW_POINT_VALUE = new Crestron.Logos.SplusObjects.AnalogInput( THREED_VIEW_POINT_VALUE__AnalogSerialInput__, this ); m_AnalogInputList.Add( THREED_VIEW_POINT_VALUE__AnalogSerialInput__, THREED_VIEW_POINT_VALUE ); THREED_DEPTH_VALUE = new Crestron.Logos.SplusObjects.AnalogInput( THREED_DEPTH_VALUE__AnalogSerialInput__, this ); m_AnalogInputList.Add( THREED_DEPTH_VALUE__AnalogSerialInput__, THREED_DEPTH_VALUE ); STRING_TO_SEND = new Crestron.Logos.SplusObjects.StringInput( STRING_TO_SEND__AnalogSerialInput__, 10, this ); m_StringInputList.Add( STRING_TO_SEND__AnalogSerialInput__, STRING_TO_SEND ); CHANNEL_TEXT = new Crestron.Logos.SplusObjects.StringOutput( CHANNEL_TEXT__AnalogSerialOutput__, this ); m_StringOutputList.Add( CHANNEL_TEXT__AnalogSerialOutput__, CHANNEL_TEXT ); VOLUME_TEXT = new Crestron.Logos.SplusObjects.StringOutput( VOLUME_TEXT__AnalogSerialOutput__, this ); m_StringOutputList.Add( VOLUME_TEXT__AnalogSerialOutput__, VOLUME_TEXT ); TO_DEVICE = new Crestron.Logos.SplusObjects.StringOutput( TO_DEVICE__AnalogSerialOutput__, this ); m_StringOutputList.Add( TO_DEVICE__AnalogSerialOutput__, TO_DEVICE ); __SPLS_TMPVAR__WAITLABEL_4___Callback = new WaitFunction( __SPLS_TMPVAR__WAITLABEL_4___CallbackFn ); STRING_TO_SEND.OnSerialChange.Add( new InputChangeHandlerWrapper( STRING_TO_SEND_OnChange_0, false ) ); VOLUME_SET_VALUE.OnAnalogChange.Add( new InputChangeHandlerWrapper( VOLUME_SET_VALUE_OnChange_1, false ) ); THREED_VIEW_POINT_VALUE.OnAnalogChange.Add( new InputChangeHandlerWrapper( THREED_VIEW_POINT_VALUE_OnChange_2, false ) ); THREED_DEPTH_VALUE.OnAnalogChange.Add( new InputChangeHandlerWrapper( THREED_DEPTH_VALUE_OnChange_3, false ) ); for( uint i = 0; i < 13; i++ ) KP[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( KP_OnPush_4, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); SOURCESHAREROOMMAP = new ushort[ 25 ]; SYSTEMINITIALIZED = new Crestron.Logos.SplusObjects.DigitalInput( SYSTEMINITIALIZED__DigitalInput__, this ); m_DigitalInputList.Add( SYSTEMINITIALIZED__DigitalInput__, SYSTEMINITIALIZED ); ONSOURCESHARINGPAGE = new Crestron.Logos.SplusObjects.DigitalInput( ONSOURCESHARINGPAGE__DigitalInput__, this ); m_DigitalInputList.Add( ONSOURCESHARINGPAGE__DigitalInput__, ONSOURCESHARINGPAGE ); ROOMDISABLED = new InOutArray<DigitalInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMDISABLED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( ROOMDISABLED__DigitalInput__ + i, ROOMDISABLED__DigitalInput__, this ); m_DigitalInputList.Add( ROOMDISABLED__DigitalInput__ + i, ROOMDISABLED[i+1] ); } ROOMLINESELECTED = new InOutArray<DigitalInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMLINESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( ROOMLINESELECTED__DigitalInput__ + i, ROOMLINESELECTED__DigitalInput__, this ); m_DigitalInputList.Add( ROOMLINESELECTED__DigitalInput__ + i, ROOMLINESELECTED[i+1] ); } SOURCESHARELINESELECTED = new InOutArray<DigitalInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCESHARELINESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( SOURCESHARELINESELECTED__DigitalInput__ + i, SOURCESHARELINESELECTED__DigitalInput__, this ); m_DigitalInputList.Add( SOURCESHARELINESELECTED__DigitalInput__ + i, SOURCESHARELINESELECTED[i+1] ); } ROOMLISTINITIALIZED = new Crestron.Logos.SplusObjects.DigitalOutput( ROOMLISTINITIALIZED__DigitalOutput__, this ); m_DigitalOutputList.Add( ROOMLISTINITIALIZED__DigitalOutput__, ROOMLISTINITIALIZED ); SHIFTSOURCESHAREHIGHLIGHTTOTOP = new Crestron.Logos.SplusObjects.DigitalOutput( SHIFTSOURCESHAREHIGHLIGHTTOTOP__DigitalOutput__, this ); m_DigitalOutputList.Add( SHIFTSOURCESHAREHIGHLIGHTTOTOP__DigitalOutput__, SHIFTSOURCESHAREHIGHLIGHTTOTOP ); ITEMSELECTEDFB = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ITEMSELECTEDFB[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( ITEMSELECTEDFB__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( ITEMSELECTEDFB__DigitalOutput__ + i, ITEMSELECTEDFB[i+1] ); } LINECHECKEDFB = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { LINECHECKEDFB[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( LINECHECKEDFB__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( LINECHECKEDFB__DigitalOutput__ + i, LINECHECKEDFB[i+1] ); } ROOMSELECTED = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMSELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( ROOMSELECTED__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( ROOMSELECTED__DigitalOutput__ + i, ROOMSELECTED[i+1] ); } SELECTEDROOM = new Crestron.Logos.SplusObjects.AnalogInput( SELECTEDROOM__AnalogSerialInput__, this ); m_AnalogInputList.Add( SELECTEDROOM__AnalogSerialInput__, SELECTEDROOM ); SOURCESHAREEXCLUDEDROOM = new Crestron.Logos.SplusObjects.AnalogInput( SOURCESHAREEXCLUDEDROOM__AnalogSerialInput__, this ); m_AnalogInputList.Add( SOURCESHAREEXCLUDEDROOM__AnalogSerialInput__, SOURCESHAREEXCLUDEDROOM ); LISTPOSITION = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { LISTPOSITION[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION__AnalogSerialInput__, this ); m_AnalogInputList.Add( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION[i+1] ); } ROOMSOURCE = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMSOURCE[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( ROOMSOURCE__AnalogSerialInput__ + i, ROOMSOURCE__AnalogSerialInput__, this ); m_AnalogInputList.Add( ROOMSOURCE__AnalogSerialInput__ + i, ROOMSOURCE[i+1] ); } ROOMICONSIN = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMICONSIN[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( ROOMICONSIN__AnalogSerialInput__ + i, ROOMICONSIN__AnalogSerialInput__, this ); m_AnalogInputList.Add( ROOMICONSIN__AnalogSerialInput__ + i, ROOMICONSIN[i+1] ); } SOURCESHAREHIGHLIGHTOUT = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCESHAREHIGHLIGHTOUT__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SOURCESHAREHIGHLIGHTOUT__AnalogSerialOutput__, SOURCESHAREHIGHLIGHTOUT ); ROOMSCROLLMAX = new Crestron.Logos.SplusObjects.AnalogOutput( ROOMSCROLLMAX__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( ROOMSCROLLMAX__AnalogSerialOutput__, ROOMSCROLLMAX ); SOURCESHARESCROLLMAX = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCESHARESCROLLMAX__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SOURCESHARESCROLLMAX__AnalogSerialOutput__, SOURCESHARESCROLLMAX ); SOURCESHAREROOMSOURCE = new InOutArray<AnalogOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCESHAREROOMSOURCE[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCESHAREROOMSOURCE__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( SOURCESHAREROOMSOURCE__AnalogSerialOutput__ + i, SOURCESHAREROOMSOURCE[i+1] ); } ROOMICONSOUT = new InOutArray<AnalogOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMICONSOUT[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( ROOMICONSOUT__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( ROOMICONSOUT__AnalogSerialOutput__ + i, ROOMICONSOUT[i+1] ); } SOURCESHAREICONSOUT = new InOutArray<AnalogOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCESHAREICONSOUT[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCESHAREICONSOUT__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( SOURCESHAREICONSOUT__AnalogSerialOutput__ + i, SOURCESHAREICONSOUT[i+1] ); } ROOMNAMEIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMNAMEIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( ROOMNAMEIN__DOLLAR____AnalogSerialInput__ + i, ROOMNAMEIN__DOLLAR____AnalogSerialInput__, 32, this ); m_StringInputList.Add( ROOMNAMEIN__DOLLAR____AnalogSerialInput__ + i, ROOMNAMEIN__DOLLAR__[i+1] ); } CURRENTROOM__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( CURRENTROOM__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTROOM__DOLLAR____AnalogSerialOutput__, CURRENTROOM__DOLLAR__ ); ROOMNAMEOUT__DOLLAR__ = new InOutArray<StringOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMNAMEOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( ROOMNAMEOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( ROOMNAMEOUT__DOLLAR____AnalogSerialOutput__ + i, ROOMNAMEOUT__DOLLAR__[i+1] ); } SOURCESHAREROOMNAMEOUT__DOLLAR__ = new InOutArray<StringOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCESHAREROOMNAMEOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( SOURCESHAREROOMNAMEOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( SOURCESHAREROOMNAMEOUT__DOLLAR____AnalogSerialOutput__ + i, SOURCESHAREROOMNAMEOUT__DOLLAR__[i+1] ); } SYSTEMINITIALIZED.OnDigitalPush.Add( new InputChangeHandlerWrapper( SYSTEMINITIALIZED_OnPush_0, false ) ); SELECTEDROOM.OnAnalogChange.Add( new InputChangeHandlerWrapper( SELECTEDROOM_OnChange_1, false ) ); for( uint i = 0; i < 24; i++ ) ROOMLINESELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( ROOMLINESELECTED_OnPush_2, false ) ); for( uint i = 0; i < 24; i++ ) SOURCESHARELINESELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( SOURCESHARELINESELECTED_OnPush_3, false ) ); for( uint i = 0; i < 24; i++ ) ROOMSOURCE[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( ROOMSOURCE_OnChange_4, false ) ); ONSOURCESHARINGPAGE.OnDigitalPush.Add( new InputChangeHandlerWrapper( ONSOURCESHARINGPAGE_OnPush_5, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); SOURCESHAREROOMMAP = new ushort[ 25 ]; SYSTEMINITIALIZED = new Crestron.Logos.SplusObjects.DigitalInput( SYSTEMINITIALIZED__DigitalInput__, this ); m_DigitalInputList.Add( SYSTEMINITIALIZED__DigitalInput__, SYSTEMINITIALIZED ); SCROLLFIRST = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLFIRST__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLFIRST__DigitalInput__, SCROLLFIRST ); SCROLLLAST = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLLAST__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLLAST__DigitalInput__, SCROLLLAST ); SCROLLPREVIOUS = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLPREVIOUS__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLPREVIOUS__DigitalInput__, SCROLLPREVIOUS ); SCROLLNEXT = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLNEXT__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLNEXT__DigitalInput__, SCROLLNEXT ); SCROLLLINEUP = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLLINEUP__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLLINEUP__DigitalInput__, SCROLLLINEUP ); SCROLLLINEDOWN = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLLINEDOWN__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLLINEDOWN__DigitalInput__, SCROLLLINEDOWN ); SCROLLSELECT = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLSELECT__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLSELECT__DigitalInput__, SCROLLSELECT ); PREVENTSCROLLSELECT = new Crestron.Logos.SplusObjects.DigitalInput( PREVENTSCROLLSELECT__DigitalInput__, this ); m_DigitalInputList.Add( PREVENTSCROLLSELECT__DigitalInput__, PREVENTSCROLLSELECT ); ONROOMSELECTPAGE = new Crestron.Logos.SplusObjects.DigitalInput( ONROOMSELECTPAGE__DigitalInput__, this ); m_DigitalInputList.Add( ONROOMSELECTPAGE__DigitalInput__, ONROOMSELECTPAGE ); ONSOURCESHARINGPAGE = new Crestron.Logos.SplusObjects.DigitalInput( ONSOURCESHARINGPAGE__DigitalInput__, this ); m_DigitalInputList.Add( ONSOURCESHARINGPAGE__DigitalInput__, ONSOURCESHARINGPAGE ); COMBINEROOMANDSOURCENAMES = new Crestron.Logos.SplusObjects.DigitalInput( COMBINEROOMANDSOURCENAMES__DigitalInput__, this ); m_DigitalInputList.Add( COMBINEROOMANDSOURCENAMES__DigitalInput__, COMBINEROOMANDSOURCENAMES ); SOURCESHAREALL = new Crestron.Logos.SplusObjects.DigitalInput( SOURCESHAREALL__DigitalInput__, this ); m_DigitalInputList.Add( SOURCESHAREALL__DigitalInput__, SOURCESHAREALL ); OMNIVOLUMEACTIVE = new Crestron.Logos.SplusObjects.DigitalInput( OMNIVOLUMEACTIVE__DigitalInput__, this ); m_DigitalInputList.Add( OMNIVOLUMEACTIVE__DigitalInput__, OMNIVOLUMEACTIVE ); HIGHLIGHTEDVOLUMEUP = new Crestron.Logos.SplusObjects.DigitalInput( HIGHLIGHTEDVOLUMEUP__DigitalInput__, this ); m_DigitalInputList.Add( HIGHLIGHTEDVOLUMEUP__DigitalInput__, HIGHLIGHTEDVOLUMEUP ); HIGHLIGHTEDVOLUMEDOWN = new Crestron.Logos.SplusObjects.DigitalInput( HIGHLIGHTEDVOLUMEDOWN__DigitalInput__, this ); m_DigitalInputList.Add( HIGHLIGHTEDVOLUMEDOWN__DigitalInput__, HIGHLIGHTEDVOLUMEDOWN ); ITEMSELECTED = new InOutArray<DigitalInput>( 5, this ); for( uint i = 0; i < 5; i++ ) { ITEMSELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( ITEMSELECTED__DigitalInput__ + i, ITEMSELECTED__DigitalInput__, this ); m_DigitalInputList.Add( ITEMSELECTED__DigitalInput__ + i, ITEMSELECTED[i+1] ); } ROOMDISABLED = new InOutArray<DigitalInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMDISABLED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( ROOMDISABLED__DigitalInput__ + i, ROOMDISABLED__DigitalInput__, this ); m_DigitalInputList.Add( ROOMDISABLED__DigitalInput__ + i, ROOMDISABLED[i+1] ); } ROOMFIXEDMODEON = new InOutArray<DigitalInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMFIXEDMODEON[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( ROOMFIXEDMODEON__DigitalInput__ + i, ROOMFIXEDMODEON__DigitalInput__, this ); m_DigitalInputList.Add( ROOMFIXEDMODEON__DigitalInput__ + i, ROOMFIXEDMODEON[i+1] ); } LINEVOLUMEUP = new InOutArray<DigitalInput>( 5, this ); for( uint i = 0; i < 5; i++ ) { LINEVOLUMEUP[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( LINEVOLUMEUP__DigitalInput__ + i, LINEVOLUMEUP__DigitalInput__, this ); m_DigitalInputList.Add( LINEVOLUMEUP__DigitalInput__ + i, LINEVOLUMEUP[i+1] ); } LINEVOLUMEDOWN = new InOutArray<DigitalInput>( 5, this ); for( uint i = 0; i < 5; i++ ) { LINEVOLUMEDOWN[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( LINEVOLUMEDOWN__DigitalInput__ + i, LINEVOLUMEDOWN__DigitalInput__, this ); m_DigitalInputList.Add( LINEVOLUMEDOWN__DigitalInput__ + i, LINEVOLUMEDOWN[i+1] ); } SHOWSCROLLCONTROLS = new Crestron.Logos.SplusObjects.DigitalOutput( SHOWSCROLLCONTROLS__DigitalOutput__, this ); m_DigitalOutputList.Add( SHOWSCROLLCONTROLS__DigitalOutput__, SHOWSCROLLCONTROLS ); SHOWSECONDARYSUBPAGES = new Crestron.Logos.SplusObjects.DigitalOutput( SHOWSECONDARYSUBPAGES__DigitalOutput__, this ); m_DigitalOutputList.Add( SHOWSECONDARYSUBPAGES__DigitalOutput__, SHOWSECONDARYSUBPAGES ); ITEMSELECTEDFB = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { ITEMSELECTEDFB[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( ITEMSELECTEDFB__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( ITEMSELECTEDFB__DigitalOutput__ + i, ITEMSELECTEDFB[i+1] ); } LINECHECKEDFB = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { LINECHECKEDFB[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( LINECHECKEDFB__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( LINECHECKEDFB__DigitalOutput__ + i, LINECHECKEDFB[i+1] ); } ROOMSELECTED = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMSELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( ROOMSELECTED__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( ROOMSELECTED__DigitalOutput__ + i, ROOMSELECTED[i+1] ); } SCROLLHIGHLIGHTFB = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SCROLLHIGHLIGHTFB[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SCROLLHIGHLIGHTFB__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SCROLLHIGHLIGHTFB__DigitalOutput__ + i, SCROLLHIGHLIGHTFB[i+1] ); } SHOWLINE = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SHOWLINE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SHOWLINE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SHOWLINE__DigitalOutput__ + i, SHOWLINE[i+1] ); } LINEVALID = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { LINEVALID[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( LINEVALID__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( LINEVALID__DigitalOutput__ + i, LINEVALID[i+1] ); } SHOWLINEOMNIVOLUME = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SHOWLINEOMNIVOLUME[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SHOWLINEOMNIVOLUME__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SHOWLINEOMNIVOLUME__DigitalOutput__ + i, SHOWLINEOMNIVOLUME[i+1] ); } OMNIVOLUMEUP = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { OMNIVOLUMEUP[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( OMNIVOLUMEUP__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( OMNIVOLUMEUP__DigitalOutput__ + i, OMNIVOLUMEUP[i+1] ); } OMNIVOLUMEDOWN = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { OMNIVOLUMEDOWN[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( OMNIVOLUMEDOWN__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( OMNIVOLUMEDOWN__DigitalOutput__ + i, OMNIVOLUMEDOWN[i+1] ); } SCROLLPAGESIZE = new Crestron.Logos.SplusObjects.AnalogInput( SCROLLPAGESIZE__AnalogSerialInput__, this ); m_AnalogInputList.Add( SCROLLPAGESIZE__AnalogSerialInput__, SCROLLPAGESIZE ); SELECTEDROOM = new Crestron.Logos.SplusObjects.AnalogInput( SELECTEDROOM__AnalogSerialInput__, this ); m_AnalogInputList.Add( SELECTEDROOM__AnalogSerialInput__, SELECTEDROOM ); SOURCESHAREEXCLUDEDROOM = new Crestron.Logos.SplusObjects.AnalogInput( SOURCESHAREEXCLUDEDROOM__AnalogSerialInput__, this ); m_AnalogInputList.Add( SOURCESHAREEXCLUDEDROOM__AnalogSerialInput__, SOURCESHAREEXCLUDEDROOM ); LISTPOSITION = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { LISTPOSITION[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION__AnalogSerialInput__, this ); m_AnalogInputList.Add( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION[i+1] ); } ROOMSOURCE = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMSOURCE[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( ROOMSOURCE__AnalogSerialInput__ + i, ROOMSOURCE__AnalogSerialInput__, this ); m_AnalogInputList.Add( ROOMSOURCE__AnalogSerialInput__ + i, ROOMSOURCE[i+1] ); } ROOMICONSIN = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMICONSIN[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( ROOMICONSIN__AnalogSerialInput__ + i, ROOMICONSIN__AnalogSerialInput__, this ); m_AnalogInputList.Add( ROOMICONSIN__AnalogSerialInput__ + i, ROOMICONSIN[i+1] ); } ROOMVOLUMEFB = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMVOLUMEFB[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( ROOMVOLUMEFB__AnalogSerialInput__ + i, ROOMVOLUMEFB__AnalogSerialInput__, this ); m_AnalogInputList.Add( ROOMVOLUMEFB__AnalogSerialInput__ + i, ROOMVOLUMEFB[i+1] ); } SCROLLBAR = new Crestron.Logos.SplusObjects.AnalogOutput( SCROLLBAR__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SCROLLBAR__AnalogSerialOutput__, SCROLLBAR ); SOURCESHAREROOMSOURCE = new InOutArray<AnalogOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCESHAREROOMSOURCE[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCESHAREROOMSOURCE__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( SOURCESHAREROOMSOURCE__AnalogSerialOutput__ + i, SOURCESHAREROOMSOURCE[i+1] ); } ACTIVEBUTTONMODE = new InOutArray<AnalogOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { ACTIVEBUTTONMODE[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( ACTIVEBUTTONMODE__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( ACTIVEBUTTONMODE__AnalogSerialOutput__ + i, ACTIVEBUTTONMODE[i+1] ); } INACTIVEBUTTONMODE = new InOutArray<AnalogOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { INACTIVEBUTTONMODE[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( INACTIVEBUTTONMODE__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( INACTIVEBUTTONMODE__AnalogSerialOutput__ + i, INACTIVEBUTTONMODE[i+1] ); } ROOMICONSOUT = new InOutArray<AnalogOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { ROOMICONSOUT[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( ROOMICONSOUT__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( ROOMICONSOUT__AnalogSerialOutput__ + i, ROOMICONSOUT[i+1] ); } LINEVOLUMEFB = new InOutArray<AnalogOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { LINEVOLUMEFB[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( LINEVOLUMEFB__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( LINEVOLUMEFB__AnalogSerialOutput__ + i, LINEVOLUMEFB[i+1] ); } ROOMNAMEIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { ROOMNAMEIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( ROOMNAMEIN__DOLLAR____AnalogSerialInput__ + i, ROOMNAMEIN__DOLLAR____AnalogSerialInput__, 32, this ); m_StringInputList.Add( ROOMNAMEIN__DOLLAR____AnalogSerialInput__ + i, ROOMNAMEIN__DOLLAR__[i+1] ); } SOURCENAMEIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCENAMEIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( SOURCENAMEIN__DOLLAR____AnalogSerialInput__ + i, SOURCENAMEIN__DOLLAR____AnalogSerialInput__, 32, this ); m_StringInputList.Add( SOURCENAMEIN__DOLLAR____AnalogSerialInput__ + i, SOURCENAMEIN__DOLLAR__[i+1] ); } NOWPLAYINGLINE1IN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGLINE1IN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__, 100, this ); m_StringInputList.Add( NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE1IN__DOLLAR__[i+1] ); } NOWPLAYINGLINE2IN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGLINE2IN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__, 100, this ); m_StringInputList.Add( NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE2IN__DOLLAR__[i+1] ); } NOWPLAYINGTRANSPORTIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__, 1, this ); m_StringInputList.Add( NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1] ); } CURRENTROOM__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( CURRENTROOM__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTROOM__DOLLAR____AnalogSerialOutput__, CURRENTROOM__DOLLAR__ ); ROOMNAMEOUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { ROOMNAMEOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( ROOMNAMEOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( ROOMNAMEOUT__DOLLAR____AnalogSerialOutput__ + i, ROOMNAMEOUT__DOLLAR__[i+1] ); } SOURCENAMEOUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SOURCENAMEOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( SOURCENAMEOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( SOURCENAMEOUT__DOLLAR____AnalogSerialOutput__ + i, SOURCENAMEOUT__DOLLAR__[i+1] ); } NOWPLAYINGLINE1OUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { NOWPLAYINGLINE1OUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NOWPLAYINGLINE1OUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NOWPLAYINGLINE1OUT__DOLLAR____AnalogSerialOutput__ + i, NOWPLAYINGLINE1OUT__DOLLAR__[i+1] ); } NOWPLAYINGLINE2OUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { NOWPLAYINGLINE2OUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NOWPLAYINGLINE2OUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NOWPLAYINGLINE2OUT__DOLLAR____AnalogSerialOutput__ + i, NOWPLAYINGLINE2OUT__DOLLAR__[i+1] ); } NOWPLAYINGTRANSPORTOUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { NOWPLAYINGTRANSPORTOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NOWPLAYINGTRANSPORTOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NOWPLAYINGTRANSPORTOUT__DOLLAR____AnalogSerialOutput__ + i, NOWPLAYINGTRANSPORTOUT__DOLLAR__[i+1] ); } SYSTEMINITIALIZED.OnDigitalPush.Add( new InputChangeHandlerWrapper( SYSTEMINITIALIZED_OnPush_0, false ) ); SCROLLFIRST.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLFIRST_OnPush_1, false ) ); SCROLLLAST.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLLAST_OnPush_2, false ) ); SCROLLNEXT.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLNEXT_OnPush_3, false ) ); SCROLLPREVIOUS.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLPREVIOUS_OnPush_4, false ) ); SCROLLLINEUP.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLLINEUP_OnPush_5, false ) ); SCROLLLINEDOWN.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLLINEDOWN_OnPush_6, false ) ); SCROLLSELECT.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLSELECT_OnPush_7, false ) ); for( uint i = 0; i < 5; i++ ) ITEMSELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( ITEMSELECTED_OnPush_8, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGLINE1IN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGLINE1IN__DOLLAR___OnChange_9, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGLINE2IN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGLINE2IN__DOLLAR___OnChange_10, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGTRANSPORTIN__DOLLAR___OnChange_11, false ) ); for( uint i = 0; i < 24; i++ ) ROOMSOURCE[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( ROOMSOURCE_OnChange_12, false ) ); SELECTEDROOM.OnAnalogChange.Add( new InputChangeHandlerWrapper( SELECTEDROOM_OnChange_13, false ) ); ONROOMSELECTPAGE.OnDigitalPush.Add( new InputChangeHandlerWrapper( ONROOMSELECTPAGE_OnPush_14, false ) ); ONROOMSELECTPAGE.OnDigitalRelease.Add( new InputChangeHandlerWrapper( ONROOMSELECTPAGE_OnRelease_15, false ) ); ONSOURCESHARINGPAGE.OnDigitalPush.Add( new InputChangeHandlerWrapper( ONSOURCESHARINGPAGE_OnPush_16, false ) ); SOURCESHAREALL.OnDigitalPush.Add( new InputChangeHandlerWrapper( SOURCESHAREALL_OnPush_17, false ) ); for( uint i = 0; i < 5; i++ ) LINEVOLUMEUP[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( LINEVOLUMEUP_OnPush_18, false ) ); for( uint i = 0; i < 5; i++ ) LINEVOLUMEUP[i+1].OnDigitalRelease.Add( new InputChangeHandlerWrapper( LINEVOLUMEUP_OnRelease_19, false ) ); for( uint i = 0; i < 5; i++ ) LINEVOLUMEDOWN[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( LINEVOLUMEDOWN_OnPush_20, false ) ); for( uint i = 0; i < 5; i++ ) LINEVOLUMEDOWN[i+1].OnDigitalRelease.Add( new InputChangeHandlerWrapper( LINEVOLUMEDOWN_OnRelease_21, false ) ); HIGHLIGHTEDVOLUMEUP.OnDigitalPush.Add( new InputChangeHandlerWrapper( HIGHLIGHTEDVOLUMEUP_OnPush_22, false ) ); HIGHLIGHTEDVOLUMEUP.OnDigitalRelease.Add( new InputChangeHandlerWrapper( HIGHLIGHTEDVOLUMEUP_OnRelease_23, false ) ); HIGHLIGHTEDVOLUMEDOWN.OnDigitalPush.Add( new InputChangeHandlerWrapper( HIGHLIGHTEDVOLUMEDOWN_OnPush_24, false ) ); HIGHLIGHTEDVOLUMEDOWN.OnDigitalRelease.Add( new InputChangeHandlerWrapper( HIGHLIGHTEDVOLUMEDOWN_OnRelease_25, false ) ); OMNIVOLUMEACTIVE.OnDigitalPush.Add( new InputChangeHandlerWrapper( OMNIVOLUMEACTIVE_OnPush_26, false ) ); for( uint i = 0; i < 24; i++ ) ROOMFIXEDMODEON[i+1].OnDigitalChange.Add( new InputChangeHandlerWrapper( ROOMFIXEDMODEON_OnChange_27, false ) ); for( uint i = 0; i < 24; i++ ) ROOMVOLUMEFB[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( ROOMVOLUMEFB_OnChange_28, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); ROOMCONNECTED = new Crestron.Logos.SplusObjects.DigitalInput( ROOMCONNECTED__DigitalInput__, this ); m_DigitalInputList.Add( ROOMCONNECTED__DigitalInput__, ROOMCONNECTED ); SELECTSINGLESOURCE = new Crestron.Logos.SplusObjects.DigitalInput( SELECTSINGLESOURCE__DigitalInput__, this ); m_DigitalInputList.Add( SELECTSINGLESOURCE__DigitalInput__, SELECTSINGLESOURCE ); SOURCELINESELECTED = new InOutArray<DigitalInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCELINESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( SOURCELINESELECTED__DigitalInput__ + i, SOURCELINESELECTED__DigitalInput__, this ); m_DigitalInputList.Add( SOURCELINESELECTED__DigitalInput__ + i, SOURCELINESELECTED[i+1] ); } SOURCELISTINITIALIZED = new Crestron.Logos.SplusObjects.DigitalOutput( SOURCELISTINITIALIZED__DigitalOutput__, this ); m_DigitalOutputList.Add( SOURCELISTINITIALIZED__DigitalOutput__, SOURCELISTINITIALIZED ); SOURCELISTHASONEITEM = new Crestron.Logos.SplusObjects.DigitalOutput( SOURCELISTHASONEITEM__DigitalOutput__, this ); m_DigitalOutputList.Add( SOURCELISTHASONEITEM__DigitalOutput__, SOURCELISTHASONEITEM ); SHIFTSOURCEHIGHLIGHTTOTOP = new Crestron.Logos.SplusObjects.DigitalOutput( SHIFTSOURCEHIGHLIGHTTOTOP__DigitalOutput__, this ); m_DigitalOutputList.Add( SHIFTSOURCEHIGHLIGHTTOTOP__DigitalOutput__, SHIFTSOURCEHIGHLIGHTTOTOP ); SOURCESELECTED = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SOURCESELECTED__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SOURCESELECTED__DigitalOutput__ + i, SOURCESELECTED[i+1] ); } GOTOSOURCECONTROLPAGE = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { GOTOSOURCECONTROLPAGE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOSOURCECONTROLPAGE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( GOTOSOURCECONTROLPAGE__DigitalOutput__ + i, GOTOSOURCECONTROLPAGE[i+1] ); } SOURCEACTIVEIN = new Crestron.Logos.SplusObjects.AnalogInput( SOURCEACTIVEIN__AnalogSerialInput__, this ); m_AnalogInputList.Add( SOURCEACTIVEIN__AnalogSerialInput__, SOURCEACTIVEIN ); LISTPOSITION = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { LISTPOSITION[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION__AnalogSerialInput__, this ); m_AnalogInputList.Add( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION[i+1] ); } SOURCEICONSIN = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCEICONSIN[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( SOURCEICONSIN__AnalogSerialInput__ + i, SOURCEICONSIN__AnalogSerialInput__, this ); m_AnalogInputList.Add( SOURCEICONSIN__AnalogSerialInput__ + i, SOURCEICONSIN[i+1] ); } SOURCEHIGHLIGHTOUT = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCEHIGHLIGHTOUT__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SOURCEHIGHLIGHTOUT__AnalogSerialOutput__, SOURCEHIGHLIGHTOUT ); SOURCESCROLLMAX = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCESCROLLMAX__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SOURCESCROLLMAX__AnalogSerialOutput__, SOURCESCROLLMAX ); SINGLESOURCEICON = new Crestron.Logos.SplusObjects.AnalogOutput( SINGLESOURCEICON__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SINGLESOURCEICON__AnalogSerialOutput__, SINGLESOURCEICON ); CURRENTSOURCEICON = new Crestron.Logos.SplusObjects.AnalogOutput( CURRENTSOURCEICON__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( CURRENTSOURCEICON__AnalogSerialOutput__, CURRENTSOURCEICON ); SINGLESOURCE = new Crestron.Logos.SplusObjects.AnalogOutput( SINGLESOURCE__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SINGLESOURCE__AnalogSerialOutput__, SINGLESOURCE ); SOURCEICONSOUT = new InOutArray<AnalogOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCEICONSOUT[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCEICONSOUT__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( SOURCEICONSOUT__AnalogSerialOutput__ + i, SOURCEICONSOUT[i+1] ); } NAMEIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NAMEIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NAMEIN__DOLLAR____AnalogSerialInput__ + i, NAMEIN__DOLLAR____AnalogSerialInput__, 32, this ); m_StringInputList.Add( NAMEIN__DOLLAR____AnalogSerialInput__ + i, NAMEIN__DOLLAR__[i+1] ); } NOWPLAYINGLINE1IN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGLINE1IN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__, 100, this ); m_StringInputList.Add( NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE1IN__DOLLAR__[i+1] ); } NOWPLAYINGLINE2IN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGLINE2IN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__, 100, this ); m_StringInputList.Add( NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE2IN__DOLLAR__[i+1] ); } NOWPLAYINGTRANSPORTIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__, 1, this ); m_StringInputList.Add( NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1] ); } SINGLESOURCENAME = new Crestron.Logos.SplusObjects.StringOutput( SINGLESOURCENAME__AnalogSerialOutput__, this ); m_StringOutputList.Add( SINGLESOURCENAME__AnalogSerialOutput__, SINGLESOURCENAME ); CURRENTSOURCENAME = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENAME__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENAME__AnalogSerialOutput__, CURRENTSOURCENAME ); CURRENTSOURCENOWPLAYINGLINE1 = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENOWPLAYINGLINE1__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENOWPLAYINGLINE1__AnalogSerialOutput__, CURRENTSOURCENOWPLAYINGLINE1 ); CURRENTSOURCENOWPLAYINGLINE2 = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENOWPLAYINGLINE2__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENOWPLAYINGLINE2__AnalogSerialOutput__, CURRENTSOURCENOWPLAYINGLINE2 ); CURRENTSOURCENOWPLAYINGTRANSPORT = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENOWPLAYINGTRANSPORT__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENOWPLAYINGTRANSPORT__AnalogSerialOutput__, CURRENTSOURCENOWPLAYINGTRANSPORT ); NAMEOUT__DOLLAR__ = new InOutArray<StringOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NAMEOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NAMEOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NAMEOUT__DOLLAR____AnalogSerialOutput__ + i, NAMEOUT__DOLLAR__[i+1] ); } ROOMCONNECTED.OnDigitalChange.Add( new InputChangeHandlerWrapper( ROOMCONNECTED_OnChange_0, false ) ); SELECTSINGLESOURCE.OnDigitalPush.Add( new InputChangeHandlerWrapper( SELECTSINGLESOURCE_OnPush_1, false ) ); SOURCEACTIVEIN.OnAnalogChange.Add( new InputChangeHandlerWrapper( SOURCEACTIVEIN_OnChange_2, false ) ); for( uint i = 0; i < 24; i++ ) SOURCELINESELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( SOURCELINESELECTED_OnPush_3, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGLINE1IN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGLINE1IN__DOLLAR___OnChange_4, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGLINE2IN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGLINE2IN__DOLLAR___OnChange_5, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGTRANSPORTIN__DOLLAR___OnChange_6, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo( 1, this ); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM( this ); _SplusNVRAM.TEMPSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 40, this ); SUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( SUBSCRIBE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SUBSCRIBE__DOLLAR____DigitalInput__, SUBSCRIBE__DOLLAR__ ); UNSUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( UNSUBSCRIBE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( UNSUBSCRIBE__DOLLAR____DigitalInput__, UNSUBSCRIBE__DOLLAR__ ); INPUTFOROUTPUT__DOLLAR__ = new InOutArray<AnalogInput>( 96, this ); for( uint i = 0; i < 96; i++ ) { INPUTFOROUTPUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( INPUTFOROUTPUT__DOLLAR____AnalogSerialInput__ + i, INPUTFOROUTPUT__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( INPUTFOROUTPUT__DOLLAR____AnalogSerialInput__ + i, INPUTFOROUTPUT__DOLLAR__[i+1] ); } INPUTFOROUTPUT_FB__DOLLAR__ = new InOutArray<AnalogOutput>( 96, this ); for( uint i = 0; i < 96; i++ ) { INPUTFOROUTPUT_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( INPUTFOROUTPUT_FB__DOLLAR____AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( INPUTFOROUTPUT_FB__DOLLAR____AnalogSerialOutput__ + i, INPUTFOROUTPUT_FB__DOLLAR__[i+1] ); } TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TX__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__ ); RX__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput( RX__DOLLAR____AnalogSerialInput__, 400, this ); m_StringInputList.Add( RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__ ); IMAXOUTPUT = new UShortParameter( IMAXOUTPUT__Parameter__, this ); m_ParameterList.Add( IMAXOUTPUT__Parameter__, IMAXOUTPUT ); OBJECTID__DOLLAR__ = new StringParameter( OBJECTID__DOLLAR____Parameter__, this ); m_ParameterList.Add( OBJECTID__DOLLAR____Parameter__, OBJECTID__DOLLAR__ ); __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction( __SPLS_TMPVAR__WAITLABEL_0___CallbackFn ); for( uint i = 0; i < 96; i++ ) INPUTFOROUTPUT__DOLLAR__[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( INPUTFOROUTPUT__DOLLAR___OnChange_0, false ) ); SUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SUBSCRIBE__DOLLAR___OnPush_1, false ) ); UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( UNSUBSCRIBE__DOLLAR___OnPush_2, false ) ); RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_3, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); ROOMCONNECTED = new Crestron.Logos.SplusObjects.DigitalInput( ROOMCONNECTED__DigitalInput__, this ); m_DigitalInputList.Add( ROOMCONNECTED__DigitalInput__, ROOMCONNECTED ); SCROLLFIRST = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLFIRST__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLFIRST__DigitalInput__, SCROLLFIRST ); SCROLLLAST = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLLAST__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLLAST__DigitalInput__, SCROLLLAST ); SCROLLPREVIOUS = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLPREVIOUS__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLPREVIOUS__DigitalInput__, SCROLLPREVIOUS ); SCROLLNEXT = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLNEXT__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLNEXT__DigitalInput__, SCROLLNEXT ); SCROLLLINEUP = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLLINEUP__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLLINEUP__DigitalInput__, SCROLLLINEUP ); SCROLLLINEDOWN = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLLINEDOWN__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLLINEDOWN__DigitalInput__, SCROLLLINEDOWN ); SCROLLSELECT = new Crestron.Logos.SplusObjects.DigitalInput( SCROLLSELECT__DigitalInput__, this ); m_DigitalInputList.Add( SCROLLSELECT__DigitalInput__, SCROLLSELECT ); ITEMSELECTED = new InOutArray<DigitalInput>( 5, this ); for( uint i = 0; i < 5; i++ ) { ITEMSELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( ITEMSELECTED__DigitalInput__ + i, ITEMSELECTED__DigitalInput__, this ); m_DigitalInputList.Add( ITEMSELECTED__DigitalInput__ + i, ITEMSELECTED[i+1] ); } SHOWSCROLLCONTROLS = new Crestron.Logos.SplusObjects.DigitalOutput( SHOWSCROLLCONTROLS__DigitalOutput__, this ); m_DigitalOutputList.Add( SHOWSCROLLCONTROLS__DigitalOutput__, SHOWSCROLLCONTROLS ); SELECTFB = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SELECTFB[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SELECTFB__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SELECTFB__DigitalOutput__ + i, SELECTFB[i+1] ); } SOURCESELECTED = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SOURCESELECTED__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SOURCESELECTED__DigitalOutput__ + i, SOURCESELECTED[i+1] ); } GOTOSOURCECONTROLPAGE = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { GOTOSOURCECONTROLPAGE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOSOURCECONTROLPAGE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( GOTOSOURCECONTROLPAGE__DigitalOutput__ + i, GOTOSOURCECONTROLPAGE[i+1] ); } SCROLLHIGHLIGHTFB = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SCROLLHIGHLIGHTFB[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SCROLLHIGHLIGHTFB__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SCROLLHIGHLIGHTFB__DigitalOutput__ + i, SCROLLHIGHLIGHTFB[i+1] ); } SHOWLINE = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SHOWLINE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SHOWLINE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SHOWLINE__DigitalOutput__ + i, SHOWLINE[i+1] ); } SCROLLPAGESIZE = new Crestron.Logos.SplusObjects.AnalogInput( SCROLLPAGESIZE__AnalogSerialInput__, this ); m_AnalogInputList.Add( SCROLLPAGESIZE__AnalogSerialInput__, SCROLLPAGESIZE ); SOURCEACTIVEIN = new Crestron.Logos.SplusObjects.AnalogInput( SOURCEACTIVEIN__AnalogSerialInput__, this ); m_AnalogInputList.Add( SOURCEACTIVEIN__AnalogSerialInput__, SOURCEACTIVEIN ); LISTPOSITION = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { LISTPOSITION[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION__AnalogSerialInput__, this ); m_AnalogInputList.Add( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION[i+1] ); } SOURCEICONSIN = new InOutArray<AnalogInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { SOURCEICONSIN[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( SOURCEICONSIN__AnalogSerialInput__ + i, SOURCEICONSIN__AnalogSerialInput__, this ); m_AnalogInputList.Add( SOURCEICONSIN__AnalogSerialInput__ + i, SOURCEICONSIN[i+1] ); } SCROLLBAR = new Crestron.Logos.SplusObjects.AnalogOutput( SCROLLBAR__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SCROLLBAR__AnalogSerialOutput__, SCROLLBAR ); ACTIVEBUTTONMODE = new InOutArray<AnalogOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { ACTIVEBUTTONMODE[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( ACTIVEBUTTONMODE__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( ACTIVEBUTTONMODE__AnalogSerialOutput__ + i, ACTIVEBUTTONMODE[i+1] ); } INACTIVEBUTTONMODE = new InOutArray<AnalogOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { INACTIVEBUTTONMODE[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( INACTIVEBUTTONMODE__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( INACTIVEBUTTONMODE__AnalogSerialOutput__ + i, INACTIVEBUTTONMODE[i+1] ); } SOURCEICONSOUT = new InOutArray<AnalogOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { SOURCEICONSOUT[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCEICONSOUT__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( SOURCEICONSOUT__AnalogSerialOutput__ + i, SOURCEICONSOUT[i+1] ); } NAMEIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NAMEIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NAMEIN__DOLLAR____AnalogSerialInput__ + i, NAMEIN__DOLLAR____AnalogSerialInput__, 32, this ); m_StringInputList.Add( NAMEIN__DOLLAR____AnalogSerialInput__ + i, NAMEIN__DOLLAR__[i+1] ); } NOWPLAYINGLINE1IN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGLINE1IN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__, 100, this ); m_StringInputList.Add( NOWPLAYINGLINE1IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE1IN__DOLLAR__[i+1] ); } NOWPLAYINGLINE2IN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGLINE2IN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__, 100, this ); m_StringInputList.Add( NOWPLAYINGLINE2IN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGLINE2IN__DOLLAR__[i+1] ); } NOWPLAYINGTRANSPORTIN__DOLLAR__ = new InOutArray<StringInput>( 24, this ); for( uint i = 0; i < 24; i++ ) { NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringInput( NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__, 1, this ); m_StringInputList.Add( NOWPLAYINGTRANSPORTIN__DOLLAR____AnalogSerialInput__ + i, NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1] ); } CURRENTSOURCENAME = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENAME__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENAME__AnalogSerialOutput__, CURRENTSOURCENAME ); CURRENTSOURCENOWPLAYINGLINE1 = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENOWPLAYINGLINE1__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENOWPLAYINGLINE1__AnalogSerialOutput__, CURRENTSOURCENOWPLAYINGLINE1 ); CURRENTSOURCENOWPLAYINGLINE2 = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENOWPLAYINGLINE2__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENOWPLAYINGLINE2__AnalogSerialOutput__, CURRENTSOURCENOWPLAYINGLINE2 ); CURRENTSOURCENOWPLAYINGTRANSPORT = new Crestron.Logos.SplusObjects.StringOutput( CURRENTSOURCENOWPLAYINGTRANSPORT__AnalogSerialOutput__, this ); m_StringOutputList.Add( CURRENTSOURCENOWPLAYINGTRANSPORT__AnalogSerialOutput__, CURRENTSOURCENOWPLAYINGTRANSPORT ); NAMEOUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { NAMEOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NAMEOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NAMEOUT__DOLLAR____AnalogSerialOutput__ + i, NAMEOUT__DOLLAR__[i+1] ); } NOWPLAYINGLINE1OUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { NOWPLAYINGLINE1OUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NOWPLAYINGLINE1OUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NOWPLAYINGLINE1OUT__DOLLAR____AnalogSerialOutput__ + i, NOWPLAYINGLINE1OUT__DOLLAR__[i+1] ); } NOWPLAYINGLINE2OUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { NOWPLAYINGLINE2OUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NOWPLAYINGLINE2OUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NOWPLAYINGLINE2OUT__DOLLAR____AnalogSerialOutput__ + i, NOWPLAYINGLINE2OUT__DOLLAR__[i+1] ); } NOWPLAYINGTRANSPORTOUT__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { NOWPLAYINGTRANSPORTOUT__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( NOWPLAYINGTRANSPORTOUT__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( NOWPLAYINGTRANSPORTOUT__DOLLAR____AnalogSerialOutput__ + i, NOWPLAYINGTRANSPORTOUT__DOLLAR__[i+1] ); } ROOMCONNECTED.OnDigitalChange.Add( new InputChangeHandlerWrapper( ROOMCONNECTED_OnChange_0, false ) ); SCROLLFIRST.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLFIRST_OnPush_1, false ) ); SCROLLLAST.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLLAST_OnPush_2, false ) ); SCROLLNEXT.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLNEXT_OnPush_3, false ) ); SCROLLPREVIOUS.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLPREVIOUS_OnPush_4, false ) ); SCROLLLINEUP.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLLINEUP_OnPush_5, false ) ); SCROLLLINEDOWN.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLLINEDOWN_OnPush_6, false ) ); SCROLLSELECT.OnDigitalPush.Add( new InputChangeHandlerWrapper( SCROLLSELECT_OnPush_7, false ) ); for( uint i = 0; i < 5; i++ ) ITEMSELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( ITEMSELECTED_OnPush_8, false ) ); SOURCEACTIVEIN.OnAnalogChange.Add( new InputChangeHandlerWrapper( SOURCEACTIVEIN_OnChange_9, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGLINE1IN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGLINE1IN__DOLLAR___OnChange_10, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGLINE2IN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGLINE2IN__DOLLAR___OnChange_11, false ) ); for( uint i = 0; i < 24; i++ ) NOWPLAYINGTRANSPORTIN__DOLLAR__[i+1].OnSerialChange.Add( new InputChangeHandlerWrapper( NOWPLAYINGTRANSPORTIN__DOLLAR___OnChange_12, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo( 1, this ); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM( this ); _SplusNVRAM.TEMPSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 40, this ); _SplusNVRAM.RETURNSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, this ); _SplusNVRAM.MAINSTR1 = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 32, this ); _SplusNVRAM.MAINSTR2 = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 32, this ); _SplusNVRAM.MAINSTR3 = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 32, this ); SUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( SUBSCRIBE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SUBSCRIBE__DOLLAR____DigitalInput__, SUBSCRIBE__DOLLAR__ ); UNSUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( UNSUBSCRIBE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( UNSUBSCRIBE__DOLLAR____DigitalInput__, UNSUBSCRIBE__DOLLAR__ ); METER_SUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( METER_SUBSCRIBE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( METER_SUBSCRIBE__DOLLAR____DigitalInput__, METER_SUBSCRIBE__DOLLAR__ ); BUTTON_1__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_1__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_1__DOLLAR____DigitalInput__, BUTTON_1__DOLLAR__ ); BUTTON_2__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_2__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_2__DOLLAR____DigitalInput__, BUTTON_2__DOLLAR__ ); BUTTON_3__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_3__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_3__DOLLAR____DigitalInput__, BUTTON_3__DOLLAR__ ); BUTTON_4__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_4__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_4__DOLLAR____DigitalInput__, BUTTON_4__DOLLAR__ ); BUTTON_5__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_5__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_5__DOLLAR____DigitalInput__, BUTTON_5__DOLLAR__ ); BUTTON_6__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_6__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_6__DOLLAR____DigitalInput__, BUTTON_6__DOLLAR__ ); BUTTON_7__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_7__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_7__DOLLAR____DigitalInput__, BUTTON_7__DOLLAR__ ); BUTTON_8__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_8__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_8__DOLLAR____DigitalInput__, BUTTON_8__DOLLAR__ ); BUTTON_9__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_9__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_9__DOLLAR____DigitalInput__, BUTTON_9__DOLLAR__ ); BUTTON_0__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_0__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_0__DOLLAR____DigitalInput__, BUTTON_0__DOLLAR__ ); BUTTON_PAUSE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_PAUSE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_PAUSE__DOLLAR____DigitalInput__, BUTTON_PAUSE__DOLLAR__ ); BUTTON_DELETE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_DELETE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_DELETE__DOLLAR____DigitalInput__, BUTTON_DELETE__DOLLAR__ ); BUTTON_REDIAL__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_REDIAL__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_REDIAL__DOLLAR____DigitalInput__, BUTTON_REDIAL__DOLLAR__ ); BUTTON_INTERNATIONAL_PLUS__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_INTERNATIONAL_PLUS__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_INTERNATIONAL_PLUS__DOLLAR____DigitalInput__, BUTTON_INTERNATIONAL_PLUS__DOLLAR__ ); BUTTON_BACKSPACE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_BACKSPACE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_BACKSPACE__DOLLAR____DigitalInput__, BUTTON_BACKSPACE__DOLLAR__ ); BUTTON_FLASH__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_FLASH__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_FLASH__DOLLAR____DigitalInput__, BUTTON_FLASH__DOLLAR__ ); BUTTON___POUND____DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON___POUND____DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON___POUND____DOLLAR____DigitalInput__, BUTTON___POUND____DOLLAR__ ); BUTTON_ASTERISK__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BUTTON_ASTERISK__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BUTTON_ASTERISK__DOLLAR____DigitalInput__, BUTTON_ASTERISK__DOLLAR__ ); HANG_UP__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( HANG_UP__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( HANG_UP__DOLLAR____DigitalInput__, HANG_UP__DOLLAR__ ); DIAL__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( DIAL__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( DIAL__DOLLAR____DigitalInput__, DIAL__DOLLAR__ ); TOGGLE_DIAL_HANG_UP__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( TOGGLE_DIAL_HANG_UP__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( TOGGLE_DIAL_HANG_UP__DOLLAR____DigitalInput__, TOGGLE_DIAL_HANG_UP__DOLLAR__ ); TX_MUTEON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( TX_MUTEON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( TX_MUTEON__DOLLAR____DigitalInput__, TX_MUTEON__DOLLAR__ ); TX_MUTEOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( TX_MUTEOFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( TX_MUTEOFF__DOLLAR____DigitalInput__, TX_MUTEOFF__DOLLAR__ ); TX_MUTETOGGLE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( TX_MUTETOGGLE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( TX_MUTETOGGLE__DOLLAR____DigitalInput__, TX_MUTETOGGLE__DOLLAR__ ); RX_MUTEON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( RX_MUTEON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( RX_MUTEON__DOLLAR____DigitalInput__, RX_MUTEON__DOLLAR__ ); RX_MUTEOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( RX_MUTEOFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( RX_MUTEOFF__DOLLAR____DigitalInput__, RX_MUTEOFF__DOLLAR__ ); RX_MUTETOGGLE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( RX_MUTETOGGLE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( RX_MUTETOGGLE__DOLLAR____DigitalInput__, RX_MUTETOGGLE__DOLLAR__ ); SPEED_STORE__DOLLAR__ = new InOutArray<DigitalInput>( 16, this ); for( uint i = 0; i < 16; i++ ) { SPEED_STORE__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( SPEED_STORE__DOLLAR____DigitalInput__ + i, SPEED_STORE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SPEED_STORE__DOLLAR____DigitalInput__ + i, SPEED_STORE__DOLLAR__[i+1] ); } SPEED_DIAL__DOLLAR__ = new InOutArray<DigitalInput>( 16, this ); for( uint i = 0; i < 16; i++ ) { SPEED_DIAL__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( SPEED_DIAL__DOLLAR____DigitalInput__ + i, SPEED_DIAL__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SPEED_DIAL__DOLLAR____DigitalInput__ + i, SPEED_DIAL__DOLLAR__[i+1] ); } INCOMING_CALL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( INCOMING_CALL_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( INCOMING_CALL_FB__DOLLAR____DigitalOutput__, INCOMING_CALL_FB__DOLLAR__ ); HOOK_STATUS_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( HOOK_STATUS_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( HOOK_STATUS_FB__DOLLAR____DigitalOutput__, HOOK_STATUS_FB__DOLLAR__ ); TX_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( TX_MUTE_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( TX_MUTE_FB__DOLLAR____DigitalOutput__, TX_MUTE_FB__DOLLAR__ ); RX_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( RX_MUTE_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( RX_MUTE_FB__DOLLAR____DigitalOutput__, RX_MUTE_FB__DOLLAR__ ); SPEED_DIAL_FB__DOLLAR__ = new InOutArray<DigitalOutput>( 16, this ); for( uint i = 0; i < 16; i++ ) { SPEED_DIAL_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SPEED_DIAL_FB__DOLLAR____DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SPEED_DIAL_FB__DOLLAR____DigitalOutput__ + i, SPEED_DIAL_FB__DOLLAR__[i+1] ); } AUTO_ANSWER__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( AUTO_ANSWER__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( AUTO_ANSWER__DOLLAR____AnalogSerialInput__, AUTO_ANSWER__DOLLAR__ ); TX_GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( TX_GAIN__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( TX_GAIN__DOLLAR____AnalogSerialInput__, TX_GAIN__DOLLAR__ ); RX_GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( RX_GAIN__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( RX_GAIN__DOLLAR____AnalogSerialInput__, RX_GAIN__DOLLAR__ ); DTMF_GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( DTMF_GAIN__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( DTMF_GAIN__DOLLAR____AnalogSerialInput__, DTMF_GAIN__DOLLAR__ ); DIAL_TONE_GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( DIAL_TONE_GAIN__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( DIAL_TONE_GAIN__DOLLAR____AnalogSerialInput__, DIAL_TONE_GAIN__DOLLAR__ ); RING_GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( RING_GAIN__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( RING_GAIN__DOLLAR____AnalogSerialInput__, RING_GAIN__DOLLAR__ ); AUTO_ANSWER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( AUTO_ANSWER_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( AUTO_ANSWER_FB__DOLLAR____AnalogSerialOutput__, AUTO_ANSWER_FB__DOLLAR__ ); TX_GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( TX_GAIN_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( TX_GAIN_FB__DOLLAR____AnalogSerialOutput__, TX_GAIN_FB__DOLLAR__ ); TX_METER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( TX_METER_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( TX_METER_FB__DOLLAR____AnalogSerialOutput__, TX_METER_FB__DOLLAR__ ); RX_GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( RX_GAIN_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( RX_GAIN_FB__DOLLAR____AnalogSerialOutput__, RX_GAIN_FB__DOLLAR__ ); RX_METER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( RX_METER_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( RX_METER_FB__DOLLAR____AnalogSerialOutput__, RX_METER_FB__DOLLAR__ ); DTMF_GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( DTMF_GAIN_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( DTMF_GAIN_FB__DOLLAR____AnalogSerialOutput__, DTMF_GAIN_FB__DOLLAR__ ); DIAL_TONE_GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( DIAL_TONE_GAIN_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( DIAL_TONE_GAIN_FB__DOLLAR____AnalogSerialOutput__, DIAL_TONE_GAIN_FB__DOLLAR__ ); RING_GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( RING_GAIN_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( RING_GAIN_FB__DOLLAR____AnalogSerialOutput__, RING_GAIN_FB__DOLLAR__ ); TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TX__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__ ); PHONE_NUMBER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( PHONE_NUMBER_FB__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( PHONE_NUMBER_FB__DOLLAR____AnalogSerialOutput__, PHONE_NUMBER_FB__DOLLAR__ ); RX__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput( RX__DOLLAR____AnalogSerialInput__, 400, this ); m_StringInputList.Add( RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__ ); METER_RATE__DOLLAR__ = new UShortParameter( METER_RATE__DOLLAR____Parameter__, this ); m_ParameterList.Add( METER_RATE__DOLLAR____Parameter__, METER_RATE__DOLLAR__ ); CARD__DOLLAR__ = new StringParameter( CARD__DOLLAR____Parameter__, this ); m_ParameterList.Add( CARD__DOLLAR____Parameter__, CARD__DOLLAR__ ); __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction( __SPLS_TMPVAR__WAITLABEL_0___CallbackFn ); __SPLS_TMPVAR__WAITLABEL_1___Callback = new WaitFunction( __SPLS_TMPVAR__WAITLABEL_1___CallbackFn ); SUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SUBSCRIBE__DOLLAR___OnPush_0, false ) ); UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( UNSUBSCRIBE__DOLLAR___OnPush_1, false ) ); METER_SUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( METER_SUBSCRIBE__DOLLAR___OnPush_2, false ) ); METER_SUBSCRIBE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( METER_SUBSCRIBE__DOLLAR___OnRelease_3, false ) ); AUTO_ANSWER__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( AUTO_ANSWER__DOLLAR___OnChange_4, false ) ); TX_GAIN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( TX_GAIN__DOLLAR___OnChange_5, false ) ); RX_GAIN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( RX_GAIN__DOLLAR___OnChange_6, false ) ); DTMF_GAIN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( DTMF_GAIN__DOLLAR___OnChange_7, false ) ); DIAL_TONE_GAIN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( DIAL_TONE_GAIN__DOLLAR___OnChange_8, false ) ); RING_GAIN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( RING_GAIN__DOLLAR___OnChange_9, false ) ); BUTTON_1__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_1__DOLLAR___OnPush_10, false ) ); BUTTON_2__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_2__DOLLAR___OnPush_11, false ) ); BUTTON_3__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_3__DOLLAR___OnPush_12, false ) ); BUTTON_4__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_4__DOLLAR___OnPush_13, false ) ); BUTTON_5__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_5__DOLLAR___OnPush_14, false ) ); BUTTON_6__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_6__DOLLAR___OnPush_15, false ) ); BUTTON_7__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_7__DOLLAR___OnPush_16, false ) ); BUTTON_8__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_8__DOLLAR___OnPush_17, false ) ); BUTTON_9__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_9__DOLLAR___OnPush_18, false ) ); BUTTON_0__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_0__DOLLAR___OnPush_19, false ) ); HANG_UP__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( HANG_UP__DOLLAR___OnPush_20, false ) ); DIAL__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( DIAL__DOLLAR___OnPush_21, false ) ); TOGGLE_DIAL_HANG_UP__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( TOGGLE_DIAL_HANG_UP__DOLLAR___OnPush_22, false ) ); BUTTON_PAUSE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_PAUSE__DOLLAR___OnPush_23, false ) ); BUTTON_DELETE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_DELETE__DOLLAR___OnPush_24, false ) ); BUTTON_REDIAL__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_REDIAL__DOLLAR___OnPush_25, false ) ); BUTTON_INTERNATIONAL_PLUS__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_INTERNATIONAL_PLUS__DOLLAR___OnPush_26, false ) ); BUTTON_BACKSPACE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_BACKSPACE__DOLLAR___OnPush_27, false ) ); BUTTON_FLASH__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_FLASH__DOLLAR___OnPush_28, false ) ); BUTTON___POUND____DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON___POUND____DOLLAR___OnPush_29, false ) ); BUTTON_ASTERISK__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BUTTON_ASTERISK__DOLLAR___OnPush_30, false ) ); TX_MUTEON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( TX_MUTEON__DOLLAR___OnPush_31, false ) ); TX_MUTEOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( TX_MUTEOFF__DOLLAR___OnPush_32, false ) ); TX_MUTETOGGLE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( TX_MUTETOGGLE__DOLLAR___OnPush_33, false ) ); RX_MUTEON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( RX_MUTEON__DOLLAR___OnPush_34, false ) ); RX_MUTEOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( RX_MUTEOFF__DOLLAR___OnPush_35, false ) ); RX_MUTETOGGLE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( RX_MUTETOGGLE__DOLLAR___OnPush_36, false ) ); for( uint i = 0; i < 16; i++ ) SPEED_STORE__DOLLAR__[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( SPEED_STORE__DOLLAR___OnPush_37, false ) ); for( uint i = 0; i < 16; i++ ) SPEED_DIAL__DOLLAR__[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( SPEED_DIAL__DOLLAR___OnPush_38, false ) ); RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_39, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo( 1, this ); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM( this ); _SplusNVRAM.RETURNSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, this ); _SplusNVRAM.COMMAND = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 80, this ); _SplusNVRAM.SENDSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 100, this ); RECALLPRESET__DOLLAR___0 = new Crestron.Logos.SplusObjects.DigitalInput( RECALLPRESET__DOLLAR___0__DigitalInput__, this ); m_DigitalInputList.Add( RECALLPRESET__DOLLAR___0__DigitalInput__, RECALLPRESET__DOLLAR___0 ); RECALLPRESET__DOLLAR__ = new InOutArray<DigitalInput>( 255, this ); for( uint i = 0; i < 255; i++ ) { RECALLPRESET__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( RECALLPRESET__DOLLAR____DigitalInput__ + i, RECALLPRESET__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( RECALLPRESET__DOLLAR____DigitalInput__ + i, RECALLPRESET__DOLLAR__[i+1] ); } TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TX__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__ ); RECALLPRESET__DOLLAR___0.OnDigitalPush.Add( new InputChangeHandlerWrapper( RECALLPRESET__DOLLAR___0_OnPush_0, false ) ); for( uint i = 0; i < 255; i++ ) RECALLPRESET__DOLLAR__[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( RECALLPRESET__DOLLAR___OnPush_1, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); OPTIONSMENUMAP = new ushort[ 8 ]; OPTIONSMENUICONS = new ushort[ 8 ]; GROUPSMENUMAP = new ushort[ 7 ]; OPTIONSMENU__DOLLAR__ = new CrestronString[ 8 ]; for( uint i = 0; i < 8; i++ ) OPTIONSMENU__DOLLAR__ [i] = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 32, this ); EQPRESETNAMES__DOLLAR__ = new CrestronString[ 7 ]; for( uint i = 0; i < 7; i++ ) EQPRESETNAMES__DOLLAR__ [i] = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 11, this ); ROOMANDSOURCEMENUINITIALIZED = new Crestron.Logos.SplusObjects.DigitalInput( ROOMANDSOURCEMENUINITIALIZED__DigitalInput__, this ); m_DigitalInputList.Add( ROOMANDSOURCEMENUINITIALIZED__DigitalInput__, ROOMANDSOURCEMENUINITIALIZED ); SOURCELISTHASONEITEM = new Crestron.Logos.SplusObjects.DigitalInput( SOURCELISTHASONEITEM__DigitalInput__, this ); m_DigitalInputList.Add( SOURCELISTHASONEITEM__DigitalInput__, SOURCELISTHASONEITEM ); REFRESHOPTIONSMENU = new Crestron.Logos.SplusObjects.DigitalInput( REFRESHOPTIONSMENU__DigitalInput__, this ); m_DigitalInputList.Add( REFRESHOPTIONSMENU__DigitalInput__, REFRESHOPTIONSMENU ); ROOMISON = new Crestron.Logos.SplusObjects.DigitalInput( ROOMISON__DigitalInput__, this ); m_DigitalInputList.Add( ROOMISON__DigitalInput__, ROOMISON ); HASSOURCES = new Crestron.Logos.SplusObjects.DigitalInput( HASSOURCES__DigitalInput__, this ); m_DigitalInputList.Add( HASSOURCES__DigitalInput__, HASSOURCES ); SOURCESHAREAVAILABLE = new Crestron.Logos.SplusObjects.DigitalInput( SOURCESHAREAVAILABLE__DigitalInput__, this ); m_DigitalInputList.Add( SOURCESHAREAVAILABLE__DigitalInput__, SOURCESHAREAVAILABLE ); HASROOMS = new Crestron.Logos.SplusObjects.DigitalInput( HASROOMS__DigitalInput__, this ); m_DigitalInputList.Add( HASROOMS__DigitalInput__, HASROOMS ); HASSLEEP = new Crestron.Logos.SplusObjects.DigitalInput( HASSLEEP__DigitalInput__, this ); m_DigitalInputList.Add( HASSLEEP__DigitalInput__, HASSLEEP ); HASGROUPS = new Crestron.Logos.SplusObjects.DigitalInput( HASGROUPS__DigitalInput__, this ); m_DigitalInputList.Add( HASGROUPS__DigitalInput__, HASGROUPS ); TOOLSMENUENABLED = new Crestron.Logos.SplusObjects.DigitalInput( TOOLSMENUENABLED__DigitalInput__, this ); m_DigitalInputList.Add( TOOLSMENUENABLED__DigitalInput__, TOOLSMENUENABLED ); GROUPSMENUENABLED = new Crestron.Logos.SplusObjects.DigitalInput( GROUPSMENUENABLED__DigitalInput__, this ); m_DigitalInputList.Add( GROUPSMENUENABLED__DigitalInput__, GROUPSMENUENABLED ); SLEEPISON = new Crestron.Logos.SplusObjects.DigitalInput( SLEEPISON__DigitalInput__, this ); m_DigitalInputList.Add( SLEEPISON__DigitalInput__, SLEEPISON ); SLEEPISOFF = new Crestron.Logos.SplusObjects.DigitalInput( SLEEPISOFF__DigitalInput__, this ); m_DigitalInputList.Add( SLEEPISOFF__DigitalInput__, SLEEPISOFF ); SLEEPWARNINGACTIVATED = new Crestron.Logos.SplusObjects.DigitalInput( SLEEPWARNINGACTIVATED__DigitalInput__, this ); m_DigitalInputList.Add( SLEEPWARNINGACTIVATED__DigitalInput__, SLEEPWARNINGACTIVATED ); SLEEPWARNINGISACTIVE = new Crestron.Logos.SplusObjects.DigitalInput( SLEEPWARNINGISACTIVE__DigitalInput__, this ); m_DigitalInputList.Add( SLEEPWARNINGISACTIVE__DigitalInput__, SLEEPWARNINGISACTIVE ); LOUDNESSISON = new Crestron.Logos.SplusObjects.DigitalInput( LOUDNESSISON__DigitalInput__, this ); m_DigitalInputList.Add( LOUDNESSISON__DigitalInput__, LOUDNESSISON ); LOUDNESSISOFF = new Crestron.Logos.SplusObjects.DigitalInput( LOUDNESSISOFF__DigitalInput__, this ); m_DigitalInputList.Add( LOUDNESSISOFF__DigitalInput__, LOUDNESSISOFF ); ONSLEEPPAGE = new Crestron.Logos.SplusObjects.DigitalInput( ONSLEEPPAGE__DigitalInput__, this ); m_DigitalInputList.Add( ONSLEEPPAGE__DigitalInput__, ONSLEEPPAGE ); ONTOOLSPAGE = new Crestron.Logos.SplusObjects.DigitalInput( ONTOOLSPAGE__DigitalInput__, this ); m_DigitalInputList.Add( ONTOOLSPAGE__DigitalInput__, ONTOOLSPAGE ); SLEEPSELECTBUTTON = new Crestron.Logos.SplusObjects.DigitalInput( SLEEPSELECTBUTTON__DigitalInput__, this ); m_DigitalInputList.Add( SLEEPSELECTBUTTON__DigitalInput__, SLEEPSELECTBUTTON ); TOOLSSELECTBUTTON = new Crestron.Logos.SplusObjects.DigitalInput( TOOLSSELECTBUTTON__DigitalInput__, this ); m_DigitalInputList.Add( TOOLSSELECTBUTTON__DigitalInput__, TOOLSSELECTBUTTON ); SLEEPBACKBUTTON = new Crestron.Logos.SplusObjects.DigitalInput( SLEEPBACKBUTTON__DigitalInput__, this ); m_DigitalInputList.Add( SLEEPBACKBUTTON__DigitalInput__, SLEEPBACKBUTTON ); TOOLSBACKBUTTON = new Crestron.Logos.SplusObjects.DigitalInput( TOOLSBACKBUTTON__DigitalInput__, this ); m_DigitalInputList.Add( TOOLSBACKBUTTON__DigitalInput__, TOOLSBACKBUTTON ); GROUPSCONFIGURED = new InOutArray<DigitalInput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPSCONFIGURED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( GROUPSCONFIGURED__DigitalInput__ + i, GROUPSCONFIGURED__DigitalInput__, this ); m_DigitalInputList.Add( GROUPSCONFIGURED__DigitalInput__ + i, GROUPSCONFIGURED[i+1] ); } GROUPSACTIVE = new InOutArray<DigitalInput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPSACTIVE[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( GROUPSACTIVE__DigitalInput__ + i, GROUPSACTIVE__DigitalInput__, this ); m_DigitalInputList.Add( GROUPSACTIVE__DigitalInput__ + i, GROUPSACTIVE[i+1] ); } OPTIONSLINESELECTED = new InOutArray<DigitalInput>( 7, this ); for( uint i = 0; i < 7; i++ ) { OPTIONSLINESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( OPTIONSLINESELECTED__DigitalInput__ + i, OPTIONSLINESELECTED__DigitalInput__, this ); m_DigitalInputList.Add( OPTIONSLINESELECTED__DigitalInput__ + i, OPTIONSLINESELECTED[i+1] ); } SLEEPLINESELECTED = new InOutArray<DigitalInput>( 2, this ); for( uint i = 0; i < 2; i++ ) { SLEEPLINESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( SLEEPLINESELECTED__DigitalInput__ + i, SLEEPLINESELECTED__DigitalInput__, this ); m_DigitalInputList.Add( SLEEPLINESELECTED__DigitalInput__ + i, SLEEPLINESELECTED[i+1] ); } TOOLSLINESELECTED = new InOutArray<DigitalInput>( 5, this ); for( uint i = 0; i < 5; i++ ) { TOOLSLINESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( TOOLSLINESELECTED__DigitalInput__ + i, TOOLSLINESELECTED__DigitalInput__, this ); m_DigitalInputList.Add( TOOLSLINESELECTED__DigitalInput__ + i, TOOLSLINESELECTED[i+1] ); } GROUPSLINESELECTED = new InOutArray<DigitalInput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPSLINESELECTED[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( GROUPSLINESELECTED__DigitalInput__ + i, GROUPSLINESELECTED__DigitalInput__, this ); m_DigitalInputList.Add( GROUPSLINESELECTED__DigitalInput__ + i, GROUPSLINESELECTED[i+1] ); } GOTOAUDIOMENUPAGE = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOAUDIOMENUPAGE__DigitalOutput__, this ); m_DigitalOutputList.Add( GOTOAUDIOMENUPAGE__DigitalOutput__, GOTOAUDIOMENUPAGE ); GOTOSOURCESPAGE = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOSOURCESPAGE__DigitalOutput__, this ); m_DigitalOutputList.Add( GOTOSOURCESPAGE__DigitalOutput__, GOTOSOURCESPAGE ); GOTOSOURCESHARINGPAGE = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOSOURCESHARINGPAGE__DigitalOutput__, this ); m_DigitalOutputList.Add( GOTOSOURCESHARINGPAGE__DigitalOutput__, GOTOSOURCESHARINGPAGE ); GOTOROOMSPAGE = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOROOMSPAGE__DigitalOutput__, this ); m_DigitalOutputList.Add( GOTOROOMSPAGE__DigitalOutput__, GOTOROOMSPAGE ); GOTOSLEEPPAGE = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOSLEEPPAGE__DigitalOutput__, this ); m_DigitalOutputList.Add( GOTOSLEEPPAGE__DigitalOutput__, GOTOSLEEPPAGE ); GOTOTOOLSPAGE = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOTOOLSPAGE__DigitalOutput__, this ); m_DigitalOutputList.Add( GOTOTOOLSPAGE__DigitalOutput__, GOTOTOOLSPAGE ); GOTOGROUPSPAGE = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOGROUPSPAGE__DigitalOutput__, this ); m_DigitalOutputList.Add( GOTOGROUPSPAGE__DigitalOutput__, GOTOGROUPSPAGE ); SLEEPTIMEADJUSTACTIVE = new Crestron.Logos.SplusObjects.DigitalOutput( SLEEPTIMEADJUSTACTIVE__DigitalOutput__, this ); m_DigitalOutputList.Add( SLEEPTIMEADJUSTACTIVE__DigitalOutput__, SLEEPTIMEADJUSTACTIVE ); SLEEPENABLEADJUSTACTIVE = new Crestron.Logos.SplusObjects.DigitalOutput( SLEEPENABLEADJUSTACTIVE__DigitalOutput__, this ); m_DigitalOutputList.Add( SLEEPENABLEADJUSTACTIVE__DigitalOutput__, SLEEPENABLEADJUSTACTIVE ); BASSADJUSTACTIVE = new Crestron.Logos.SplusObjects.DigitalOutput( BASSADJUSTACTIVE__DigitalOutput__, this ); m_DigitalOutputList.Add( BASSADJUSTACTIVE__DigitalOutput__, BASSADJUSTACTIVE ); TREBLEADJUSTACTIVE = new Crestron.Logos.SplusObjects.DigitalOutput( TREBLEADJUSTACTIVE__DigitalOutput__, this ); m_DigitalOutputList.Add( TREBLEADJUSTACTIVE__DigitalOutput__, TREBLEADJUSTACTIVE ); EQPRESETADJUSTACTIVE = new Crestron.Logos.SplusObjects.DigitalOutput( EQPRESETADJUSTACTIVE__DigitalOutput__, this ); m_DigitalOutputList.Add( EQPRESETADJUSTACTIVE__DigitalOutput__, EQPRESETADJUSTACTIVE ); BALANCEADJUSTACTIVE = new Crestron.Logos.SplusObjects.DigitalOutput( BALANCEADJUSTACTIVE__DigitalOutput__, this ); m_DigitalOutputList.Add( BALANCEADJUSTACTIVE__DigitalOutput__, BALANCEADJUSTACTIVE ); LOUDNESSADJUSTACTIVE = new Crestron.Logos.SplusObjects.DigitalOutput( LOUDNESSADJUSTACTIVE__DigitalOutput__, this ); m_DigitalOutputList.Add( LOUDNESSADJUSTACTIVE__DigitalOutput__, LOUDNESSADJUSTACTIVE ); SELECTSINGLESOURCE = new Crestron.Logos.SplusObjects.DigitalOutput( SELECTSINGLESOURCE__DigitalOutput__, this ); m_DigitalOutputList.Add( SELECTSINGLESOURCE__DigitalOutput__, SELECTSINGLESOURCE ); SHIFTOPTIONSHIGHLIGHTTOTOP = new Crestron.Logos.SplusObjects.DigitalOutput( SHIFTOPTIONSHIGHLIGHTTOTOP__DigitalOutput__, this ); m_DigitalOutputList.Add( SHIFTOPTIONSHIGHLIGHTTOTOP__DigitalOutput__, SHIFTOPTIONSHIGHLIGHTTOTOP ); TOGGLEGROUPS = new InOutArray<DigitalOutput>( 6, this ); for( uint i = 0; i < 6; i++ ) { TOGGLEGROUPS[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( TOGGLEGROUPS__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( TOGGLEGROUPS__DigitalOutput__ + i, TOGGLEGROUPS[i+1] ); } GOTOSOURCECONTROLPAGE = new InOutArray<DigitalOutput>( 24, this ); for( uint i = 0; i < 24; i++ ) { GOTOSOURCECONTROLPAGE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( GOTOSOURCECONTROLPAGE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( GOTOSOURCECONTROLPAGE__DigitalOutput__ + i, GOTOSOURCECONTROLPAGE[i+1] ); } OPTIONSITEMSACTIVE = new InOutArray<DigitalOutput>( 7, this ); for( uint i = 0; i < 7; i++ ) { OPTIONSITEMSACTIVE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( OPTIONSITEMSACTIVE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( OPTIONSITEMSACTIVE__DigitalOutput__ + i, OPTIONSITEMSACTIVE[i+1] ); } SLEEPITEMSACTIVE = new InOutArray<DigitalOutput>( 2, this ); for( uint i = 0; i < 2; i++ ) { SLEEPITEMSACTIVE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SLEEPITEMSACTIVE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SLEEPITEMSACTIVE__DigitalOutput__ + i, SLEEPITEMSACTIVE[i+1] ); } TOOLSITEMSACTIVE = new InOutArray<DigitalOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { TOOLSITEMSACTIVE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( TOOLSITEMSACTIVE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( TOOLSITEMSACTIVE__DigitalOutput__ + i, TOOLSITEMSACTIVE[i+1] ); } SINGLESOURCE = new Crestron.Logos.SplusObjects.AnalogInput( SINGLESOURCE__AnalogSerialInput__, this ); m_AnalogInputList.Add( SINGLESOURCE__AnalogSerialInput__, SINGLESOURCE ); ACTIVESOURCE = new Crestron.Logos.SplusObjects.AnalogInput( ACTIVESOURCE__AnalogSerialInput__, this ); m_AnalogInputList.Add( ACTIVESOURCE__AnalogSerialInput__, ACTIVESOURCE ); SLEEPTIME = new Crestron.Logos.SplusObjects.AnalogInput( SLEEPTIME__AnalogSerialInput__, this ); m_AnalogInputList.Add( SLEEPTIME__AnalogSerialInput__, SLEEPTIME ); BASS_DB = new Crestron.Logos.SplusObjects.AnalogInput( BASS_DB__AnalogSerialInput__, this ); m_AnalogInputList.Add( BASS_DB__AnalogSerialInput__, BASS_DB ); TREBLE_DB = new Crestron.Logos.SplusObjects.AnalogInput( TREBLE_DB__AnalogSerialInput__, this ); m_AnalogInputList.Add( TREBLE_DB__AnalogSerialInput__, TREBLE_DB ); EQPRESET = new Crestron.Logos.SplusObjects.AnalogInput( EQPRESET__AnalogSerialInput__, this ); m_AnalogInputList.Add( EQPRESET__AnalogSerialInput__, EQPRESET ); BALANCE = new Crestron.Logos.SplusObjects.AnalogInput( BALANCE__AnalogSerialInput__, this ); m_AnalogInputList.Add( BALANCE__AnalogSerialInput__, BALANCE ); SINGLESOURCEICON = new Crestron.Logos.SplusObjects.AnalogInput( SINGLESOURCEICON__AnalogSerialInput__, this ); m_AnalogInputList.Add( SINGLESOURCEICON__AnalogSerialInput__, SINGLESOURCEICON ); ACTIVESOURCEICON = new Crestron.Logos.SplusObjects.AnalogInput( ACTIVESOURCEICON__AnalogSerialInput__, this ); m_AnalogInputList.Add( ACTIVESOURCEICON__AnalogSerialInput__, ACTIVESOURCEICON ); OPTIONSHIGHLIGHTOUT = new Crestron.Logos.SplusObjects.AnalogOutput( OPTIONSHIGHLIGHTOUT__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( OPTIONSHIGHLIGHTOUT__AnalogSerialOutput__, OPTIONSHIGHLIGHTOUT ); OPTIONSITEMCOUNTOUT = new Crestron.Logos.SplusObjects.AnalogOutput( OPTIONSITEMCOUNTOUT__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( OPTIONSITEMCOUNTOUT__AnalogSerialOutput__, OPTIONSITEMCOUNTOUT ); SLEEPITEMCOUNTOUT = new Crestron.Logos.SplusObjects.AnalogOutput( SLEEPITEMCOUNTOUT__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( SLEEPITEMCOUNTOUT__AnalogSerialOutput__, SLEEPITEMCOUNTOUT ); TOOLSITEMCOUNTOUT = new Crestron.Logos.SplusObjects.AnalogOutput( TOOLSITEMCOUNTOUT__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( TOOLSITEMCOUNTOUT__AnalogSerialOutput__, TOOLSITEMCOUNTOUT ); GROUPSITEMCOUNTOUT = new Crestron.Logos.SplusObjects.AnalogOutput( GROUPSITEMCOUNTOUT__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( GROUPSITEMCOUNTOUT__AnalogSerialOutput__, GROUPSITEMCOUNTOUT ); OPTIONSICONSOUT = new InOutArray<AnalogOutput>( 7, this ); for( uint i = 0; i < 7; i++ ) { OPTIONSICONSOUT[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( OPTIONSICONSOUT__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( OPTIONSICONSOUT__AnalogSerialOutput__ + i, OPTIONSICONSOUT[i+1] ); } GROUPSICONSOUT = new InOutArray<AnalogOutput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPSICONSOUT[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( GROUPSICONSOUT__AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( GROUPSICONSOUT__AnalogSerialOutput__ + i, GROUPSICONSOUT[i+1] ); } SINGLESOURCENAME = new Crestron.Logos.SplusObjects.StringInput( SINGLESOURCENAME__AnalogSerialInput__, 32, this ); m_StringInputList.Add( SINGLESOURCENAME__AnalogSerialInput__, SINGLESOURCENAME ); ACTIVESOURCENAME__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput( ACTIVESOURCENAME__DOLLAR____AnalogSerialInput__, 32, this ); m_StringInputList.Add( ACTIVESOURCENAME__DOLLAR____AnalogSerialInput__, ACTIVESOURCENAME__DOLLAR__ ); GROUPSNAMES = new InOutArray<StringInput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPSNAMES[i+1] = new Crestron.Logos.SplusObjects.StringInput( GROUPSNAMES__AnalogSerialInput__ + i, GROUPSNAMES__AnalogSerialInput__, 32, this ); m_StringInputList.Add( GROUPSNAMES__AnalogSerialInput__ + i, GROUPSNAMES[i+1] ); } OPTIONSLABEL__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( OPTIONSLABEL__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( OPTIONSLABEL__DOLLAR____AnalogSerialOutput__, OPTIONSLABEL__DOLLAR__ ); SLEEPLABEL__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( SLEEPLABEL__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( SLEEPLABEL__DOLLAR____AnalogSerialOutput__, SLEEPLABEL__DOLLAR__ ); TOOLSLABEL__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TOOLSLABEL__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( TOOLSLABEL__DOLLAR____AnalogSerialOutput__, TOOLSLABEL__DOLLAR__ ); GROUPSLABEL__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( GROUPSLABEL__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( GROUPSLABEL__DOLLAR____AnalogSerialOutput__, GROUPSLABEL__DOLLAR__ ); SLEEPWARNINGMESSAGE = new Crestron.Logos.SplusObjects.StringOutput( SLEEPWARNINGMESSAGE__AnalogSerialOutput__, this ); m_StringOutputList.Add( SLEEPWARNINGMESSAGE__AnalogSerialOutput__, SLEEPWARNINGMESSAGE ); OPTIONSITEMS__DOLLAR__ = new InOutArray<StringOutput>( 7, this ); for( uint i = 0; i < 7; i++ ) { OPTIONSITEMS__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( OPTIONSITEMS__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( OPTIONSITEMS__DOLLAR____AnalogSerialOutput__ + i, OPTIONSITEMS__DOLLAR__[i+1] ); } SLEEPITEMS__DOLLAR__ = new InOutArray<StringOutput>( 2, this ); for( uint i = 0; i < 2; i++ ) { SLEEPITEMS__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( SLEEPITEMS__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( SLEEPITEMS__DOLLAR____AnalogSerialOutput__ + i, SLEEPITEMS__DOLLAR__[i+1] ); } TOOLSITEMS__DOLLAR__ = new InOutArray<StringOutput>( 5, this ); for( uint i = 0; i < 5; i++ ) { TOOLSITEMS__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( TOOLSITEMS__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( TOOLSITEMS__DOLLAR____AnalogSerialOutput__ + i, TOOLSITEMS__DOLLAR__[i+1] ); } GROUPSITEMS__DOLLAR__ = new InOutArray<StringOutput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPSITEMS__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.StringOutput( GROUPSITEMS__DOLLAR____AnalogSerialOutput__ + i, this ); m_StringOutputList.Add( GROUPSITEMS__DOLLAR____AnalogSerialOutput__ + i, GROUPSITEMS__DOLLAR__[i+1] ); } ROOMANDSOURCEMENUINITIALIZED.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROOMANDSOURCEMENUINITIALIZED_OnPush_0, false ) ); REFRESHOPTIONSMENU.OnDigitalPush.Add( new InputChangeHandlerWrapper( REFRESHOPTIONSMENU_OnPush_1, false ) ); HASSLEEP.OnDigitalChange.Add( new InputChangeHandlerWrapper( HASSLEEP_OnChange_2, false ) ); TOOLSMENUENABLED.OnDigitalChange.Add( new InputChangeHandlerWrapper( TOOLSMENUENABLED_OnChange_3, false ) ); SLEEPISON.OnDigitalPush.Add( new InputChangeHandlerWrapper( SLEEPISON_OnPush_4, false ) ); SLEEPISOFF.OnDigitalPush.Add( new InputChangeHandlerWrapper( SLEEPISOFF_OnPush_5, false ) ); LOUDNESSISON.OnDigitalPush.Add( new InputChangeHandlerWrapper( LOUDNESSISON_OnPush_6, false ) ); LOUDNESSISOFF.OnDigitalPush.Add( new InputChangeHandlerWrapper( LOUDNESSISOFF_OnPush_7, false ) ); ONSLEEPPAGE.OnDigitalRelease.Add( new InputChangeHandlerWrapper( ONSLEEPPAGE_OnRelease_8, false ) ); ONTOOLSPAGE.OnDigitalRelease.Add( new InputChangeHandlerWrapper( ONTOOLSPAGE_OnRelease_9, false ) ); SLEEPWARNINGACTIVATED.OnDigitalPush.Add( new InputChangeHandlerWrapper( SLEEPWARNINGACTIVATED_OnPush_10, false ) ); SLEEPSELECTBUTTON.OnDigitalPush.Add( new InputChangeHandlerWrapper( SLEEPSELECTBUTTON_OnPush_11, false ) ); TOOLSSELECTBUTTON.OnDigitalPush.Add( new InputChangeHandlerWrapper( TOOLSSELECTBUTTON_OnPush_12, false ) ); SLEEPBACKBUTTON.OnDigitalPush.Add( new InputChangeHandlerWrapper( SLEEPBACKBUTTON_OnPush_13, false ) ); TOOLSBACKBUTTON.OnDigitalPush.Add( new InputChangeHandlerWrapper( TOOLSBACKBUTTON_OnPush_14, false ) ); SLEEPTIME.OnAnalogChange.Add( new InputChangeHandlerWrapper( SLEEPTIME_OnChange_15, false ) ); BASS_DB.OnAnalogChange.Add( new InputChangeHandlerWrapper( BASS_DB_OnChange_16, false ) ); TREBLE_DB.OnAnalogChange.Add( new InputChangeHandlerWrapper( TREBLE_DB_OnChange_17, false ) ); EQPRESET.OnAnalogChange.Add( new InputChangeHandlerWrapper( EQPRESET_OnChange_18, false ) ); BALANCE.OnAnalogChange.Add( new InputChangeHandlerWrapper( BALANCE_OnChange_19, false ) ); for( uint i = 0; i < 7; i++ ) OPTIONSLINESELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( OPTIONSLINESELECTED_OnPush_20, false ) ); for( uint i = 0; i < 2; i++ ) SLEEPLINESELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( SLEEPLINESELECTED_OnPush_21, false ) ); for( uint i = 0; i < 5; i++ ) TOOLSLINESELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( TOOLSLINESELECTED_OnPush_22, false ) ); for( uint i = 0; i < 6; i++ ) GROUPSLINESELECTED[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( GROUPSLINESELECTED_OnPush_23, false ) ); ACTIVESOURCEICON.OnAnalogChange.Add( new InputChangeHandlerWrapper( ACTIVESOURCEICON_OnChange_24, false ) ); for( uint i = 0; i < 6; i++ ) GROUPSACTIVE[i+1].OnDigitalChange.Add( new InputChangeHandlerWrapper( GROUPSACTIVE_OnChange_25, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); DEBUG = new Crestron.Logos.SplusObjects.DigitalInput( DEBUG__DigitalInput__, this ); m_DigitalInputList.Add( DEBUG__DigitalInput__, DEBUG ); SETSIGNAL = new InOutArray<DigitalInput>( 20, this ); for( uint i = 0; i < 20; i++ ) { SETSIGNAL[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( SETSIGNAL__DigitalInput__ + i, SETSIGNAL__DigitalInput__, this ); m_DigitalInputList.Add( SETSIGNAL__DigitalInput__ + i, SETSIGNAL[i+1] ); } SIGNALCONFIGURED = new InOutArray<DigitalOutput>( 20, this ); for( uint i = 0; i < 20; i++ ) { SIGNALCONFIGURED[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SIGNALCONFIGURED__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SIGNALCONFIGURED__DigitalOutput__ + i, SIGNALCONFIGURED[i+1] ); } SIGNALACTIVE = new InOutArray<DigitalOutput>( 20, this ); for( uint i = 0; i < 20; i++ ) { SIGNALACTIVE[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SIGNALACTIVE__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SIGNALACTIVE__DigitalOutput__ + i, SIGNALACTIVE[i+1] ); } CONNECTED = new Crestron.Logos.SplusObjects.AnalogOutput( CONNECTED__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( CONNECTED__AnalogSerialOutput__, CONNECTED ); MODULENAME = new Crestron.Logos.SplusObjects.StringInput( MODULENAME__AnalogSerialInput__, 255, this ); m_StringInputList.Add( MODULENAME__AnalogSerialInput__, MODULENAME ); SIGNALNAME = new InOutArray<StringInput>( 20, this ); for( uint i = 0; i < 20; i++ ) { SIGNALNAME[i+1] = new Crestron.Logos.SplusObjects.StringInput( SIGNALNAME__AnalogSerialInput__ + i, SIGNALNAME__AnalogSerialInput__, 255, this ); m_StringInputList.Add( SIGNALNAME__AnalogSerialInput__ + i, SIGNALNAME[i+1] ); } MODULE_CONTROL_MODE = new UShortParameter( MODULE_CONTROL_MODE__Parameter__, this ); m_ParameterList.Add( MODULE_CONTROL_MODE__Parameter__, MODULE_CONTROL_MODE ); DEBUG.OnDigitalPush.Add( new InputChangeHandlerWrapper( DEBUG_OnPush_0, false ) ); for( uint i = 0; i < 20; i++ ) SETSIGNAL[i+1].OnDigitalChange.Add( new InputChangeHandlerWrapper( SETSIGNAL_OnChange_1, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo( 1, this ); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM( this ); _SplusNVRAM.SOURCEGAIN = new ushort[ 9 ]; _SplusNVRAM.BGM_GAIN = new ushort[ 9 ]; _SplusNVRAM.MASTERGAIN = new ushort[ 9 ]; _SplusNVRAM.XOKSOURCEGAIN = new ushort[ 9 ]; _SplusNVRAM.XOKBGM_GAIN = new ushort[ 9 ]; _SplusNVRAM.XOKMASTERGAIN = new ushort[ 9 ]; _SplusNVRAM.RETURNSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, this ); _SplusNVRAM.TEMPSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 40, this ); ENABLE_FEEDBACK__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ENABLE_FEEDBACK__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ENABLE_FEEDBACK__DOLLAR____DigitalInput__, ENABLE_FEEDBACK__DOLLAR__ ); DISABLE_FEEDBACK__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( DISABLE_FEEDBACK__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( DISABLE_FEEDBACK__DOLLAR____DigitalInput__, DISABLE_FEEDBACK__DOLLAR__ ); SOURCEMUTE_RM__DOLLAR__ = new InOutArray<DigitalInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { SOURCEMUTE_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( SOURCEMUTE_RM__DOLLAR____DigitalInput__ + i, SOURCEMUTE_RM__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SOURCEMUTE_RM__DOLLAR____DigitalInput__ + i, SOURCEMUTE_RM__DOLLAR__[i+1] ); } BGM_MUTE_RM__DOLLAR__ = new InOutArray<DigitalInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { BGM_MUTE_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( BGM_MUTE_RM__DOLLAR____DigitalInput__ + i, BGM_MUTE_RM__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( BGM_MUTE_RM__DOLLAR____DigitalInput__ + i, BGM_MUTE_RM__DOLLAR__[i+1] ); } MASTERMUTE_RM__DOLLAR__ = new InOutArray<DigitalInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { MASTERMUTE_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( MASTERMUTE_RM__DOLLAR____DigitalInput__ + i, MASTERMUTE_RM__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( MASTERMUTE_RM__DOLLAR____DigitalInput__ + i, MASTERMUTE_RM__DOLLAR__[i+1] ); } PARTITION__DOLLAR__ = new InOutArray<DigitalInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { PARTITION__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalInput( PARTITION__DOLLAR____DigitalInput__ + i, PARTITION__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( PARTITION__DOLLAR____DigitalInput__ + i, PARTITION__DOLLAR__[i+1] ); } SOURCEMUTE_RM_FB__DOLLAR__ = new InOutArray<DigitalOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { SOURCEMUTE_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( SOURCEMUTE_RM_FB__DOLLAR____DigitalOutput__ + i, this ); m_DigitalOutputList.Add( SOURCEMUTE_RM_FB__DOLLAR____DigitalOutput__ + i, SOURCEMUTE_RM_FB__DOLLAR__[i+1] ); } BGM_MUTE_RM_FB__DOLLAR__ = new InOutArray<DigitalOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { BGM_MUTE_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( BGM_MUTE_RM_FB__DOLLAR____DigitalOutput__ + i, this ); m_DigitalOutputList.Add( BGM_MUTE_RM_FB__DOLLAR____DigitalOutput__ + i, BGM_MUTE_RM_FB__DOLLAR__[i+1] ); } MASTERMUTE_RM_FB__DOLLAR__ = new InOutArray<DigitalOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { MASTERMUTE_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( MASTERMUTE_RM_FB__DOLLAR____DigitalOutput__ + i, this ); m_DigitalOutputList.Add( MASTERMUTE_RM_FB__DOLLAR____DigitalOutput__ + i, MASTERMUTE_RM_FB__DOLLAR__[i+1] ); } PARTITION_FB__DOLLAR__ = new InOutArray<DigitalOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { PARTITION_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( PARTITION_FB__DOLLAR____DigitalOutput__ + i, this ); m_DigitalOutputList.Add( PARTITION_FB__DOLLAR____DigitalOutput__ + i, PARTITION_FB__DOLLAR__[i+1] ); } CHAN_OFFSET__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN_OFFSET__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( CHAN_OFFSET__DOLLAR____AnalogSerialInput__, CHAN_OFFSET__DOLLAR__ ); SOURCEGAIN_RM__DOLLAR__ = new InOutArray<AnalogInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { SOURCEGAIN_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( SOURCEGAIN_RM__DOLLAR____AnalogSerialInput__ + i, SOURCEGAIN_RM__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( SOURCEGAIN_RM__DOLLAR____AnalogSerialInput__ + i, SOURCEGAIN_RM__DOLLAR__[i+1] ); } BGM_GAIN_RM__DOLLAR__ = new InOutArray<AnalogInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { BGM_GAIN_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( BGM_GAIN_RM__DOLLAR____AnalogSerialInput__ + i, BGM_GAIN_RM__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( BGM_GAIN_RM__DOLLAR____AnalogSerialInput__ + i, BGM_GAIN_RM__DOLLAR__[i+1] ); } MASTERGAIN_RM__DOLLAR__ = new InOutArray<AnalogInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { MASTERGAIN_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( MASTERGAIN_RM__DOLLAR____AnalogSerialInput__ + i, MASTERGAIN_RM__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( MASTERGAIN_RM__DOLLAR____AnalogSerialInput__ + i, MASTERGAIN_RM__DOLLAR__[i+1] ); } BGM_INPUT_RM__DOLLAR__ = new InOutArray<AnalogInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { BGM_INPUT_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( BGM_INPUT_RM__DOLLAR____AnalogSerialInput__ + i, BGM_INPUT_RM__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( BGM_INPUT_RM__DOLLAR____AnalogSerialInput__ + i, BGM_INPUT_RM__DOLLAR__[i+1] ); } GROUP_RM__DOLLAR__ = new InOutArray<AnalogInput>( 8, this ); for( uint i = 0; i < 8; i++ ) { GROUP_RM__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( GROUP_RM__DOLLAR____AnalogSerialInput__ + i, GROUP_RM__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( GROUP_RM__DOLLAR____AnalogSerialInput__ + i, GROUP_RM__DOLLAR__[i+1] ); } SOURCEGAIN_RM_FB__DOLLAR__ = new InOutArray<AnalogOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { SOURCEGAIN_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( SOURCEGAIN_RM_FB__DOLLAR____AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( SOURCEGAIN_RM_FB__DOLLAR____AnalogSerialOutput__ + i, SOURCEGAIN_RM_FB__DOLLAR__[i+1] ); } BGM_GAIN_RM_FB__DOLLAR__ = new InOutArray<AnalogOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { BGM_GAIN_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( BGM_GAIN_RM_FB__DOLLAR____AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( BGM_GAIN_RM_FB__DOLLAR____AnalogSerialOutput__ + i, BGM_GAIN_RM_FB__DOLLAR__[i+1] ); } MASTERGAIN_RM_FB__DOLLAR__ = new InOutArray<AnalogOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { MASTERGAIN_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( MASTERGAIN_RM_FB__DOLLAR____AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( MASTERGAIN_RM_FB__DOLLAR____AnalogSerialOutput__ + i, MASTERGAIN_RM_FB__DOLLAR__[i+1] ); } BGM_INPUT_RM_FB__DOLLAR__ = new InOutArray<AnalogOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { BGM_INPUT_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( BGM_INPUT_RM_FB__DOLLAR____AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( BGM_INPUT_RM_FB__DOLLAR____AnalogSerialOutput__ + i, BGM_INPUT_RM_FB__DOLLAR__[i+1] ); } GROUP_RM_FB__DOLLAR__ = new InOutArray<AnalogOutput>( 8, this ); for( uint i = 0; i < 8; i++ ) { GROUP_RM_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( GROUP_RM_FB__DOLLAR____AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( GROUP_RM_FB__DOLLAR____AnalogSerialOutput__ + i, GROUP_RM_FB__DOLLAR__[i+1] ); } TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TX__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__ ); RX__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput( RX__DOLLAR____AnalogSerialInput__, 400, this ); m_StringInputList.Add( RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__ ); MAX_ROOMS__DOLLAR__ = new UShortParameter( MAX_ROOMS__DOLLAR____Parameter__, this ); m_ParameterList.Add( MAX_ROOMS__DOLLAR____Parameter__, MAX_ROOMS__DOLLAR__ ); OBJECTID__DOLLAR__ = new StringParameter( OBJECTID__DOLLAR____Parameter__, this ); m_ParameterList.Add( OBJECTID__DOLLAR____Parameter__, OBJECTID__DOLLAR__ ); __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction( __SPLS_TMPVAR__WAITLABEL_0___CallbackFn ); CHAN_OFFSET__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN_OFFSET__DOLLAR___OnChange_0, false ) ); ENABLE_FEEDBACK__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ENABLE_FEEDBACK__DOLLAR___OnPush_1, false ) ); DISABLE_FEEDBACK__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( DISABLE_FEEDBACK__DOLLAR___OnPush_2, false ) ); for( uint i = 0; i < 8; i++ ) SOURCEMUTE_RM__DOLLAR__[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( SOURCEMUTE_RM__DOLLAR___OnPush_3, false ) ); for( uint i = 0; i < 8; i++ ) BGM_MUTE_RM__DOLLAR__[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( BGM_MUTE_RM__DOLLAR___OnPush_4, false ) ); for( uint i = 0; i < 8; i++ ) MASTERMUTE_RM__DOLLAR__[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( MASTERMUTE_RM__DOLLAR___OnPush_5, false ) ); for( uint i = 0; i < 8; i++ ) SOURCEGAIN_RM__DOLLAR__[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( SOURCEGAIN_RM__DOLLAR___OnChange_6, false ) ); for( uint i = 0; i < 8; i++ ) BGM_GAIN_RM__DOLLAR__[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( BGM_GAIN_RM__DOLLAR___OnChange_7, false ) ); for( uint i = 0; i < 8; i++ ) MASTERGAIN_RM__DOLLAR__[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( MASTERGAIN_RM__DOLLAR___OnChange_8, false ) ); for( uint i = 0; i < 8; i++ ) BGM_INPUT_RM__DOLLAR__[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( BGM_INPUT_RM__DOLLAR___OnChange_9, false ) ); for( uint i = 0; i < 8; i++ ) PARTITION__DOLLAR__[i+1].OnDigitalPush.Add( new InputChangeHandlerWrapper( PARTITION__DOLLAR___OnPush_10, false ) ); for( uint i = 0; i < 8; i++ ) GROUP_RM__DOLLAR__[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( GROUP_RM__DOLLAR___OnChange_11, false ) ); RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_12, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo( 1, this ); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM( this ); _SplusNVRAM.RETURNSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, this ); _SplusNVRAM.TEMPSTRING = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 40, this ); MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( MUTE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( MUTE__DOLLAR____DigitalInput__, MUTE__DOLLAR__ ); UNMUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( UNMUTE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( UNMUTE__DOLLAR____DigitalInput__, UNMUTE__DOLLAR__ ); POLARITYON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( POLARITYON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( POLARITYON__DOLLAR____DigitalInput__, POLARITYON__DOLLAR__ ); POLARITYOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( POLARITYOFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( POLARITYOFF__DOLLAR____DigitalInput__, POLARITYOFF__DOLLAR__ ); ROUTETOGROUP1ON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP1ON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP1ON__DOLLAR____DigitalInput__, ROUTETOGROUP1ON__DOLLAR__ ); ROUTETOGROUP2ON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP2ON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP2ON__DOLLAR____DigitalInput__, ROUTETOGROUP2ON__DOLLAR__ ); ROUTETOGROUP3ON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP3ON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP3ON__DOLLAR____DigitalInput__, ROUTETOGROUP3ON__DOLLAR__ ); ROUTETOGROUP4ON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP4ON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP4ON__DOLLAR____DigitalInput__, ROUTETOGROUP4ON__DOLLAR__ ); ROUTETOGROUP1OFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP1OFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP1OFF__DOLLAR____DigitalInput__, ROUTETOGROUP1OFF__DOLLAR__ ); ROUTETOGROUP2OFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP2OFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP2OFF__DOLLAR____DigitalInput__, ROUTETOGROUP2OFF__DOLLAR__ ); ROUTETOGROUP3OFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP3OFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP3OFF__DOLLAR____DigitalInput__, ROUTETOGROUP3OFF__DOLLAR__ ); ROUTETOGROUP4OFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( ROUTETOGROUP4OFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( ROUTETOGROUP4OFF__DOLLAR____DigitalInput__, ROUTETOGROUP4OFF__DOLLAR__ ); SOLOON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( SOLOON__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SOLOON__DOLLAR____DigitalInput__, SOLOON__DOLLAR__ ); SOLOOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( SOLOOFF__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SOLOOFF__DOLLAR____DigitalInput__, SOLOOFF__DOLLAR__ ); SUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( SUBSCRIBE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( SUBSCRIBE__DOLLAR____DigitalInput__, SUBSCRIBE__DOLLAR__ ); UNSUBSCRIBE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( UNSUBSCRIBE__DOLLAR____DigitalInput__, this ); m_DigitalInputList.Add( UNSUBSCRIBE__DOLLAR____DigitalInput__, UNSUBSCRIBE__DOLLAR__ ); MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( MUTE_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( MUTE_FB__DOLLAR____DigitalOutput__, MUTE_FB__DOLLAR__ ); POLARITY_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( POLARITY_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( POLARITY_FB__DOLLAR____DigitalOutput__, POLARITY_FB__DOLLAR__ ); ROUTETOGROUP1_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( ROUTETOGROUP1_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( ROUTETOGROUP1_FB__DOLLAR____DigitalOutput__, ROUTETOGROUP1_FB__DOLLAR__ ); ROUTETOGROUP2_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( ROUTETOGROUP2_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( ROUTETOGROUP2_FB__DOLLAR____DigitalOutput__, ROUTETOGROUP2_FB__DOLLAR__ ); ROUTETOGROUP3_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( ROUTETOGROUP3_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( ROUTETOGROUP3_FB__DOLLAR____DigitalOutput__, ROUTETOGROUP3_FB__DOLLAR__ ); ROUTETOGROUP4_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( ROUTETOGROUP4_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( ROUTETOGROUP4_FB__DOLLAR____DigitalOutput__, ROUTETOGROUP4_FB__DOLLAR__ ); SOLO_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( SOLO_FB__DOLLAR____DigitalOutput__, this ); m_DigitalOutputList.Add( SOLO_FB__DOLLAR____DigitalOutput__, SOLO_FB__DOLLAR__ ); GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( GAIN__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( GAIN__DOLLAR____AnalogSerialInput__, GAIN__DOLLAR__ ); PAN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( PAN__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( PAN__DOLLAR____AnalogSerialInput__, PAN__DOLLAR__ ); INPUT__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( INPUT__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( INPUT__DOLLAR____AnalogSerialInput__, INPUT__DOLLAR__ ); AUX__DOLLAR__ = new InOutArray<AnalogInput>( 4, this ); for( uint i = 0; i < 4; i++ ) { AUX__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( AUX__DOLLAR____AnalogSerialInput__ + i, AUX__DOLLAR____AnalogSerialInput__, this ); m_AnalogInputList.Add( AUX__DOLLAR____AnalogSerialInput__ + i, AUX__DOLLAR__[i+1] ); } GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( GAIN_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( GAIN_FB__DOLLAR____AnalogSerialOutput__, GAIN_FB__DOLLAR__ ); PAN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( PAN_FB__DOLLAR____AnalogSerialOutput__, this ); m_AnalogOutputList.Add( PAN_FB__DOLLAR____AnalogSerialOutput__, PAN_FB__DOLLAR__ ); AUX_FB__DOLLAR__ = new InOutArray<AnalogOutput>( 4, this ); for( uint i = 0; i < 4; i++ ) { AUX_FB__DOLLAR__[i+1] = new Crestron.Logos.SplusObjects.AnalogOutput( AUX_FB__DOLLAR____AnalogSerialOutput__ + i, this ); m_AnalogOutputList.Add( AUX_FB__DOLLAR____AnalogSerialOutput__ + i, AUX_FB__DOLLAR__[i+1] ); } TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TX__DOLLAR____AnalogSerialOutput__, this ); m_StringOutputList.Add( TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__ ); RX__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput( RX__DOLLAR____AnalogSerialInput__, 400, this ); m_StringInputList.Add( RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__ ); OBJECTID__DOLLAR__ = new StringParameter( OBJECTID__DOLLAR____Parameter__, this ); m_ParameterList.Add( OBJECTID__DOLLAR____Parameter__, OBJECTID__DOLLAR__ ); __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction( __SPLS_TMPVAR__WAITLABEL_0___CallbackFn ); MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( MUTE__DOLLAR___OnPush_0, false ) ); UNMUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( UNMUTE__DOLLAR___OnPush_1, false ) ); POLARITYON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( POLARITYON__DOLLAR___OnPush_2, false ) ); POLARITYOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( POLARITYOFF__DOLLAR___OnPush_3, false ) ); SOLOON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SOLOON__DOLLAR___OnPush_4, false ) ); SOLOOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SOLOOFF__DOLLAR___OnPush_5, false ) ); ROUTETOGROUP1ON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP1ON__DOLLAR___OnPush_6, false ) ); ROUTETOGROUP2ON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP2ON__DOLLAR___OnPush_7, false ) ); ROUTETOGROUP3ON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP3ON__DOLLAR___OnPush_8, false ) ); ROUTETOGROUP4ON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP4ON__DOLLAR___OnPush_9, false ) ); ROUTETOGROUP1OFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP1OFF__DOLLAR___OnPush_10, false ) ); ROUTETOGROUP2OFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP2OFF__DOLLAR___OnPush_11, false ) ); ROUTETOGROUP3OFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP3OFF__DOLLAR___OnPush_12, false ) ); ROUTETOGROUP4OFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( ROUTETOGROUP4OFF__DOLLAR___OnPush_13, false ) ); GAIN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( GAIN__DOLLAR___OnChange_14, false ) ); PAN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( PAN__DOLLAR___OnChange_15, false ) ); for( uint i = 0; i < 4; i++ ) AUX__DOLLAR__[i+1].OnAnalogChange.Add( new InputChangeHandlerWrapper( AUX__DOLLAR___OnChange_16, false ) ); SUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SUBSCRIBE__DOLLAR___OnPush_17, false ) ); UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( UNSUBSCRIBE__DOLLAR___OnPush_18, false ) ); INPUT__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( INPUT__DOLLAR___OnChange_19, false ) ); RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_20, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { SocketInfo __socketinfo__ = new SocketInfo( 1, this ); InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName; _SplusNVRAM = new SplusNVRAM( this ); PROCESS = new Crestron.Logos.SplusObjects.DigitalInput( PROCESS__DigitalInput__, this ); m_DigitalInputList.Add( PROCESS__DigitalInput__, PROCESS ); ROOMNAMEVALID = new Crestron.Logos.SplusObjects.DigitalOutput( ROOMNAMEVALID__DigitalOutput__, this ); m_DigitalOutputList.Add( ROOMNAMEVALID__DigitalOutput__, ROOMNAMEVALID ); GROUPSINITIALIZED = new Crestron.Logos.SplusObjects.DigitalOutput( GROUPSINITIALIZED__DigitalOutput__, this ); m_DigitalOutputList.Add( GROUPSINITIALIZED__DigitalOutput__, GROUPSINITIALIZED ); ROOMOUT = new InOutArray<DigitalOutput>( 72, this ); for( uint i = 0; i < 72; i++ ) { ROOMOUT[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( ROOMOUT__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( ROOMOUT__DigitalOutput__ + i, ROOMOUT[i+1] ); } CURRENTGROUP = new Crestron.Logos.SplusObjects.AnalogOutput( CURRENTGROUP__AnalogSerialOutput__, this ); m_AnalogOutputList.Add( CURRENTGROUP__AnalogSerialOutput__, CURRENTGROUP ); GROUPNAMESIN = new InOutArray<StringInput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPNAMESIN[i+1] = new Crestron.Logos.SplusObjects.StringInput( GROUPNAMESIN__AnalogSerialInput__ + i, GROUPNAMESIN__AnalogSerialInput__, 32, this ); m_StringInputList.Add( GROUPNAMESIN__AnalogSerialInput__ + i, GROUPNAMESIN[i+1] ); } GROUPLISTIN = new InOutArray<BufferInput>( 6, this ); for( uint i = 0; i < 6; i++ ) { GROUPLISTIN[i+1] = new Crestron.Logos.SplusObjects.BufferInput( GROUPLISTIN__AnalogSerialInput__ + i, GROUPLISTIN__AnalogSerialInput__, 300, this ); m_StringInputList.Add( GROUPLISTIN__AnalogSerialInput__ + i, GROUPLISTIN[i+1] ); } PROCESS.OnDigitalPush.Add( new InputChangeHandlerWrapper( PROCESS_OnPush_0, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }
public override void LogosSplusInitialize() { _SplusNVRAM = new SplusNVRAM( this ); SYSTEMINITIALIZED = new Crestron.Logos.SplusObjects.DigitalInput( SYSTEMINITIALIZED__DigitalInput__, this ); m_DigitalInputList.Add( SYSTEMINITIALIZED__DigitalInput__, SYSTEMINITIALIZED ); PROCESSINGCOMPLETE = new Crestron.Logos.SplusObjects.DigitalOutput( PROCESSINGCOMPLETE__DigitalOutput__, this ); m_DigitalOutputList.Add( PROCESSINGCOMPLETE__DigitalOutput__, PROCESSINGCOMPLETE ); ROOMLOCALLYENABLED = new InOutArray<DigitalOutput>( 72, this ); for( uint i = 0; i < 72; i++ ) { ROOMLOCALLYENABLED[i+1] = new Crestron.Logos.SplusObjects.DigitalOutput( ROOMLOCALLYENABLED__DigitalOutput__ + i, this ); m_DigitalOutputList.Add( ROOMLOCALLYENABLED__DigitalOutput__ + i, ROOMLOCALLYENABLED[i+1] ); } LISTPOSITION = new InOutArray<AnalogInput>( 72, this ); for( uint i = 0; i < 72; i++ ) { LISTPOSITION[i+1] = new Crestron.Logos.SplusObjects.AnalogInput( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION__AnalogSerialInput__, this ); m_AnalogInputList.Add( LISTPOSITION__AnalogSerialInput__ + i, LISTPOSITION[i+1] ); } SYSTEMINITIALIZED.OnDigitalPush.Add( new InputChangeHandlerWrapper( SYSTEMINITIALIZED_OnPush_0, false ) ); _SplusNVRAM.PopulateCustomAttributeList( true ); NVRAM = _SplusNVRAM; }