Example #1
0
        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()
        {
            _SplusNVRAM         = new SplusNVRAM(this);
            LOW_TIME__DOLLAR__  = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 10, this);
            HIGH_TIME__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 10, this);

            POWER_ON = new Crestron.Logos.SplusObjects.DigitalInput(POWER_ON__DigitalInput__, this);
            m_DigitalInputList.Add(POWER_ON__DigitalInput__, POWER_ON);

            WARMING_UP = new Crestron.Logos.SplusObjects.DigitalOutput(WARMING_UP__DigitalOutput__, this);
            m_DigitalOutputList.Add(WARMING_UP__DigitalOutput__, WARMING_UP);

            TIMER_ANA = new Crestron.Logos.SplusObjects.AnalogInput(TIMER_ANA__AnalogSerialInput__, this);
            m_AnalogInputList.Add(TIMER_ANA__AnalogSerialInput__, TIMER_ANA);

            SECONDS = new Crestron.Logos.SplusObjects.AnalogInput(SECONDS__AnalogSerialInput__, this);
            m_AnalogInputList.Add(SECONDS__AnalogSerialInput__, SECONDS);

            TIMER_HIGH_TIME = new Crestron.Logos.SplusObjects.StringOutput(TIMER_HIGH_TIME__AnalogSerialOutput__, this);
            m_StringOutputList.Add(TIMER_HIGH_TIME__AnalogSerialOutput__, TIMER_HIGH_TIME);

            TIMER_LOW_TIME = new Crestron.Logos.SplusObjects.StringOutput(TIMER_LOW_TIME__AnalogSerialOutput__, this);
            m_StringOutputList.Add(TIMER_LOW_TIME__AnalogSerialOutput__, TIMER_LOW_TIME);

            __SPLS_TMPVAR__WAITLABEL_1___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_1___CallbackFn);

            TIMER_ANA.OnAnalogChange.Add(new InputChangeHandlerWrapper(TIMER_ANA_OnChange_0, false));
            POWER_ON.OnDigitalPush.Add(new InputChangeHandlerWrapper(POWER_ON_OnPush_1, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #3
0
        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);
            _SplusNVRAM.RETURNSTRING = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, 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__);

            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__);

            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__);

            GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput(GAIN__DOLLAR____AnalogSerialInput__, this);
            m_AnalogInputList.Add(GAIN__DOLLAR____AnalogSerialInput__, GAIN__DOLLAR__);

            GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput(GAIN_FB__DOLLAR____AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(GAIN_FB__DOLLAR____AnalogSerialOutput__, GAIN_FB__DOLLAR__);

            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_1___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_1___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));
            GAIN__DOLLAR__.OnAnalogChange.Add(new InputChangeHandlerWrapper(GAIN__DOLLAR___OnChange_4, false));
            SUBSCRIBE__DOLLAR__.OnDigitalPush.Add(new InputChangeHandlerWrapper(SUBSCRIBE__DOLLAR___OnPush_5, false));
            UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add(new InputChangeHandlerWrapper(UNSUBSCRIBE__DOLLAR___OnPush_6, false));
            RX__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(RX__DOLLAR___OnChange_7, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #5
0
        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;
        }
Example #6
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);

            MUTEON = new Crestron.Logos.SplusObjects.DigitalInput(MUTEON__DigitalInput__, this);
            m_DigitalInputList.Add(MUTEON__DigitalInput__, MUTEON);

            MUTEOFF = new Crestron.Logos.SplusObjects.DigitalInput(MUTEOFF__DigitalInput__, this);
            m_DigitalInputList.Add(MUTEOFF__DigitalInput__, MUTEOFF);

            MUTETOGGLE = new Crestron.Logos.SplusObjects.DigitalInput(MUTETOGGLE__DigitalInput__, this);
            m_DigitalInputList.Add(MUTETOGGLE__DigitalInput__, MUTETOGGLE);

            VOLUMEUP = new Crestron.Logos.SplusObjects.DigitalInput(VOLUMEUP__DigitalInput__, this);
            m_DigitalInputList.Add(VOLUMEUP__DigitalInput__, VOLUMEUP);

            VOLUMEDOWN = new Crestron.Logos.SplusObjects.DigitalInput(VOLUMEDOWN__DigitalInput__, this);
            m_DigitalInputList.Add(VOLUMEDOWN__DigitalInput__, VOLUMEDOWN);

            MUTEISON = new Crestron.Logos.SplusObjects.DigitalOutput(MUTEISON__DigitalOutput__, this);
            m_DigitalOutputList.Add(MUTEISON__DigitalOutput__, MUTEISON);

            MUTEISOFF = new Crestron.Logos.SplusObjects.DigitalOutput(MUTEISOFF__DigitalOutput__, this);
            m_DigitalOutputList.Add(MUTEISOFF__DigitalOutput__, MUTEISOFF);

            VOLUME = new Crestron.Logos.SplusObjects.AnalogInput(VOLUME__AnalogSerialInput__, this);
            m_AnalogInputList.Add(VOLUME__AnalogSerialInput__, VOLUME);

            VOLUMEVALUE = new Crestron.Logos.SplusObjects.AnalogOutput(VOLUMEVALUE__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(VOLUMEVALUE__AnalogSerialOutput__, VOLUMEVALUE);

            VOLUMESTEP = new UShortParameter(VOLUMESTEP__Parameter__, this);
            m_ParameterList.Add(VOLUMESTEP__Parameter__, VOLUMESTEP);

            VOLUMEREPEATTIME = new UShortParameter(VOLUMEREPEATTIME__Parameter__, this);
            m_ParameterList.Add(VOLUMEREPEATTIME__Parameter__, VOLUMEREPEATTIME);

            COMPONENTNAME = new StringParameter(COMPONENTNAME__Parameter__, this);
            m_ParameterList.Add(COMPONENTNAME__Parameter__, COMPONENTNAME);

            VREPEAT_Callback = new WaitFunction(VREPEAT_CallbackFn);

            MUTEON.OnDigitalPush.Add(new InputChangeHandlerWrapper(MUTEON_OnPush_0, false));
            MUTEOFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(MUTEOFF_OnPush_1, false));
            MUTETOGGLE.OnDigitalPush.Add(new InputChangeHandlerWrapper(MUTETOGGLE_OnPush_2, false));
            VOLUMEUP.OnDigitalPush.Add(new InputChangeHandlerWrapper(VOLUMEUP_OnPush_3, false));
            VOLUMEUP.OnDigitalRelease.Add(new InputChangeHandlerWrapper(VOLUMEUP_OnRelease_4, false));
            VOLUMEDOWN.OnDigitalPush.Add(new InputChangeHandlerWrapper(VOLUMEDOWN_OnPush_5, false));
            VOLUMEDOWN.OnDigitalRelease.Add(new InputChangeHandlerWrapper(VOLUMEDOWN_OnRelease_6, false));
            VOLUME.OnAnalogChange.Add(new InputChangeHandlerWrapper(VOLUME_OnChange_7, true));

            _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);

            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__);

            ATTACK__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput(ATTACK__DOLLAR____AnalogSerialInput__, this);
            m_AnalogInputList.Add(ATTACK__DOLLAR____AnalogSerialInput__, ATTACK__DOLLAR__);

            RELEASE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput(RELEASE__DOLLAR____AnalogSerialInput__, this);
            m_AnalogInputList.Add(RELEASE__DOLLAR____AnalogSerialInput__, RELEASE__DOLLAR__);

            REFERENCE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput(REFERENCE__DOLLAR____AnalogSerialInput__, this);
            m_AnalogInputList.Add(REFERENCE__DOLLAR____AnalogSerialInput__, REFERENCE__DOLLAR__);

            ATTACK_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput(ATTACK_FB__DOLLAR____AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(ATTACK_FB__DOLLAR____AnalogSerialOutput__, ATTACK_FB__DOLLAR__);

            RELEASE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput(RELEASE_FB__DOLLAR____AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(RELEASE_FB__DOLLAR____AnalogSerialOutput__, RELEASE_FB__DOLLAR__);

            REFERENCE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput(REFERENCE_FB__DOLLAR____AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(REFERENCE_FB__DOLLAR____AnalogSerialOutput__, REFERENCE_FB__DOLLAR__);

            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);

            SUBSCRIBE__DOLLAR__.OnDigitalPush.Add(new InputChangeHandlerWrapper(SUBSCRIBE__DOLLAR___OnPush_0, false));
            UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add(new InputChangeHandlerWrapper(UNSUBSCRIBE__DOLLAR___OnPush_1, false));
            ATTACK__DOLLAR__.OnAnalogChange.Add(new InputChangeHandlerWrapper(ATTACK__DOLLAR___OnChange_2, false));
            RELEASE__DOLLAR__.OnAnalogChange.Add(new InputChangeHandlerWrapper(RELEASE__DOLLAR___OnChange_3, false));
            REFERENCE__DOLLAR__.OnAnalogChange.Add(new InputChangeHandlerWrapper(REFERENCE__DOLLAR___OnChange_4, false));
            RX__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(RX__DOLLAR___OnChange_5, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #8
0
        public Coroutine(Action action, IYieldBase condition, IPlugin owner, string name = null, bool infinity = true,
                         bool autoStart = true) : this(name, owner)
        {
            Running          = autoStart;
            Started          = DateTime.Now;
            Owner            = owner;
            TimeoutForAction = condition switch
            {
                WaitTime time => time.Milliseconds.ToString(),
                WaitRender render => render.HowManyRenderCountWait.ToString(),
                WaitRandom random => random.Timeout,
                WaitFunction _ => "Function -1",
                         _ => TimeoutForAction
            };

            Action    = action;
            Condition = condition;

            if (infinity)
            {
                IEnumerator CoroutineAction(Action a)
                {
                    yield return(YieldBase.RealWork);

                    while (true)
                    {
                        try
                        {
                            a?.Invoke();
                        }
                        catch (Exception e)
                        {
                            Console.WriteLine($"Coroutine {Name} in {OwnerName} error -> {e}");
                        }

                        Ticks++;
                        yield return(Condition.GetEnumerator());
                    }
                }

                _enumerator = CoroutineAction(action);
            }
            else
            {
                IEnumerator CoroutineAction(Action a)
                {
                    yield return(Condition.GetEnumerator());

                    a?.Invoke();
                    Ticks++;
                }

                _enumerator = CoroutineAction(action);
            }
        }
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM   = new SplusNVRAM(this);
            G_FILENAME    = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this);
            G_ARCHIVEFILE = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 50, this);
            G_LOGDATA     = new EVENTSTRUCT[51];
            for (uint i = 0; i < 51; i++)
            {
                G_LOGDATA [i] = new EVENTSTRUCT(this, true);
                G_LOGDATA [i].PopulateCustomAttributeList(false);
            }

            SCHEDSTARTLOG = new Crestron.Logos.SplusObjects.DigitalInput(SCHEDSTARTLOG__DigitalInput__, this);
            m_DigitalInputList.Add(SCHEDSTARTLOG__DigitalInput__, SCHEDSTARTLOG);

            SCHEDSTOPLOG = new Crestron.Logos.SplusObjects.DigitalInput(SCHEDSTOPLOG__DigitalInput__, this);
            m_DigitalInputList.Add(SCHEDSTOPLOG__DigitalInput__, SCHEDSTOPLOG);

            EXEC_CMD = new Crestron.Logos.SplusObjects.DigitalInput(EXEC_CMD__DigitalInput__, this);
            m_DigitalInputList.Add(EXEC_CMD__DigitalInput__, EXEC_CMD);

            NEWPROGLOAD = new Crestron.Logos.SplusObjects.DigitalInput(NEWPROGLOAD__DigitalInput__, this);
            m_DigitalInputList.Add(NEWPROGLOAD__DigitalInput__, NEWPROGLOAD);

            SCHEDULER_LOGSTATE = new Crestron.Logos.SplusObjects.DigitalOutput(SCHEDULER_LOGSTATE__DigitalOutput__, this);
            m_DigitalOutputList.Add(SCHEDULER_LOGSTATE__DigitalOutput__, SCHEDULER_LOGSTATE);

            PATH__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput(PATH__DOLLAR____AnalogSerialInput__, 30, this);
            m_StringInputList.Add(PATH__DOLLAR____AnalogSerialInput__, PATH__DOLLAR__);

            CMD_ARGS = new Crestron.Logos.SplusObjects.StringInput(CMD_ARGS__AnalogSerialInput__, 50, this);
            m_StringInputList.Add(CMD_ARGS__AnalogSerialInput__, CMD_ARGS);

            LOGEVENT = new Crestron.Logos.SplusObjects.StringInput(LOGEVENT__AnalogSerialInput__, 100, this);
            m_StringInputList.Add(LOGEVENT__AnalogSerialInput__, LOGEVENT);

            DISKCOMMAND = new Crestron.Logos.SplusObjects.StringOutput(DISKCOMMAND__AnalogSerialOutput__, this);
            m_StringOutputList.Add(DISKCOMMAND__AnalogSerialOutput__, DISKCOMMAND);

            DISKSPACE = new Crestron.Logos.SplusObjects.BufferInput(DISKSPACE__AnalogSerialInput__, 250, this);
            m_StringInputList.Add(DISKSPACE__AnalogSerialInput__, DISKSPACE);

            FILEWAIT_Callback = new WaitFunction(FILEWAIT_CallbackFn);

            LOGEVENT.OnSerialChange.Add(new InputChangeHandlerWrapper(LOGEVENT_OnChange_0, false));
            SCHEDSTARTLOG.OnDigitalPush.Add(new InputChangeHandlerWrapper(SCHEDSTARTLOG_OnPush_1, false));
            SCHEDSTOPLOG.OnDigitalPush.Add(new InputChangeHandlerWrapper(SCHEDSTOPLOG_OnPush_2, false));
            EXEC_CMD.OnDigitalPush.Add(new InputChangeHandlerWrapper(EXEC_CMD_OnPush_3, false));
            NEWPROGLOAD.OnDigitalPush.Add(new InputChangeHandlerWrapper(NEWPROGLOAD_OnPush_4, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #10
0
        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;
        }
Example #11
0
        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;
        }
Example #12
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);
            SDESIGNNAME = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 64, this);
            SDESIGNID   = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 64, this);

            CONNECTF = new Crestron.Logos.SplusObjects.DigitalInput(CONNECTF__DigitalInput__, this);
            m_DigitalInputList.Add(CONNECTF__DigitalInput__, CONNECTF);

            CONNECT = new Crestron.Logos.SplusObjects.DigitalOutput(CONNECT__DigitalOutput__, this);
            m_DigitalOutputList.Add(CONNECT__DigitalOutput__, CONNECT);

            CONNECTFTODEVICES = new Crestron.Logos.SplusObjects.DigitalOutput(CONNECTFTODEVICES__DigitalOutput__, this);
            m_DigitalOutputList.Add(CONNECTFTODEVICES__DigitalOutput__, CONNECTFTODEVICES);

            TOCLIENT = new Crestron.Logos.SplusObjects.StringOutput(TOCLIENT__AnalogSerialOutput__, this);
            m_StringOutputList.Add(TOCLIENT__AnalogSerialOutput__, TOCLIENT);

            TODEVICES = new Crestron.Logos.SplusObjects.StringOutput(TODEVICES__AnalogSerialOutput__, this);
            m_StringOutputList.Add(TODEVICES__AnalogSerialOutput__, TODEVICES);

            FROMCLIENT = new Crestron.Logos.SplusObjects.BufferInput(FROMCLIENT__AnalogSerialInput__, 10000, this);
            m_StringInputList.Add(FROMCLIENT__AnalogSerialInput__, FROMCLIENT);

            FROMDEVICES = new Crestron.Logos.SplusObjects.BufferInput(FROMDEVICES__AnalogSerialInput__, 10000, this);
            m_StringInputList.Add(FROMDEVICES__AnalogSerialInput__, FROMDEVICES);

            SPUSERNAME = new StringParameter(SPUSERNAME__Parameter__, this);
            m_ParameterList.Add(SPUSERNAME__Parameter__, SPUSERNAME);

            SPPIN = new StringParameter(SPPIN__Parameter__, this);
            m_ParameterList.Add(SPPIN__Parameter__, SPPIN);

            __SPLS_TMPVAR__WAITLABEL_1___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_1___CallbackFn);

            FROMCLIENT.OnSerialChange.Add(new InputChangeHandlerWrapper(FROMCLIENT_OnChange_0, true));
            FROMDEVICES.OnSerialChange.Add(new InputChangeHandlerWrapper(FROMDEVICES_OnChange_1, true));
            CONNECTF.OnDigitalPush.Add(new InputChangeHandlerWrapper(CONNECTF_OnPush_2, false));
            CONNECTF.OnDigitalRelease.Add(new InputChangeHandlerWrapper(CONNECTF_OnRelease_3, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #13
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM    = new SplusNVRAM(this);
            TEMP__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 100, this);

            RX_FROM_PROJ__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput(RX_FROM_PROJ__DOLLAR____AnalogSerialInput__, 50, this);
            m_StringInputList.Add(RX_FROM_PROJ__DOLLAR____AnalogSerialInput__, RX_FROM_PROJ__DOLLAR__);

            LAMP_HOURS = new Crestron.Logos.SplusObjects.StringOutput(LAMP_HOURS__AnalogSerialOutput__, this);
            m_StringOutputList.Add(LAMP_HOURS__AnalogSerialOutput__, LAMP_HOURS);

            __SPLS_TMPVAR__WAITLABEL_19___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_19___CallbackFn);

            RX_FROM_PROJ__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(RX_FROM_PROJ__DOLLAR___OnChange_0, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);

            I = new Crestron.Logos.SplusObjects.AnalogInput(I__AnalogSerialInput__, this);
            m_AnalogInputList.Add(I__AnalogSerialInput__, I);

            DELAY_TIME = new Crestron.Logos.SplusObjects.AnalogInput(DELAY_TIME__AnalogSerialInput__, this);
            m_AnalogInputList.Add(DELAY_TIME__AnalogSerialInput__, DELAY_TIME);

            O = new Crestron.Logos.SplusObjects.AnalogOutput(O__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(O__AnalogSerialOutput__, O);

            DELAYEDOUTPUT_Callback = new WaitFunction(DELAYEDOUTPUT_CallbackFn);

            I.OnAnalogChange.Add(new InputChangeHandlerWrapper(I_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);

            IN = new Crestron.Logos.SplusObjects.StringInput(IN__AnalogSerialInput__, 24, this);
            m_StringInputList.Add(IN__AnalogSerialInput__, IN);

            OUT = new Crestron.Logos.SplusObjects.StringOutput(OUT__AnalogSerialOutput__, this);
            m_StringOutputList.Add(OUT__AnalogSerialOutput__, OUT);

            FRIENDLYNAME = new StringParameter(FRIENDLYNAME__Parameter__, this);
            m_ParameterList.Add(FRIENDLYNAME__Parameter__, FRIENDLYNAME);

            __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_0___CallbackFn);

            IN.OnSerialChange.Add(new InputChangeHandlerWrapper(IN_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);
            MUTENAMES   = new CrestronString[31];
            for (uint i = 0; i < 31; i++)
            {
                MUTENAMES [i] = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 30, this);
            }
            VOLUMENAMES = new CrestronString[31];
            for (uint i = 0; i < 31; i++)
            {
                VOLUMENAMES [i] = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 30, this);
            }

            CONNECTED = new Crestron.Logos.SplusObjects.DigitalInput(CONNECTED__DigitalInput__, this);
            m_DigitalInputList.Add(CONNECTED__DigitalInput__, CONNECTED);

            POLL = new Crestron.Logos.SplusObjects.DigitalInput(POLL__DigitalInput__, this);
            m_DigitalInputList.Add(POLL__DigitalInput__, POLL);

            INVALIDATE = new Crestron.Logos.SplusObjects.DigitalInput(INVALIDATE__DigitalInput__, this);
            m_DigitalInputList.Add(INVALIDATE__DigitalInput__, INVALIDATE);

            MUTE_TOGGLE = new InOutArray <DigitalInput>(30, this);
            for (uint i = 0; i < 30; i++)
            {
                MUTE_TOGGLE[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(MUTE_TOGGLE__DigitalInput__ + i, MUTE_TOGGLE__DigitalInput__, this);
                m_DigitalInputList.Add(MUTE_TOGGLE__DigitalInput__ + i, MUTE_TOGGLE[i + 1]);
            }

            MUTE_ON = new InOutArray <DigitalInput>(30, this);
            for (uint i = 0; i < 30; i++)
            {
                MUTE_ON[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(MUTE_ON__DigitalInput__ + i, MUTE_ON__DigitalInput__, this);
                m_DigitalInputList.Add(MUTE_ON__DigitalInput__ + i, MUTE_ON[i + 1]);
            }

            MUTE_OFF = new InOutArray <DigitalInput>(30, this);
            for (uint i = 0; i < 30; i++)
            {
                MUTE_OFF[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(MUTE_OFF__DigitalInput__ + i, MUTE_OFF__DigitalInput__, this);
                m_DigitalInputList.Add(MUTE_OFF__DigitalInput__ + i, MUTE_OFF[i + 1]);
            }

            MUTE_FB = new InOutArray <DigitalOutput>(30, this);
            for (uint i = 0; i < 30; i++)
            {
                MUTE_FB[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(MUTE_FB__DigitalOutput__ + i, this);
                m_DigitalOutputList.Add(MUTE_FB__DigitalOutput__ + i, MUTE_FB[i + 1]);
            }

            VOLUME = new InOutArray <AnalogInput>(30, this);
            for (uint i = 0; i < 30; i++)
            {
                VOLUME[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(VOLUME__AnalogSerialInput__ + i, VOLUME__AnalogSerialInput__, this);
                m_AnalogInputList.Add(VOLUME__AnalogSerialInput__ + i, VOLUME[i + 1]);
            }

            VOLUME_FB = new InOutArray <AnalogOutput>(30, this);
            for (uint i = 0; i < 30; i++)
            {
                VOLUME_FB[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(VOLUME_FB__AnalogSerialOutput__ + i, this);
                m_AnalogOutputList.Add(VOLUME_FB__AnalogSerialOutput__ + i, VOLUME_FB[i + 1]);
            }

            RX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput(RX__DOLLAR____AnalogSerialInput__, 512, this);
            m_StringInputList.Add(RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__);

            CONTROLID = new InOutArray <StringInput>(30, this);
            for (uint i = 0; i < 30; i++)
            {
                CONTROLID[i + 1] = new Crestron.Logos.SplusObjects.StringInput(CONTROLID__AnalogSerialInput__ + i, CONTROLID__AnalogSerialInput__, 20, this);
                m_StringInputList.Add(CONTROLID__AnalogSerialInput__ + i, CONTROLID[i + 1]);
            }

            TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(TX__DOLLAR____AnalogSerialOutput__, this);
            m_StringOutputList.Add(TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__);

            CHANGEGROUP_ID = new UShortParameter(CHANGEGROUP_ID__Parameter__, this);
            m_ParameterList.Add(CHANGEGROUP_ID__Parameter__, CHANGEGROUP_ID);

            DELAYEDPOLLMUTE_Callback   = new WaitFunction(DELAYEDPOLLMUTE_CallbackFn);
            DELAYEDPOLLVOLUME_Callback = new WaitFunction(DELAYEDPOLLVOLUME_CallbackFn);

            for (uint i = 0; i < 30; i++)
            {
                MUTE_TOGGLE[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(MUTE_TOGGLE_OnPush_0, false));
            }

            for (uint i = 0; i < 30; i++)
            {
                MUTE_ON[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(MUTE_ON_OnPush_1, false));
            }

            for (uint i = 0; i < 30; i++)
            {
                MUTE_OFF[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(MUTE_OFF_OnPush_2, false));
            }

            for (uint i = 0; i < 30; i++)
            {
                VOLUME[i + 1].OnAnalogChange.Add(new InputChangeHandlerWrapper(VOLUME_OnChange_3, false));
            }

            RX__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(RX__DOLLAR___OnChange_4, true));
            CONNECTED.OnDigitalPush.Add(new InputChangeHandlerWrapper(CONNECTED_OnPush_5, false));
            POLL.OnDigitalPush.Add(new InputChangeHandlerWrapper(POLL_OnPush_6, false));
            INVALIDATE.OnDigitalPush.Add(new InputChangeHandlerWrapper(INVALIDATE_OnPush_7, 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_3___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_3___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;
        }
Example #18
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);
            MAPPING     = new ushort[15];

            AL_PRESS = new InOutArray <DigitalInput>(14, this);
            for (uint i = 0; i < 14; i++)
            {
                AL_PRESS[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(AL_PRESS__DigitalInput__ + i, AL_PRESS__DigitalInput__, this);
                m_DigitalInputList.Add(AL_PRESS__DigitalInput__ + i, AL_PRESS[i + 1]);
            }

            AL_ENABLE = new InOutArray <DigitalInput>(14, this);
            for (uint i = 0; i < 14; i++)
            {
                AL_ENABLE[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(AL_ENABLE__DigitalInput__ + i, AL_ENABLE__DigitalInput__, this);
                m_DigitalInputList.Add(AL_ENABLE__DigitalInput__ + i, AL_ENABLE[i + 1]);
            }

            AL_PRESS_OUT = new InOutArray <DigitalOutput>(14, this);
            for (uint i = 0; i < 14; i++)
            {
                AL_PRESS_OUT[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(AL_PRESS_OUT__DigitalOutput__ + i, this);
                m_DigitalOutputList.Add(AL_PRESS_OUT__DigitalOutput__ + i, AL_PRESS_OUT[i + 1]);
            }

            AL_ENABLE_OUT = new InOutArray <DigitalOutput>(14, this);
            for (uint i = 0; i < 14; i++)
            {
                AL_ENABLE_OUT[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(AL_ENABLE_OUT__DigitalOutput__ + i, this);
                m_DigitalOutputList.Add(AL_ENABLE_OUT__DigitalOutput__ + i, AL_ENABLE_OUT[i + 1]);
            }

            AL_BLANKICON = new Crestron.Logos.SplusObjects.AnalogInput(AL_BLANKICON__AnalogSerialInput__, this);
            m_AnalogInputList.Add(AL_BLANKICON__AnalogSerialInput__, AL_BLANKICON);

            AL_SIZE = new Crestron.Logos.SplusObjects.AnalogInput(AL_SIZE__AnalogSerialInput__, this);
            m_AnalogInputList.Add(AL_SIZE__AnalogSerialInput__, AL_SIZE);

            AL_ICON = new InOutArray <AnalogInput>(14, this);
            for (uint i = 0; i < 14; i++)
            {
                AL_ICON[i + 1] = new Crestron.Logos.SplusObjects.AnalogInput(AL_ICON__AnalogSerialInput__ + i, AL_ICON__AnalogSerialInput__, this);
                m_AnalogInputList.Add(AL_ICON__AnalogSerialInput__ + i, AL_ICON[i + 1]);
            }

            AL_SIZE_OUT = new Crestron.Logos.SplusObjects.AnalogOutput(AL_SIZE_OUT__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(AL_SIZE_OUT__AnalogSerialOutput__, AL_SIZE_OUT);

            AL_ICON_OUT = new InOutArray <AnalogOutput>(14, this);
            for (uint i = 0; i < 14; i++)
            {
                AL_ICON_OUT[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(AL_ICON_OUT__AnalogSerialOutput__ + i, this);
                m_AnalogOutputList.Add(AL_ICON_OUT__AnalogSerialOutput__ + i, AL_ICON_OUT[i + 1]);
            }

            ALIGNMENT = new UShortParameter(ALIGNMENT__Parameter__, this);
            m_ParameterList.Add(ALIGNMENT__Parameter__, ALIGNMENT);

            LIST_SIZE = new UShortParameter(LIST_SIZE__Parameter__, this);
            m_ParameterList.Add(LIST_SIZE__Parameter__, LIST_SIZE);

            REQUPDATE_Callback = new WaitFunction(REQUPDATE_CallbackFn);

            AL_SIZE.OnAnalogChange.Add(new InputChangeHandlerWrapper(AL_SIZE_OnChange_0, false));
            for (uint i = 0; i < 14; i++)
            {
                AL_ENABLE[i + 1].OnDigitalChange.Add(new InputChangeHandlerWrapper(AL_ENABLE_OnChange_1, false));
            }

            for (uint i = 0; i < 14; i++)
            {
                AL_PRESS[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(AL_PRESS_OnPush_2, false));
            }


            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #19
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);

            SENSORIN = new Crestron.Logos.SplusObjects.DigitalInput(SENSORIN__DigitalInput__, this);
            m_DigitalInputList.Add(SENSORIN__DigitalInput__, SENSORIN);

            FORCEOCCUPANCY = new Crestron.Logos.SplusObjects.DigitalInput(FORCEOCCUPANCY__DigitalInput__, this);
            m_DigitalInputList.Add(FORCEOCCUPANCY__DigitalInput__, FORCEOCCUPANCY);

            FORCEVACANCY = new Crestron.Logos.SplusObjects.DigitalInput(FORCEVACANCY__DigitalInput__, this);
            m_DigitalInputList.Add(FORCEVACANCY__DigitalInput__, FORCEVACANCY);

            TESTMODEHELD = new Crestron.Logos.SplusObjects.DigitalInput(TESTMODEHELD__DigitalInput__, this);
            m_DigitalInputList.Add(TESTMODEHELD__DigitalInput__, TESTMODEHELD);

            OCCUPIEDHELD = new Crestron.Logos.SplusObjects.DigitalOutput(OCCUPIEDHELD__DigitalOutput__, this);
            m_DigitalOutputList.Add(OCCUPIEDHELD__DigitalOutput__, OCCUPIEDHELD);

            OCCUPANCYENABLEFB = new Crestron.Logos.SplusObjects.DigitalOutput(OCCUPANCYENABLEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(OCCUPANCYENABLEFB__DigitalOutput__, OCCUPANCYENABLEFB);

            OCCUPANCYDISABLEFB = new Crestron.Logos.SplusObjects.DigitalOutput(OCCUPANCYDISABLEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(OCCUPANCYDISABLEFB__DigitalOutput__, OCCUPANCYDISABLEFB);

            VACANCYENABLEFB = new Crestron.Logos.SplusObjects.DigitalOutput(VACANCYENABLEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(VACANCYENABLEFB__DigitalOutput__, VACANCYENABLEFB);

            VACANCYDISABLEFB = new Crestron.Logos.SplusObjects.DigitalOutput(VACANCYDISABLEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(VACANCYDISABLEFB__DigitalOutput__, VACANCYDISABLEFB);

            OCCUPIEDP = new Crestron.Logos.SplusObjects.DigitalOutput(OCCUPIEDP__DigitalOutput__, this);
            m_DigitalOutputList.Add(OCCUPIEDP__DigitalOutput__, OCCUPIEDP);

            VACANTP = new Crestron.Logos.SplusObjects.DigitalOutput(VACANTP__DigitalOutput__, this);
            m_DigitalOutputList.Add(VACANTP__DigitalOutput__, VACANTP);

            TIMEOUTSECONDS = new Crestron.Logos.SplusObjects.AnalogInput(TIMEOUTSECONDS__AnalogSerialInput__, this);
            m_AnalogInputList.Add(TIMEOUTSECONDS__AnalogSerialInput__, TIMEOUTSECONDS);

            TIMEOUTTENTHS = new Crestron.Logos.SplusObjects.AnalogInput(TIMEOUTTENTHS__AnalogSerialInput__, this);
            m_AnalogInputList.Add(TIMEOUTTENTHS__AnalogSerialInput__, TIMEOUTTENTHS);

            OCCENABLEDISABLE = new Crestron.Logos.SplusObjects.AnalogInput(OCCENABLEDISABLE__AnalogSerialInput__, this);
            m_AnalogInputList.Add(OCCENABLEDISABLE__AnalogSerialInput__, OCCENABLEDISABLE);

            VACENABLEDISABLE = new Crestron.Logos.SplusObjects.AnalogInput(VACENABLEDISABLE__AnalogSerialInput__, this);
            m_AnalogInputList.Add(VACENABLEDISABLE__AnalogSerialInput__, VACENABLEDISABLE);

            TIMEOUTSECONDSFB = new Crestron.Logos.SplusObjects.AnalogOutput(TIMEOUTSECONDSFB__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(TIMEOUTSECONDSFB__AnalogSerialOutput__, TIMEOUTSECONDSFB);

            TIMEOUTTENTHSFB = new Crestron.Logos.SplusObjects.AnalogOutput(TIMEOUTTENTHSFB__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(TIMEOUTTENTHSFB__AnalogSerialOutput__, TIMEOUTTENTHSFB);

            TIMEOUTTYPE = new UShortParameter(TIMEOUTTYPE__Parameter__, this);
            m_ParameterList.Add(TIMEOUTTYPE__Parameter__, TIMEOUTTYPE);

            VACWAIT_Callback = new WaitFunction(VACWAIT_CallbackFn);

            OCCENABLEDISABLE.OnAnalogChange.Add(new InputChangeHandlerWrapper(OCCENABLEDISABLE_OnChange_0, false));
            VACENABLEDISABLE.OnAnalogChange.Add(new InputChangeHandlerWrapper(VACENABLEDISABLE_OnChange_1, false));
            FORCEOCCUPANCY.OnDigitalPush.Add(new InputChangeHandlerWrapper(FORCEOCCUPANCY_OnPush_2, false));
            FORCEVACANCY.OnDigitalPush.Add(new InputChangeHandlerWrapper(FORCEVACANCY_OnPush_3, false));
            SENSORIN.OnDigitalPush.Add(new InputChangeHandlerWrapper(SENSORIN_OnPush_4, false));
            SENSORIN.OnDigitalRelease.Add(new InputChangeHandlerWrapper(SENSORIN_OnRelease_5, false));
            TESTMODEHELD.OnDigitalPush.Add(new InputChangeHandlerWrapper(TESTMODEHELD_OnPush_6, false));
            TESTMODEHELD.OnDigitalRelease.Add(new InputChangeHandlerWrapper(TESTMODEHELD_OnRelease_7, false));
            TIMEOUTSECONDS.OnAnalogChange.Add(new InputChangeHandlerWrapper(TIMEOUTSECONDS_OnChange_8, false));
            TIMEOUTTENTHS.OnAnalogChange.Add(new InputChangeHandlerWrapper(TIMEOUTTENTHS_OnChange_9, 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);

            DEBUG_PRINT_OFFSET = new Crestron.Logos.SplusObjects.DigitalInput(DEBUG_PRINT_OFFSET__DigitalInput__, this);
            m_DigitalInputList.Add(DEBUG_PRINT_OFFSET__DigitalInput__, DEBUG_PRINT_OFFSET);

            INITIALIZE = new Crestron.Logos.SplusObjects.DigitalInput(INITIALIZE__DigitalInput__, this);
            m_DigitalInputList.Add(INITIALIZE__DigitalInput__, INITIALIZE);

            ROOMVIEW_ONLINE_FB = new Crestron.Logos.SplusObjects.DigitalInput(ROOMVIEW_ONLINE_FB__DigitalInput__, this);
            m_DigitalInputList.Add(ROOMVIEW_ONLINE_FB__DigitalInput__, ROOMVIEW_ONLINE_FB);

            NEED_AUTO_UPDATE_SYSTEM_FB = new Crestron.Logos.SplusObjects.DigitalOutput(NEED_AUTO_UPDATE_SYSTEM_FB__DigitalOutput__, this);
            m_DigitalOutputList.Add(NEED_AUTO_UPDATE_SYSTEM_FB__DigitalOutput__, NEED_AUTO_UPDATE_SYSTEM_FB);

            NEED_AUTO_UPDATE_PUSH_FB = new Crestron.Logos.SplusObjects.DigitalOutput(NEED_AUTO_UPDATE_PUSH_FB__DigitalOutput__, this);
            m_DigitalOutputList.Add(NEED_AUTO_UPDATE_PUSH_FB__DigitalOutput__, NEED_AUTO_UPDATE_PUSH_FB);

            NEED_AUTO_UPDATE_DATE_TIME_FB = new Crestron.Logos.SplusObjects.DigitalOutput(NEED_AUTO_UPDATE_DATE_TIME_FB__DigitalOutput__, this);
            m_DigitalOutputList.Add(NEED_AUTO_UPDATE_DATE_TIME_FB__DigitalOutput__, NEED_AUTO_UPDATE_DATE_TIME_FB);

            ROOMVIEW_ONLINE_FBD = new Crestron.Logos.SplusObjects.DigitalOutput(ROOMVIEW_ONLINE_FBD__DigitalOutput__, this);
            m_DigitalOutputList.Add(ROOMVIEW_ONLINE_FBD__DigitalOutput__, ROOMVIEW_ONLINE_FBD);

            CURRENT_TIME_HOUR = new Crestron.Logos.SplusObjects.AnalogInput(CURRENT_TIME_HOUR__AnalogSerialInput__, this);
            m_AnalogInputList.Add(CURRENT_TIME_HOUR__AnalogSerialInput__, CURRENT_TIME_HOUR);

            CURRENT_TIME_MINUTE = new Crestron.Logos.SplusObjects.AnalogInput(CURRENT_TIME_MINUTE__AnalogSerialInput__, this);
            m_AnalogInputList.Add(CURRENT_TIME_MINUTE__AnalogSerialInput__, CURRENT_TIME_MINUTE);

            AUTO_UPDATE_SYSTEM_HOUR = new Crestron.Logos.SplusObjects.AnalogInput(AUTO_UPDATE_SYSTEM_HOUR__AnalogSerialInput__, this);
            m_AnalogInputList.Add(AUTO_UPDATE_SYSTEM_HOUR__AnalogSerialInput__, AUTO_UPDATE_SYSTEM_HOUR);

            AUTO_UPDATE_PUSH_HOUR = new Crestron.Logos.SplusObjects.AnalogInput(AUTO_UPDATE_PUSH_HOUR__AnalogSerialInput__, this);
            m_AnalogInputList.Add(AUTO_UPDATE_PUSH_HOUR__AnalogSerialInput__, AUTO_UPDATE_PUSH_HOUR);

            AUTO_UPDATE_DATE_TIME_HOUR = new Crestron.Logos.SplusObjects.AnalogInput(AUTO_UPDATE_DATE_TIME_HOUR__AnalogSerialInput__, this);
            m_AnalogInputList.Add(AUTO_UPDATE_DATE_TIME_HOUR__AnalogSerialInput__, AUTO_UPDATE_DATE_TIME_HOUR);

            AUTO_UPDATE_SYSTEM_TIME__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(AUTO_UPDATE_SYSTEM_TIME__DOLLAR____AnalogSerialOutput__, this);
            m_StringOutputList.Add(AUTO_UPDATE_SYSTEM_TIME__DOLLAR____AnalogSerialOutput__, AUTO_UPDATE_SYSTEM_TIME__DOLLAR__);

            AUTO_UPDATE_PUSH_TIME__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(AUTO_UPDATE_PUSH_TIME__DOLLAR____AnalogSerialOutput__, this);
            m_StringOutputList.Add(AUTO_UPDATE_PUSH_TIME__DOLLAR____AnalogSerialOutput__, AUTO_UPDATE_PUSH_TIME__DOLLAR__);

            AUTO_UPDATE_DATE_TIME_TIME__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(AUTO_UPDATE_DATE_TIME_TIME__DOLLAR____AnalogSerialOutput__, this);
            m_StringOutputList.Add(AUTO_UPDATE_DATE_TIME_TIME__DOLLAR____AnalogSerialOutput__, AUTO_UPDATE_DATE_TIME_TIME__DOLLAR__);

            ROOMVIEWDELAY_Callback = new WaitFunction(ROOMVIEWDELAY_CallbackFn);

            DEBUG_PRINT_OFFSET.OnDigitalPush.Add(new InputChangeHandlerWrapper(DEBUG_PRINT_OFFSET_OnPush_0, false));
            INITIALIZE.OnDigitalPush.Add(new InputChangeHandlerWrapper(INITIALIZE_OnPush_1, false));
            ROOMVIEW_ONLINE_FB.OnDigitalPush.Add(new InputChangeHandlerWrapper(ROOMVIEW_ONLINE_FB_OnPush_2, false));
            ROOMVIEW_ONLINE_FB.OnDigitalRelease.Add(new InputChangeHandlerWrapper(ROOMVIEW_ONLINE_FB_OnRelease_3, false));
            CURRENT_TIME_MINUTE.OnAnalogChange.Add(new InputChangeHandlerWrapper(CURRENT_TIME_MINUTE_OnChange_4, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #21
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);
            _SplusNVRAM.PASSWORD_ENTERED__DOLLAR__     = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, this);
            _SplusNVRAM.NEW_PASSWORD__DOLLAR__         = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, this);
            _SplusNVRAM.NEW_PASSWORD_ENTERED__DOLLAR__ = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, this);
            _SplusNVRAM.PRIVATE_PASSWORD__DOLLAR__     = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, this);

            ENTER_PASSWORD = new Crestron.Logos.SplusObjects.DigitalInput(ENTER_PASSWORD__DigitalInput__, this);
            m_DigitalInputList.Add(ENTER_PASSWORD__DigitalInput__, ENTER_PASSWORD);

            CLEAR_NUMBER = new Crestron.Logos.SplusObjects.DigitalInput(CLEAR_NUMBER__DigitalInput__, this);
            m_DigitalInputList.Add(CLEAR_NUMBER__DigitalInput__, CLEAR_NUMBER);

            NEW_PASSWORD = new Crestron.Logos.SplusObjects.DigitalInput(NEW_PASSWORD__DigitalInput__, this);
            m_DigitalInputList.Add(NEW_PASSWORD__DigitalInput__, NEW_PASSWORD);

            EXIT_PASSWORD = new Crestron.Logos.SplusObjects.DigitalInput(EXIT_PASSWORD__DigitalInput__, this);
            m_DigitalInputList.Add(EXIT_PASSWORD__DigitalInput__, EXIT_PASSWORD);

            LOCK_PANEL = new Crestron.Logos.SplusObjects.DigitalInput(LOCK_PANEL__DigitalInput__, this);
            m_DigitalInputList.Add(LOCK_PANEL__DigitalInput__, LOCK_PANEL);

            ENTERNEEDED = new Crestron.Logos.SplusObjects.DigitalInput(ENTERNEEDED__DigitalInput__, this);
            m_DigitalInputList.Add(ENTERNEEDED__DigitalInput__, ENTERNEEDED);

            SHOWASTERISK = new Crestron.Logos.SplusObjects.DigitalInput(SHOWASTERISK__DigitalInput__, this);
            m_DigitalInputList.Add(SHOWASTERISK__DigitalInput__, SHOWASTERISK);

            PASSWORD_CORRECT = new Crestron.Logos.SplusObjects.DigitalOutput(PASSWORD_CORRECT__DigitalOutput__, this);
            m_DigitalOutputList.Add(PASSWORD_CORRECT__DigitalOutput__, PASSWORD_CORRECT);

            NEW_PASSWORD_FB = new Crestron.Logos.SplusObjects.DigitalOutput(NEW_PASSWORD_FB__DigitalOutput__, this);
            m_DigitalOutputList.Add(NEW_PASSWORD_FB__DigitalOutput__, NEW_PASSWORD_FB);

            NEW_PASSWORD_REQ = new Crestron.Logos.SplusObjects.DigitalOutput(NEW_PASSWORD_REQ__DigitalOutput__, this);
            m_DigitalOutputList.Add(NEW_PASSWORD_REQ__DigitalOutput__, NEW_PASSWORD_REQ);

            PANEL_LOCKED = new Crestron.Logos.SplusObjects.DigitalOutput(PANEL_LOCKED__DigitalOutput__, this);
            m_DigitalOutputList.Add(PANEL_LOCKED__DigitalOutput__, PANEL_LOCKED);

            PASSWORD_PAGE_FLIP = new Crestron.Logos.SplusObjects.DigitalOutput(PASSWORD_PAGE_FLIP__DigitalOutput__, this);
            m_DigitalOutputList.Add(PASSWORD_PAGE_FLIP__DigitalOutput__, PASSWORD_PAGE_FLIP);

            PASSWORD_NUMBER = new Crestron.Logos.SplusObjects.AnalogInput(PASSWORD_NUMBER__AnalogSerialInput__, this);
            m_AnalogInputList.Add(PASSWORD_NUMBER__AnalogSerialInput__, PASSWORD_NUMBER);

            PASSWORD_MAX_LEN = new Crestron.Logos.SplusObjects.AnalogInput(PASSWORD_MAX_LEN__AnalogSerialInput__, this);
            m_AnalogInputList.Add(PASSWORD_MAX_LEN__AnalogSerialInput__, PASSWORD_MAX_LEN);

            BACKDOOR_PASSWORD__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput(BACKDOOR_PASSWORD__DOLLAR____AnalogSerialInput__, 6, this);
            m_StringInputList.Add(BACKDOOR_PASSWORD__DOLLAR____AnalogSerialInput__, BACKDOOR_PASSWORD__DOLLAR__);

            PASSWORD_TXT__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(PASSWORD_TXT__DOLLAR____AnalogSerialOutput__, this);
            m_StringOutputList.Add(PASSWORD_TXT__DOLLAR____AnalogSerialOutput__, PASSWORD_TXT__DOLLAR__);

            __SPLS_TMPVAR__WAITLABEL_10___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_10___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_11___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_11___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_12___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_12___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_13___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_13___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_14___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_14___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_15___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_15___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_16___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_16___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_17___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_17___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_18___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_18___CallbackFn);

            ENTER_PASSWORD.OnDigitalPush.Add(new InputChangeHandlerWrapper(ENTER_PASSWORD_OnPush_0, false));
            CLEAR_NUMBER.OnDigitalPush.Add(new InputChangeHandlerWrapper(CLEAR_NUMBER_OnPush_1, false));
            EXIT_PASSWORD.OnDigitalPush.Add(new InputChangeHandlerWrapper(EXIT_PASSWORD_OnPush_2, false));
            NEW_PASSWORD.OnDigitalPush.Add(new InputChangeHandlerWrapper(NEW_PASSWORD_OnPush_3, false));
            LOCK_PANEL.OnDigitalPush.Add(new InputChangeHandlerWrapper(LOCK_PANEL_OnPush_4, false));
            PASSWORD_NUMBER.OnAnalogChange.Add(new InputChangeHandlerWrapper(PASSWORD_NUMBER_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 );
    _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__ );
    
    CHAN1_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN1_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN1_MUTE__DOLLAR____DigitalInput__, CHAN1_MUTE__DOLLAR__ );
    
    CHAN2_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN2_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN2_MUTE__DOLLAR____DigitalInput__, CHAN2_MUTE__DOLLAR__ );
    
    CHAN3_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN3_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN3_MUTE__DOLLAR____DigitalInput__, CHAN3_MUTE__DOLLAR__ );
    
    CHAN4_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN4_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN4_MUTE__DOLLAR____DigitalInput__, CHAN4_MUTE__DOLLAR__ );
    
    CHAN5_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN5_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN5_MUTE__DOLLAR____DigitalInput__, CHAN5_MUTE__DOLLAR__ );
    
    CHAN6_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN6_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN6_MUTE__DOLLAR____DigitalInput__, CHAN6_MUTE__DOLLAR__ );
    
    CHAN7_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN7_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN7_MUTE__DOLLAR____DigitalInput__, CHAN7_MUTE__DOLLAR__ );
    
    CHAN8_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHAN8_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHAN8_MUTE__DOLLAR____DigitalInput__, CHAN8_MUTE__DOLLAR__ );
    
    MASTEROUT_MUTE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( MASTEROUT_MUTE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( MASTEROUT_MUTE__DOLLAR____DigitalInput__, MASTEROUT_MUTE__DOLLAR__ );
    
    CHAN1_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN1_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN1_MUTE_FB__DOLLAR____DigitalOutput__, CHAN1_MUTE_FB__DOLLAR__ );
    
    CHAN2_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN2_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN2_MUTE_FB__DOLLAR____DigitalOutput__, CHAN2_MUTE_FB__DOLLAR__ );
    
    CHAN3_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN3_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN3_MUTE_FB__DOLLAR____DigitalOutput__, CHAN3_MUTE_FB__DOLLAR__ );
    
    CHAN4_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN4_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN4_MUTE_FB__DOLLAR____DigitalOutput__, CHAN4_MUTE_FB__DOLLAR__ );
    
    CHAN5_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN5_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN5_MUTE_FB__DOLLAR____DigitalOutput__, CHAN5_MUTE_FB__DOLLAR__ );
    
    CHAN6_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN6_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN6_MUTE_FB__DOLLAR____DigitalOutput__, CHAN6_MUTE_FB__DOLLAR__ );
    
    CHAN7_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN7_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN7_MUTE_FB__DOLLAR____DigitalOutput__, CHAN7_MUTE_FB__DOLLAR__ );
    
    CHAN8_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHAN8_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHAN8_MUTE_FB__DOLLAR____DigitalOutput__, CHAN8_MUTE_FB__DOLLAR__ );
    
    MASTEROUT_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( MASTEROUT_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( MASTEROUT_MUTE_FB__DOLLAR____DigitalOutput__, MASTEROUT_MUTE_FB__DOLLAR__ );
    
    CHAN_OFFSET__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN_OFFSET__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN_OFFSET__DOLLAR____AnalogSerialInput__, CHAN_OFFSET__DOLLAR__ );
    
    CHAN1_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN1_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN1_VOL__DOLLAR____AnalogSerialInput__, CHAN1_VOL__DOLLAR__ );
    
    CHAN2_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN2_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN2_VOL__DOLLAR____AnalogSerialInput__, CHAN2_VOL__DOLLAR__ );
    
    CHAN3_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN3_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN3_VOL__DOLLAR____AnalogSerialInput__, CHAN3_VOL__DOLLAR__ );
    
    CHAN4_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN4_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN4_VOL__DOLLAR____AnalogSerialInput__, CHAN4_VOL__DOLLAR__ );
    
    CHAN5_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN5_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN5_VOL__DOLLAR____AnalogSerialInput__, CHAN5_VOL__DOLLAR__ );
    
    CHAN6_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN6_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN6_VOL__DOLLAR____AnalogSerialInput__, CHAN6_VOL__DOLLAR__ );
    
    CHAN7_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN7_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN7_VOL__DOLLAR____AnalogSerialInput__, CHAN7_VOL__DOLLAR__ );
    
    CHAN8_VOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHAN8_VOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHAN8_VOL__DOLLAR____AnalogSerialInput__, CHAN8_VOL__DOLLAR__ );
    
    MASTERVOL__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( MASTERVOL__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( MASTERVOL__DOLLAR____AnalogSerialInput__, MASTERVOL__DOLLAR__ );
    
    CHAN1_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN1_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN1_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN1_VOL_FB__DOLLAR__ );
    
    CHAN2_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN2_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN2_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN2_VOL_FB__DOLLAR__ );
    
    CHAN3_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN3_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN3_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN3_VOL_FB__DOLLAR__ );
    
    CHAN4_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN4_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN4_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN4_VOL_FB__DOLLAR__ );
    
    CHAN5_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN5_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN5_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN5_VOL_FB__DOLLAR__ );
    
    CHAN6_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN6_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN6_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN6_VOL_FB__DOLLAR__ );
    
    CHAN7_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN7_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN7_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN7_VOL_FB__DOLLAR__ );
    
    CHAN8_VOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHAN8_VOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHAN8_VOL_FB__DOLLAR____AnalogSerialOutput__, CHAN8_VOL_FB__DOLLAR__ );
    
    MASTERVOL_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( MASTERVOL_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( MASTERVOL_FB__DOLLAR____AnalogSerialOutput__, MASTERVOL_FB__DOLLAR__ );
    
    RX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput( RX__DOLLAR____AnalogSerialInput__, 400, this );
    m_StringInputList.Add( RX__DOLLAR____AnalogSerialInput__, RX__DOLLAR__ );
    
    TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TX__DOLLAR____AnalogSerialOutput__, this );
    m_StringOutputList.Add( TX__DOLLAR____AnalogSerialOutput__, TX__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 ) );
    CHAN1_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN1_MUTE__DOLLAR___OnPush_3, false ) );
    CHAN1_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN1_MUTE__DOLLAR___OnRelease_4, false ) );
    CHAN2_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN2_MUTE__DOLLAR___OnPush_5, false ) );
    CHAN2_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN2_MUTE__DOLLAR___OnRelease_6, false ) );
    CHAN3_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN3_MUTE__DOLLAR___OnPush_7, false ) );
    CHAN3_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN3_MUTE__DOLLAR___OnRelease_8, false ) );
    CHAN4_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN4_MUTE__DOLLAR___OnPush_9, false ) );
    CHAN4_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN4_MUTE__DOLLAR___OnRelease_10, false ) );
    CHAN5_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN5_MUTE__DOLLAR___OnPush_11, false ) );
    CHAN5_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN5_MUTE__DOLLAR___OnRelease_12, false ) );
    CHAN6_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN6_MUTE__DOLLAR___OnPush_13, false ) );
    CHAN6_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN6_MUTE__DOLLAR___OnRelease_14, false ) );
    CHAN7_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN7_MUTE__DOLLAR___OnPush_15, false ) );
    CHAN7_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN7_MUTE__DOLLAR___OnRelease_16, false ) );
    CHAN8_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHAN8_MUTE__DOLLAR___OnPush_17, false ) );
    CHAN8_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( CHAN8_MUTE__DOLLAR___OnRelease_18, false ) );
    MASTEROUT_MUTE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( MASTEROUT_MUTE__DOLLAR___OnPush_19, false ) );
    MASTEROUT_MUTE__DOLLAR__.OnDigitalRelease.Add( new InputChangeHandlerWrapper( MASTEROUT_MUTE__DOLLAR___OnRelease_20, false ) );
    CHAN1_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN1_VOL__DOLLAR___OnChange_21, false ) );
    CHAN2_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN2_VOL__DOLLAR___OnChange_22, false ) );
    CHAN3_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN3_VOL__DOLLAR___OnChange_23, false ) );
    CHAN4_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN4_VOL__DOLLAR___OnChange_24, false ) );
    CHAN5_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN5_VOL__DOLLAR___OnChange_25, false ) );
    CHAN6_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN6_VOL__DOLLAR___OnChange_26, false ) );
    CHAN7_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN7_VOL__DOLLAR___OnChange_27, false ) );
    CHAN8_VOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHAN8_VOL__DOLLAR___OnChange_28, false ) );
    MASTERVOL__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( MASTERVOL__DOLLAR___OnChange_29, false ) );
    RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_30, false ) );
    
    _SplusNVRAM.PopulateCustomAttributeList( true );
    
    NVRAM = _SplusNVRAM;
    
}
Example #23
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);
            KEYIN       = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, this);

            KEY_0 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_0__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_0__DigitalInput__, KEY_0);

            KEY_1 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_1__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_1__DigitalInput__, KEY_1);

            KEY_2 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_2__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_2__DigitalInput__, KEY_2);

            KEY_3 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_3__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_3__DigitalInput__, KEY_3);

            KEY_4 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_4__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_4__DigitalInput__, KEY_4);

            KEY_5 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_5__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_5__DigitalInput__, KEY_5);

            KEY_6 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_6__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_6__DigitalInput__, KEY_6);

            KEY_7 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_7__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_7__DigitalInput__, KEY_7);

            KEY_8 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_8__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_8__DigitalInput__, KEY_8);

            KEY_9 = new Crestron.Logos.SplusObjects.DigitalInput(KEY_9__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_9__DigitalInput__, KEY_9);

            KEY_CLEAR = new Crestron.Logos.SplusObjects.DigitalInput(KEY_CLEAR__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_CLEAR__DigitalInput__, KEY_CLEAR);

            KEY_CANCEL = new Crestron.Logos.SplusObjects.DigitalInput(KEY_CANCEL__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_CANCEL__DigitalInput__, KEY_CANCEL);

            KEY_ENTER = new Crestron.Logos.SplusObjects.DigitalInput(KEY_ENTER__DigitalInput__, this);
            m_DigitalInputList.Add(KEY_ENTER__DigitalInput__, KEY_ENTER);

            DEFAULTFAVS = new Crestron.Logos.SplusObjects.DigitalInput(DEFAULTFAVS__DigitalInput__, this);
            m_DigitalInputList.Add(DEFAULTFAVS__DigitalInput__, DEFAULTFAVS);

            FAVREQ = new InOutArray <DigitalInput>(50, this);
            for (uint i = 0; i < 50; i++)
            {
                FAVREQ[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(FAVREQ__DigitalInput__ + i, FAVREQ__DigitalInput__, this);
                m_DigitalInputList.Add(FAVREQ__DigitalInput__ + i, FAVREQ[i + 1]);
            }

            SHOW_EDITOR_PAGE = new Crestron.Logos.SplusObjects.DigitalOutput(SHOW_EDITOR_PAGE__DigitalOutput__, this);
            m_DigitalOutputList.Add(SHOW_EDITOR_PAGE__DigitalOutput__, SHOW_EDITOR_PAGE);

            FAVRECALL = new InOutArray <DigitalOutput>(50, this);
            for (uint i = 0; i < 50; i++)
            {
                FAVRECALL[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(FAVRECALL__DigitalOutput__ + i, this);
                m_DigitalOutputList.Add(FAVRECALL__DigitalOutput__ + i, FAVRECALL[i + 1]);
            }

            KEYIN__POUND__ = new Crestron.Logos.SplusObjects.AnalogInput(KEYIN__POUND____AnalogSerialInput__, this);
            m_AnalogInputList.Add(KEYIN__POUND____AnalogSerialInput__, KEYIN__POUND__);

            KEYSTATUS__POUND__ = new Crestron.Logos.SplusObjects.AnalogOutput(KEYSTATUS__POUND____AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(KEYSTATUS__POUND____AnalogSerialOutput__, KEYSTATUS__POUND__);

            FAVOUT = new Crestron.Logos.SplusObjects.AnalogOutput(FAVOUT__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(FAVOUT__AnalogSerialOutput__, FAVOUT);

            FAVLISTSIZE__POUND__ = new Crestron.Logos.SplusObjects.AnalogOutput(FAVLISTSIZE__POUND____AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(FAVLISTSIZE__POUND____AnalogSerialOutput__, FAVLISTSIZE__POUND__);

            MLXIMAGE__POUND__ = new InOutArray <AnalogOutput>(50, this);
            for (uint i = 0; i < 50; i++)
            {
                MLXIMAGE__POUND__[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(MLXIMAGE__POUND____AnalogSerialOutput__ + i, this);
                m_AnalogOutputList.Add(MLXIMAGE__POUND____AnalogSerialOutput__ + i, MLXIMAGE__POUND__[i + 1]);
            }

            FAVCHAN__POUND__ = new InOutArray <AnalogOutput>(50, this);
            for (uint i = 0; i < 50; i++)
            {
                FAVCHAN__POUND__[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(FAVCHAN__POUND____AnalogSerialOutput__ + i, this);
                m_AnalogOutputList.Add(FAVCHAN__POUND____AnalogSerialOutput__ + i, FAVCHAN__POUND__[i + 1]);
            }

            KEYSTATUS = new Crestron.Logos.SplusObjects.StringOutput(KEYSTATUS__AnalogSerialOutput__, this);
            m_StringOutputList.Add(KEYSTATUS__AnalogSerialOutput__, KEYSTATUS);

            CHANNAME = new InOutArray <StringOutput>(50, this);
            for (uint i = 0; i < 50; i++)
            {
                CHANNAME[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(CHANNAME__AnalogSerialOutput__ + i, this);
                m_StringOutputList.Add(CHANNAME__AnalogSerialOutput__ + i, CHANNAME[i + 1]);
            }

            CHANURL = new InOutArray <StringOutput>(50, this);
            for (uint i = 0; i < 50; i++)
            {
                CHANURL[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(CHANURL__AnalogSerialOutput__ + i, this);
                m_StringOutputList.Add(CHANURL__AnalogSerialOutput__ + i, CHANURL[i + 1]);
            }

            FAVID = new UShortParameter(FAVID__Parameter__, this);
            m_ParameterList.Add(FAVID__Parameter__, FAVID);

            CHANDEFAULTS = new InOutArray <UShortParameter>(50, this);
            for (uint i = 0; i < 50; i++)
            {
                CHANDEFAULTS[i + 1] = new UShortParameter(CHANDEFAULTS__Parameter__ + i, CHANDEFAULTS__Parameter__, this);
                m_ParameterList.Add(CHANDEFAULTS__Parameter__ + i, CHANDEFAULTS[i + 1]);
            }

            PROVIDERID = new StringParameter(PROVIDERID__Parameter__, this);
            m_ParameterList.Add(PROVIDERID__Parameter__, PROVIDERID);

            PANDH_Callback = new WaitFunction(PANDH_CallbackFn);

            DEFAULTFAVS.OnDigitalPush.Add(new InputChangeHandlerWrapper(DEFAULTFAVS_OnPush_0, false));
            KEYIN__POUND__.OnAnalogChange.Add(new InputChangeHandlerWrapper(KEYIN__POUND___OnChange_1, false));
            for (uint i = 0; i < 50; i++)
            {
                FAVREQ[i + 1].OnDigitalPush.Add(new InputChangeHandlerWrapper(FAVREQ_OnPush_2, false));
            }

            for (uint i = 0; i < 50; i++)
            {
                FAVREQ[i + 1].OnDigitalRelease.Add(new InputChangeHandlerWrapper(FAVREQ_OnRelease_3, false));
            }

            KEY_ENTER.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_ENTER_OnPush_4, false));
            KEY_CANCEL.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_CANCEL_OnPush_5, false));
            KEY_CLEAR.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_CLEAR_OnPush_6, false));
            KEY_0.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_0_OnPush_7, false));
            KEY_1.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_1_OnPush_8, false));
            KEY_2.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_2_OnPush_9, false));
            KEY_3.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_3_OnPush_10, false));
            KEY_4.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_4_OnPush_11, false));
            KEY_5.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_5_OnPush_12, false));
            KEY_6.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_6_OnPush_13, false));
            KEY_7.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_7_OnPush_14, false));
            KEY_8.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_8_OnPush_15, false));
            KEY_9.OnDigitalPush.Add(new InputChangeHandlerWrapper(KEY_9_OnPush_16, 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 );
    _SplusNVRAM.TEMPSTRING  = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 40, this );
    _SplusNVRAM.STATEVARIABLE  = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 2, 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__ );
    
    VALUE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( VALUE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( VALUE__DOLLAR____AnalogSerialInput__, VALUE__DOLLAR__ );
    
    STATEVARIABLE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( STATEVARIABLE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( STATEVARIABLE__DOLLAR____AnalogSerialInput__, STATEVARIABLE__DOLLAR__ );
    
    VALUE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( VALUE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( VALUE_FB__DOLLAR____AnalogSerialOutput__, VALUE_FB__DOLLAR__ );
    
    OBJECTID__DOLLAR__ = new Crestron.Logos.SplusObjects.StringInput( OBJECTID__DOLLAR____AnalogSerialInput__, 3, this );
    m_StringInputList.Add( OBJECTID__DOLLAR____AnalogSerialInput__, OBJECTID__DOLLAR__ );
    
    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__ );
    
    __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction( __SPLS_TMPVAR__WAITLABEL_0___CallbackFn );
    
    STATEVARIABLE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( STATEVARIABLE__DOLLAR___OnChange_0, false ) );
    VALUE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( VALUE__DOLLAR___OnChange_1, false ) );
    SUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SUBSCRIBE__DOLLAR___OnPush_2, false ) );
    UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( UNSUBSCRIBE__DOLLAR___OnPush_3, false ) );
    RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_4, 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.WIDTH  = new ushort[ 102 ];
    _SplusNVRAM.FREQUENCY  = new ushort[ 102 ];
    _SplusNVRAM.RETURNSTRING  = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 4, this );
    _SplusNVRAM.TEMPSTRING  = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 40, this );
    _SplusNVRAM.NOTCH  = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 2, this );
    _SplusNVRAM.NEGATIVE  = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 2, this );
    _SplusNVRAM.BOOSTSTRING  = new CrestronString[ 102 ];
    for( uint i = 0; i < 102; i++ )
        _SplusNVRAM.BOOSTSTRING [i] = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, this );
    _SplusNVRAM.WIDTHSTRING  = new CrestronString[ 102 ];
    for( uint i = 0; i < 102; i++ )
        _SplusNVRAM.WIDTHSTRING [i] = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, this );
    _SplusNVRAM.FREQUENCYSTRING  = new CrestronString[ 102 ];
    for( uint i = 0; i < 102; i++ )
        _SplusNVRAM.FREQUENCYSTRING [i] = new CrestronString( Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 20, 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__ );
    
    BYPASS_ON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BYPASS_ON__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( BYPASS_ON__DOLLAR____DigitalInput__, BYPASS_ON__DOLLAR__ );
    
    BYPASS_OFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( BYPASS_OFF__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( BYPASS_OFF__DOLLAR____DigitalInput__, BYPASS_OFF__DOLLAR__ );
    
    BYPASS_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( BYPASS_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( BYPASS_FB__DOLLAR____DigitalOutput__, BYPASS_FB__DOLLAR__ );
    
    INPUT__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( INPUT__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( INPUT__DOLLAR____AnalogSerialInput__, INPUT__DOLLAR__ );
    
    BOOSTPERCENT__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( BOOSTPERCENT__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( BOOSTPERCENT__DOLLAR____AnalogSerialInput__, BOOSTPERCENT__DOLLAR__ );
    
    WIDTH__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( WIDTH__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( WIDTH__DOLLAR____AnalogSerialInput__, WIDTH__DOLLAR__ );
    
    FREQUENCY__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( FREQUENCY__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( FREQUENCY__DOLLAR____AnalogSerialInput__, FREQUENCY__DOLLAR__ );
    
    TYPE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( TYPE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( TYPE__DOLLAR____AnalogSerialInput__, TYPE__DOLLAR__ );
    
    SLOPE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( SLOPE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( SLOPE__DOLLAR____AnalogSerialInput__, SLOPE__DOLLAR__ );
    
    BOOSTPERCENT_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( BOOSTPERCENT_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( BOOSTPERCENT_FB__DOLLAR____AnalogSerialOutput__, BOOSTPERCENT_FB__DOLLAR__ );
    
    WIDTH_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( WIDTH_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( WIDTH_FB__DOLLAR____AnalogSerialOutput__, WIDTH_FB__DOLLAR__ );
    
    FREQUENCY_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( FREQUENCY_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( FREQUENCY_FB__DOLLAR____AnalogSerialOutput__, FREQUENCY_FB__DOLLAR__ );
    
    TYPE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( TYPE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( TYPE_FB__DOLLAR____AnalogSerialOutput__, TYPE_FB__DOLLAR__ );
    
    SLOPE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( SLOPE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( SLOPE_FB__DOLLAR____AnalogSerialOutput__, SLOPE_FB__DOLLAR__ );
    
    TX__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TX__DOLLAR____AnalogSerialOutput__, this );
    m_StringOutputList.Add( TX__DOLLAR____AnalogSerialOutput__, TX__DOLLAR__ );
    
    BOOSTSTRING_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( BOOSTSTRING_FB__DOLLAR____AnalogSerialOutput__, this );
    m_StringOutputList.Add( BOOSTSTRING_FB__DOLLAR____AnalogSerialOutput__, BOOSTSTRING_FB__DOLLAR__ );
    
    WIDTHSTRING_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( WIDTHSTRING_FB__DOLLAR____AnalogSerialOutput__, this );
    m_StringOutputList.Add( WIDTHSTRING_FB__DOLLAR____AnalogSerialOutput__, WIDTHSTRING_FB__DOLLAR__ );
    
    FREQUENCYSTRING_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( FREQUENCYSTRING_FB__DOLLAR____AnalogSerialOutput__, this );
    m_StringOutputList.Add( FREQUENCYSTRING_FB__DOLLAR____AnalogSerialOutput__, FREQUENCYSTRING_FB__DOLLAR__ );
    
    TYPESTRING_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( TYPESTRING_FB__DOLLAR____AnalogSerialOutput__, this );
    m_StringOutputList.Add( TYPESTRING_FB__DOLLAR____AnalogSerialOutput__, TYPESTRING_FB__DOLLAR__ );
    
    SLOPESTRING_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput( SLOPESTRING_FB__DOLLAR____AnalogSerialOutput__, this );
    m_StringOutputList.Add( SLOPESTRING_FB__DOLLAR____AnalogSerialOutput__, SLOPESTRING_FB__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 );
    
    BOOSTPERCENT__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( BOOSTPERCENT__DOLLAR___OnChange_0, false ) );
    WIDTH__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( WIDTH__DOLLAR___OnChange_1, false ) );
    FREQUENCY__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( FREQUENCY__DOLLAR___OnChange_2, false ) );
    TYPE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( TYPE__DOLLAR___OnChange_3, false ) );
    SLOPE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( SLOPE__DOLLAR___OnChange_4, false ) );
    BYPASS_ON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BYPASS_ON__DOLLAR___OnPush_5, false ) );
    BYPASS_OFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( BYPASS_OFF__DOLLAR___OnPush_6, false ) );
    SUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SUBSCRIBE__DOLLAR___OnPush_7, false ) );
    UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( UNSUBSCRIBE__DOLLAR___OnPush_8, false ) );
    INPUT__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( INPUT__DOLLAR___OnChange_9, false ) );
    RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_10, 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 );
    
    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__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__ );
    
    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__ );
    
    GAIN__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( GAIN__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( GAIN__DOLLAR____AnalogSerialInput__, GAIN__DOLLAR__ );
    
    INPUT__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( INPUT__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( INPUT__DOLLAR____AnalogSerialInput__, INPUT__DOLLAR__ );
    
    GAIN_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( GAIN_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( GAIN_FB__DOLLAR____AnalogSerialOutput__, GAIN_FB__DOLLAR__ );
    
    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 ) );
    GAIN__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( GAIN__DOLLAR___OnChange_4, false ) );
    SUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( SUBSCRIBE__DOLLAR___OnPush_5, false ) );
    UNSUBSCRIBE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( UNSUBSCRIBE__DOLLAR___OnPush_6, false ) );
    INPUT__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( INPUT__DOLLAR___OnChange_7, false ) );
    RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_8, false ) );
    
    _SplusNVRAM.PopulateCustomAttributeList( true );
    
    NVRAM = _SplusNVRAM;
    
}
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);

            THREEBUTTONUP = new Crestron.Logos.SplusObjects.DigitalInput(THREEBUTTONUP__DigitalInput__, this);
            m_DigitalInputList.Add(THREEBUTTONUP__DigitalInput__, THREEBUTTONUP);

            THREEBUTTONDOWN = new Crestron.Logos.SplusObjects.DigitalInput(THREEBUTTONDOWN__DigitalInput__, this);
            m_DigitalInputList.Add(THREEBUTTONDOWN__DigitalInput__, THREEBUTTONDOWN);

            THREEBUTTONSTOP = new Crestron.Logos.SplusObjects.DigitalInput(THREEBUTTONSTOP__DigitalInput__, this);
            m_DigitalInputList.Add(THREEBUTTONSTOP__DigitalInput__, THREEBUTTONSTOP);

            TWOBUTTONUP = new Crestron.Logos.SplusObjects.DigitalInput(TWOBUTTONUP__DigitalInput__, this);
            m_DigitalInputList.Add(TWOBUTTONUP__DigitalInput__, TWOBUTTONUP);

            TWOBUTTONDOWN = new Crestron.Logos.SplusObjects.DigitalInput(TWOBUTTONDOWN__DigitalInput__, this);
            m_DigitalInputList.Add(TWOBUTTONDOWN__DigitalInput__, TWOBUTTONDOWN);

            PRESETUP = new Crestron.Logos.SplusObjects.DigitalInput(PRESETUP__DigitalInput__, this);
            m_DigitalInputList.Add(PRESETUP__DigitalInput__, PRESETUP);

            PRESETDOWN = new Crestron.Logos.SplusObjects.DigitalInput(PRESETDOWN__DigitalInput__, this);
            m_DigitalInputList.Add(PRESETDOWN__DigitalInput__, PRESETDOWN);

            POLL = new Crestron.Logos.SplusObjects.DigitalInput(POLL__DigitalInput__, this);
            m_DigitalInputList.Add(POLL__DigitalInput__, POLL);

            GOTOPERCENTDOWN = new Crestron.Logos.SplusObjects.AnalogInput(GOTOPERCENTDOWN__AnalogSerialInput__, this);
            m_AnalogInputList.Add(GOTOPERCENTDOWN__AnalogSerialInput__, GOTOPERCENTDOWN);

            GOTOPRESET = new Crestron.Logos.SplusObjects.AnalogInput(GOTOPRESET__AnalogSerialInput__, this);
            m_AnalogInputList.Add(GOTOPRESET__AnalogSerialInput__, GOTOPRESET);

            CURRENTPOSITION = new Crestron.Logos.SplusObjects.AnalogOutput(CURRENTPOSITION__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(CURRENTPOSITION__AnalogSerialOutput__, CURRENTPOSITION);

            CURRENTPRESET = new Crestron.Logos.SplusObjects.AnalogOutput(CURRENTPRESET__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(CURRENTPRESET__AnalogSerialOutput__, CURRENTPRESET);

            CURTAINCONTROLLERPOSITION = new Crestron.Logos.SplusObjects.AnalogOutput(CURTAINCONTROLLERPOSITION__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(CURTAINCONTROLLERPOSITION__AnalogSerialOutput__, CURTAINCONTROLLERPOSITION);

            TOQUEUEMODULE = new Crestron.Logos.SplusObjects.StringOutput(TOQUEUEMODULE__AnalogSerialOutput__, this);
            m_StringOutputList.Add(TOQUEUEMODULE__AnalogSerialOutput__, TOQUEUEMODULE);

            FROMQUEUEMODULE = new Crestron.Logos.SplusObjects.BufferInput(FROMQUEUEMODULE__AnalogSerialInput__, 500, this);
            m_StringInputList.Add(FROMQUEUEMODULE__AnalogSerialInput__, FROMQUEUEMODULE);

            PARAMCRESTRONADDRESS = new StringParameter(PARAMCRESTRONADDRESS__Parameter__, this);
            m_ParameterList.Add(PARAMCRESTRONADDRESS__Parameter__, PARAMCRESTRONADDRESS);

            PARAMMOTORADDRESS = new StringParameter(PARAMMOTORADDRESS__Parameter__, this);
            m_ParameterList.Add(PARAMMOTORADDRESS__Parameter__, PARAMMOTORADDRESS);

            POLLWAIT_Callback = new WaitFunction(POLLWAIT_CallbackFn);

            THREEBUTTONUP.OnDigitalPush.Add(new InputChangeHandlerWrapper(THREEBUTTONUP_OnPush_0, false));
            THREEBUTTONDOWN.OnDigitalPush.Add(new InputChangeHandlerWrapper(THREEBUTTONDOWN_OnPush_1, false));
            THREEBUTTONSTOP.OnDigitalPush.Add(new InputChangeHandlerWrapper(THREEBUTTONSTOP_OnPush_2, false));
            TWOBUTTONUP.OnDigitalPush.Add(new InputChangeHandlerWrapper(TWOBUTTONUP_OnPush_3, false));
            TWOBUTTONDOWN.OnDigitalPush.Add(new InputChangeHandlerWrapper(TWOBUTTONDOWN_OnPush_4, false));
            TWOBUTTONUP.OnDigitalRelease.Add(new InputChangeHandlerWrapper(TWOBUTTONUP_OnRelease_5, false));
            TWOBUTTONDOWN.OnDigitalRelease.Add(new InputChangeHandlerWrapper(TWOBUTTONUP_OnRelease_5, false));
            GOTOPERCENTDOWN.OnAnalogChange.Add(new InputChangeHandlerWrapper(GOTOPERCENTDOWN_OnChange_6, false));
            PRESETUP.OnDigitalPush.Add(new InputChangeHandlerWrapper(PRESETUP_OnPush_7, false));
            PRESETDOWN.OnDigitalPush.Add(new InputChangeHandlerWrapper(PRESETDOWN_OnPush_8, false));
            POLL.OnDigitalPush.Add(new InputChangeHandlerWrapper(POLL_OnPush_9, false));
            GOTOPRESET.OnAnalogChange.Add(new InputChangeHandlerWrapper(GOTOPRESET_OnChange_10, false));
            FROMQUEUEMODULE.OnSerialChange.Add(new InputChangeHandlerWrapper(FROMQUEUEMODULE_OnChange_11, true));

            _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.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;
    
}
Example #31
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM          = new SplusNVRAM(this);
            G_FILENAME           = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 60, this);
            G_FILELOCATION       = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 60, this);
            G_TOTALFILE          = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 160, this);
            G_STEMP              = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 600, this);
            G_ROOMNAME_TXT       = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 60, this);
            G_ROOMNUMBER_TXT     = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 60, this);
            G_ROOMIP_TXT         = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 60, this);
            G_ROOMADDITIONAL_TXT = new CrestronString(Crestron.Logos.SplusObjects.CrestronStringEncoding.eEncodingASCII, 120, this);

            UPDATE_ROOM_INFO_B = new Crestron.Logos.SplusObjects.DigitalInput(UPDATE_ROOM_INFO_B__DigitalInput__, this);
            m_DigitalInputList.Add(UPDATE_ROOM_INFO_B__DigitalInput__, UPDATE_ROOM_INFO_B);

            ROOM_INFO_SAVE_B = new Crestron.Logos.SplusObjects.DigitalInput(ROOM_INFO_SAVE_B__DigitalInput__, this);
            m_DigitalInputList.Add(ROOM_INFO_SAVE_B__DigitalInput__, ROOM_INFO_SAVE_B);

            ROOM_INFO_UPDATE_BUSY_FB = new Crestron.Logos.SplusObjects.DigitalOutput(ROOM_INFO_UPDATE_BUSY_FB__DigitalOutput__, this);
            m_DigitalOutputList.Add(ROOM_INFO_UPDATE_BUSY_FB__DigitalOutput__, ROOM_INFO_UPDATE_BUSY_FB);

            ROOM_INFO_SAVE_BUSY_FB = new Crestron.Logos.SplusObjects.DigitalOutput(ROOM_INFO_SAVE_BUSY_FB__DigitalOutput__, this);
            m_DigitalOutputList.Add(ROOM_INFO_SAVE_BUSY_FB__DigitalOutput__, ROOM_INFO_SAVE_BUSY_FB);

            ROOM_INFO_SAVE_COMPLETE_PULSE = new Crestron.Logos.SplusObjects.DigitalOutput(ROOM_INFO_SAVE_COMPLETE_PULSE__DigitalOutput__, this);
            m_DigitalOutputList.Add(ROOM_INFO_SAVE_COMPLETE_PULSE__DigitalOutput__, ROOM_INFO_SAVE_COMPLETE_PULSE);

            ROOMNAME_SAVE = new Crestron.Logos.SplusObjects.StringInput(ROOMNAME_SAVE__AnalogSerialInput__, 60, this);
            m_StringInputList.Add(ROOMNAME_SAVE__AnalogSerialInput__, ROOMNAME_SAVE);

            ROOMNUMBER_SAVE = new Crestron.Logos.SplusObjects.StringInput(ROOMNUMBER_SAVE__AnalogSerialInput__, 60, this);
            m_StringInputList.Add(ROOMNUMBER_SAVE__AnalogSerialInput__, ROOMNUMBER_SAVE);

            ROOMIP_SAVE = new Crestron.Logos.SplusObjects.StringInput(ROOMIP_SAVE__AnalogSerialInput__, 60, this);
            m_StringInputList.Add(ROOMIP_SAVE__AnalogSerialInput__, ROOMIP_SAVE);

            ROOMADDITIONAL_SAVE = new Crestron.Logos.SplusObjects.StringInput(ROOMADDITIONAL_SAVE__AnalogSerialInput__, 120, this);
            m_StringInputList.Add(ROOMADDITIONAL_SAVE__AnalogSerialInput__, ROOMADDITIONAL_SAVE);

            FILENAME = new Crestron.Logos.SplusObjects.StringInput(FILENAME__AnalogSerialInput__, 60, this);
            m_StringInputList.Add(FILENAME__AnalogSerialInput__, FILENAME);

            FILELOCATION = new Crestron.Logos.SplusObjects.StringInput(FILELOCATION__AnalogSerialInput__, 60, this);
            m_StringInputList.Add(FILELOCATION__AnalogSerialInput__, FILELOCATION);

            ROOM_NAME = new Crestron.Logos.SplusObjects.StringOutput(ROOM_NAME__AnalogSerialOutput__, this);
            m_StringOutputList.Add(ROOM_NAME__AnalogSerialOutput__, ROOM_NAME);

            ROOM_NUMBER = new Crestron.Logos.SplusObjects.StringOutput(ROOM_NUMBER__AnalogSerialOutput__, this);
            m_StringOutputList.Add(ROOM_NUMBER__AnalogSerialOutput__, ROOM_NUMBER);

            ROOM_IP = new Crestron.Logos.SplusObjects.StringOutput(ROOM_IP__AnalogSerialOutput__, this);
            m_StringOutputList.Add(ROOM_IP__AnalogSerialOutput__, ROOM_IP);

            ROOM_ADDITIONAL = new Crestron.Logos.SplusObjects.StringOutput(ROOM_ADDITIONAL__AnalogSerialOutput__, this);
            m_StringOutputList.Add(ROOM_ADDITIONAL__AnalogSerialOutput__, ROOM_ADDITIONAL);

            DEBUGMODE = new UShortParameter(DEBUGMODE__Parameter__, this);
            m_ParameterList.Add(DEBUGMODE__Parameter__, DEBUGMODE);

            __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_0___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_1___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_1___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_2___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_2___CallbackFn);

            FILENAME.OnSerialChange.Add(new InputChangeHandlerWrapper(FILENAME_OnChange_0, false));
            FILELOCATION.OnSerialChange.Add(new InputChangeHandlerWrapper(FILELOCATION_OnChange_1, false));
            UPDATE_ROOM_INFO_B.OnDigitalPush.Add(new InputChangeHandlerWrapper(UPDATE_ROOM_INFO_B_OnPush_2, false));
            ROOM_INFO_SAVE_B.OnDigitalPush.Add(new InputChangeHandlerWrapper(ROOM_INFO_SAVE_B_OnPush_3, false));
            ROOMNAME_SAVE.OnSerialChange.Add(new InputChangeHandlerWrapper(ROOMNAME_SAVE_OnChange_4, false));
            ROOMNUMBER_SAVE.OnSerialChange.Add(new InputChangeHandlerWrapper(ROOMNUMBER_SAVE_OnChange_5, false));
            ROOMIP_SAVE.OnSerialChange.Add(new InputChangeHandlerWrapper(ROOMIP_SAVE_OnChange_6, false));
            ROOMADDITIONAL_SAVE.OnSerialChange.Add(new InputChangeHandlerWrapper(ROOMADDITIONAL_SAVE_OnChange_7, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #32
0
        public override void LogosSplusInitialize()
        {
            SocketInfo __socketinfo__ = new SocketInfo(1, this);

            InitialParametersClass.ResolveHostName = __socketinfo__.ResolveHostName;
            _SplusNVRAM        = new SplusNVRAM(this);
            _SplusNVRAM.PRESET = new SPRESET[11];
            for (uint i = 0; i < 11; i++)
            {
                _SplusNVRAM.PRESET [i] = new SPRESET(this, false);
            }

            SHOWTIME = new Crestron.Logos.SplusObjects.DigitalInput(SHOWTIME__DigitalInput__, this);
            m_DigitalInputList.Add(SHOWTIME__DigitalInput__, SHOWTIME);

            ALLOFF = new Crestron.Logos.SplusObjects.DigitalInput(ALLOFF__DigitalInput__, this);
            m_DigitalInputList.Add(ALLOFF__DigitalInput__, ALLOFF);

            ALLON = new Crestron.Logos.SplusObjects.DigitalInput(ALLON__DigitalInput__, this);
            m_DigitalInputList.Add(ALLON__DigitalInput__, ALLON);

            SLIDERRELEASE = new Crestron.Logos.SplusObjects.DigitalInput(SLIDERRELEASE__DigitalInput__, this);
            m_DigitalInputList.Add(SLIDERRELEASE__DigitalInput__, SLIDERRELEASE);

            RECALLPRESET = new InOutArray <DigitalInput>(10, this);
            for (uint i = 0; i < 10; i++)
            {
                RECALLPRESET[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(RECALLPRESET__DigitalInput__ + i, RECALLPRESET__DigitalInput__, this);
                m_DigitalInputList.Add(RECALLPRESET__DigitalInput__ + i, RECALLPRESET[i + 1]);
            }

            SAVEPRESET = new InOutArray <DigitalInput>(10, this);
            for (uint i = 0; i < 10; i++)
            {
                SAVEPRESET[i + 1] = new Crestron.Logos.SplusObjects.DigitalInput(SAVEPRESET__DigitalInput__ + i, SAVEPRESET__DigitalInput__, this);
                m_DigitalInputList.Add(SAVEPRESET__DigitalInput__ + i, SAVEPRESET[i + 1]);
            }

            SHOWTIMEFB = new Crestron.Logos.SplusObjects.DigitalOutput(SHOWTIMEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(SHOWTIMEFB__DigitalOutput__, SHOWTIMEFB);

            RED = new Crestron.Logos.SplusObjects.AnalogInput(RED__AnalogSerialInput__, this);
            m_AnalogInputList.Add(RED__AnalogSerialInput__, RED);

            GREEN = new Crestron.Logos.SplusObjects.AnalogInput(GREEN__AnalogSerialInput__, this);
            m_AnalogInputList.Add(GREEN__AnalogSerialInput__, GREEN);

            BLUE = new Crestron.Logos.SplusObjects.AnalogInput(BLUE__AnalogSerialInput__, this);
            m_AnalogInputList.Add(BLUE__AnalogSerialInput__, BLUE);

            FADETIME = new Crestron.Logos.SplusObjects.AnalogInput(FADETIME__AnalogSerialInput__, this);
            m_AnalogInputList.Add(FADETIME__AnalogSerialInput__, FADETIME);

            REDFB = new Crestron.Logos.SplusObjects.AnalogOutput(REDFB__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(REDFB__AnalogSerialOutput__, REDFB);

            GREENFB = new Crestron.Logos.SplusObjects.AnalogOutput(GREENFB__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(GREENFB__AnalogSerialOutput__, GREENFB);

            BLUEFB = new Crestron.Logos.SplusObjects.AnalogOutput(BLUEFB__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(BLUEFB__AnalogSerialOutput__, BLUEFB);

            FADETIMEFB = new Crestron.Logos.SplusObjects.AnalogOutput(FADETIMEFB__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(FADETIMEFB__AnalogSerialOutput__, FADETIMEFB);

            TODMX = new Crestron.Logos.SplusObjects.StringOutput(TODMX__AnalogSerialOutput__, this);
            m_StringOutputList.Add(TODMX__AnalogSerialOutput__, TODMX);

            FADETIMETEXT = new Crestron.Logos.SplusObjects.StringOutput(FADETIMETEXT__AnalogSerialOutput__, this);
            m_StringOutputList.Add(FADETIMETEXT__AnalogSerialOutput__, FADETIMETEXT);

            DMXID = new UShortParameter(DMXID__Parameter__, this);
            m_ParameterList.Add(DMXID__Parameter__, DMXID);

            __SPLS_TMPVAR__WAITLABEL_0___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_0___CallbackFn);
            SHOWTIMEWAIT_Callback = new WaitFunction(SHOWTIMEWAIT_CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_1___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_1___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_2___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_2___CallbackFn);
            __SPLS_TMPVAR__WAITLABEL_3___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_3___CallbackFn);

            FADETIME.OnAnalogChange.Add(new InputChangeHandlerWrapper(FADETIME_OnChange_0, false));
            SHOWTIME.OnDigitalPush.Add(new InputChangeHandlerWrapper(SHOWTIME_OnPush_1, false));
            SLIDERRELEASE.OnDigitalRelease.Add(new InputChangeHandlerWrapper(SLIDERRELEASE_OnRelease_2, false));
            ALLON.OnDigitalPush.Add(new InputChangeHandlerWrapper(ALLON_OnPush_3, false));
            ALLOFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(ALLOFF_OnPush_4, false));
            for (uint i = 0; i < 10; i++)
            {
                SAVEPRESET[i + 1].OnDigitalChange.Add(new InputChangeHandlerWrapper(SAVEPRESET_OnChange_5, false));
            }

            for (uint i = 0; i < 10; i++)
            {
                RECALLPRESET[i + 1].OnDigitalChange.Add(new InputChangeHandlerWrapper(RECALLPRESET_OnChange_6, false));
            }


            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM   = new SplusNVRAM(this);
            STEMPMODULES  = new CrestronString(InheritedStringEncoding, 100, this);
            STEMPDEVICE   = new CrestronString(InheritedStringEncoding, 100, this);
            STEMPDEVICECH = new CrestronString(InheritedStringEncoding, 100, this);
            TEMP1         = new CrestronString(InheritedStringEncoding, 100, this);
            TEMP2         = new CrestronString(InheritedStringEncoding, 100, this);
            TEMP3         = new CrestronString(InheritedStringEncoding, 40, this);
            TEMP4         = new CrestronString(InheritedStringEncoding, 40, this);
            TEMP5         = new CrestronString(InheritedStringEncoding, 10, this);
            TEMP6         = new CrestronString(InheritedStringEncoding, 10, this);
            TEMP7         = new CrestronString(InheritedStringEncoding, 10, this);
            TEMP8         = new CrestronString(InheritedStringEncoding, 10, this);
            TEMP9         = new CrestronString(InheritedStringEncoding, 10, this);
            TEMP10        = new CrestronString(InheritedStringEncoding, 10, this);
            TRASH         = new CrestronString(InheritedStringEncoding, 40, this);
            SCOMMAND      = new CrestronString[501];
            for (uint i = 0; i < 501; i++)
            {
                SCOMMAND [i] = new CrestronString(InheritedStringEncoding, 100, this);
            }
            SGET = new CrestronString[501];
            for (uint i = 0; i < 501; i++)
            {
                SGET [i] = new CrestronString(InheritedStringEncoding, 100, this);
            }
            SMODULEINSTANCEID = new CrestronString[101];
            for (uint i = 0; i < 101; i++)
            {
                SMODULEINSTANCEID [i] = new CrestronString(InheritedStringEncoding, 100, this);
            }

            SEND_NEXT = new Crestron.Logos.SplusObjects.DigitalInput(SEND_NEXT__DigitalInput__, this);
            m_DigitalInputList.Add(SEND_NEXT__DigitalInput__, SEND_NEXT);

            INITIALIZE = new Crestron.Logos.SplusObjects.DigitalInput(INITIALIZE__DigitalInput__, this);
            m_DigitalInputList.Add(INITIALIZE__DigitalInput__, INITIALIZE);

            GET_NEXT_NAME = new Crestron.Logos.SplusObjects.DigitalInput(GET_NEXT_NAME__DigitalInput__, this);
            m_DigitalInputList.Add(GET_NEXT_NAME__DigitalInput__, GET_NEXT_NAME);

            TIMED_OUT = new Crestron.Logos.SplusObjects.DigitalOutput(TIMED_OUT__DigitalOutput__, this);
            m_DigitalOutputList.Add(TIMED_OUT__DigitalOutput__, TIMED_OUT);

            INITIALIZE_BUSY = new Crestron.Logos.SplusObjects.DigitalOutput(INITIALIZE_BUSY__DigitalOutput__, this);
            m_DigitalOutputList.Add(INITIALIZE_BUSY__DigitalOutput__, INITIALIZE_BUSY);

            NAME_TIMED_OUT = new Crestron.Logos.SplusObjects.DigitalOutput(NAME_TIMED_OUT__DigitalOutput__, this);
            m_DigitalOutputList.Add(NAME_TIMED_OUT__DigitalOutput__, NAME_TIMED_OUT);

            DEVICE_TXD__DOLLAR__ = new Crestron.Logos.SplusObjects.StringOutput(DEVICE_TXD__DOLLAR____AnalogSerialOutput__, this);
            m_StringOutputList.Add(DEVICE_TXD__DOLLAR____AnalogSerialOutput__, DEVICE_TXD__DOLLAR__);

            CONTROL_ALIAS_RET = new Crestron.Logos.SplusObjects.StringOutput(CONTROL_ALIAS_RET__AnalogSerialOutput__, this);
            m_StringOutputList.Add(CONTROL_ALIAS_RET__AnalogSerialOutput__, CONTROL_ALIAS_RET);

            TO_MODULES = new InOutArray <StringOutput>(100, this);
            for (uint i = 0; i < 100; i++)
            {
                TO_MODULES[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(TO_MODULES__AnalogSerialOutput__ + i, this);
                m_StringOutputList.Add(TO_MODULES__AnalogSerialOutput__ + i, TO_MODULES[i + 1]);
            }

            DEVICE_RXD__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput(DEVICE_RXD__DOLLAR____AnalogSerialInput__, 5000, this);
            m_StringInputList.Add(DEVICE_RXD__DOLLAR____AnalogSerialInput__, DEVICE_RXD__DOLLAR__);

            MODULES_RXD__DOLLAR__ = new Crestron.Logos.SplusObjects.BufferInput(MODULES_RXD__DOLLAR____AnalogSerialInput__, 5000, this);
            m_StringInputList.Add(MODULES_RXD__DOLLAR____AnalogSerialInput__, MODULES_RXD__DOLLAR__);

            WTIMEOUT_Callback     = new WaitFunction(WTIMEOUT_CallbackFn);
            WNAMETIMEOUT_Callback = new WaitFunction(WNAMETIMEOUT_CallbackFn);
            WWAKEUP_Callback      = new WaitFunction(WWAKEUP_CallbackFn);

            INITIALIZE.OnDigitalPush.Add(new InputChangeHandlerWrapper(INITIALIZE_OnPush_0, false));
            SEND_NEXT.OnDigitalPush.Add(new InputChangeHandlerWrapper(SEND_NEXT_OnPush_1, false));
            SEND_NEXT.OnDigitalRelease.Add(new InputChangeHandlerWrapper(SEND_NEXT_OnRelease_2, false));
            GET_NEXT_NAME.OnDigitalPush.Add(new InputChangeHandlerWrapper(GET_NEXT_NAME_OnPush_3, false));
            MODULES_RXD__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(MODULES_RXD__DOLLAR___OnChange_4, false));
            DEVICE_RXD__DOLLAR__.OnSerialChange.Add(new InputChangeHandlerWrapper(DEVICE_RXD__DOLLAR___OnChange_5, true));

            _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()
        {
            _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()
{
    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 );
    
    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__ );
    
    CHANNEL_1_MUTEON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_1_MUTEON__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_1_MUTEON__DOLLAR____DigitalInput__, CHANNEL_1_MUTEON__DOLLAR__ );
    
    CHANNEL_1_MUTEOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_1_MUTEOFF__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_1_MUTEOFF__DOLLAR____DigitalInput__, CHANNEL_1_MUTEOFF__DOLLAR__ );
    
    CHANNEL_1_MUTETOGGLE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_1_MUTETOGGLE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_1_MUTETOGGLE__DOLLAR____DigitalInput__, CHANNEL_1_MUTETOGGLE__DOLLAR__ );
    
    CHANNEL_2_MUTEON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_2_MUTEON__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_2_MUTEON__DOLLAR____DigitalInput__, CHANNEL_2_MUTEON__DOLLAR__ );
    
    CHANNEL_2_MUTEOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_2_MUTEOFF__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_2_MUTEOFF__DOLLAR____DigitalInput__, CHANNEL_2_MUTEOFF__DOLLAR__ );
    
    CHANNEL_2_MUTETOGGLE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_2_MUTETOGGLE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_2_MUTETOGGLE__DOLLAR____DigitalInput__, CHANNEL_2_MUTETOGGLE__DOLLAR__ );
    
    CHANNEL_3_MUTEON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_3_MUTEON__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_3_MUTEON__DOLLAR____DigitalInput__, CHANNEL_3_MUTEON__DOLLAR__ );
    
    CHANNEL_3_MUTEOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_3_MUTEOFF__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_3_MUTEOFF__DOLLAR____DigitalInput__, CHANNEL_3_MUTEOFF__DOLLAR__ );
    
    CHANNEL_3_MUTETOGGLE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_3_MUTETOGGLE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_3_MUTETOGGLE__DOLLAR____DigitalInput__, CHANNEL_3_MUTETOGGLE__DOLLAR__ );
    
    CHANNEL_4_MUTEON__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_4_MUTEON__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_4_MUTEON__DOLLAR____DigitalInput__, CHANNEL_4_MUTEON__DOLLAR__ );
    
    CHANNEL_4_MUTEOFF__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_4_MUTEOFF__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_4_MUTEOFF__DOLLAR____DigitalInput__, CHANNEL_4_MUTEOFF__DOLLAR__ );
    
    CHANNEL_4_MUTETOGGLE__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalInput( CHANNEL_4_MUTETOGGLE__DOLLAR____DigitalInput__, this );
    m_DigitalInputList.Add( CHANNEL_4_MUTETOGGLE__DOLLAR____DigitalInput__, CHANNEL_4_MUTETOGGLE__DOLLAR__ );
    
    CHANNEL_1_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHANNEL_1_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHANNEL_1_MUTE_FB__DOLLAR____DigitalOutput__, CHANNEL_1_MUTE_FB__DOLLAR__ );
    
    CHANNEL_2_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHANNEL_2_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHANNEL_2_MUTE_FB__DOLLAR____DigitalOutput__, CHANNEL_2_MUTE_FB__DOLLAR__ );
    
    CHANNEL_3_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHANNEL_3_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHANNEL_3_MUTE_FB__DOLLAR____DigitalOutput__, CHANNEL_3_MUTE_FB__DOLLAR__ );
    
    CHANNEL_4_MUTE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.DigitalOutput( CHANNEL_4_MUTE_FB__DOLLAR____DigitalOutput__, this );
    m_DigitalOutputList.Add( CHANNEL_4_MUTE_FB__DOLLAR____DigitalOutput__, CHANNEL_4_MUTE_FB__DOLLAR__ );
    
    CHANNEL_1_REFERENCE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_1_REFERENCE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_1_REFERENCE__DOLLAR____AnalogSerialInput__, CHANNEL_1_REFERENCE__DOLLAR__ );
    
    CHANNEL_1_ATTACK__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_1_ATTACK__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_1_ATTACK__DOLLAR____AnalogSerialInput__, CHANNEL_1_ATTACK__DOLLAR__ );
    
    CHANNEL_1_RELEASE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_1_RELEASE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_1_RELEASE__DOLLAR____AnalogSerialInput__, CHANNEL_1_RELEASE__DOLLAR__ );
    
    CHANNEL_2_REFERENCE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_2_REFERENCE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_2_REFERENCE__DOLLAR____AnalogSerialInput__, CHANNEL_2_REFERENCE__DOLLAR__ );
    
    CHANNEL_2_ATTACK__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_2_ATTACK__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_2_ATTACK__DOLLAR____AnalogSerialInput__, CHANNEL_2_ATTACK__DOLLAR__ );
    
    CHANNEL_2_RELEASE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_2_RELEASE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_2_RELEASE__DOLLAR____AnalogSerialInput__, CHANNEL_2_RELEASE__DOLLAR__ );
    
    CHANNEL_3_REFERENCE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_3_REFERENCE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_3_REFERENCE__DOLLAR____AnalogSerialInput__, CHANNEL_3_REFERENCE__DOLLAR__ );
    
    CHANNEL_3_ATTACK__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_3_ATTACK__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_3_ATTACK__DOLLAR____AnalogSerialInput__, CHANNEL_3_ATTACK__DOLLAR__ );
    
    CHANNEL_3_RELEASE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_3_RELEASE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_3_RELEASE__DOLLAR____AnalogSerialInput__, CHANNEL_3_RELEASE__DOLLAR__ );
    
    CHANNEL_4_REFERENCE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_4_REFERENCE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_4_REFERENCE__DOLLAR____AnalogSerialInput__, CHANNEL_4_REFERENCE__DOLLAR__ );
    
    CHANNEL_4_ATTACK__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_4_ATTACK__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_4_ATTACK__DOLLAR____AnalogSerialInput__, CHANNEL_4_ATTACK__DOLLAR__ );
    
    CHANNEL_4_RELEASE__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogInput( CHANNEL_4_RELEASE__DOLLAR____AnalogSerialInput__, this );
    m_AnalogInputList.Add( CHANNEL_4_RELEASE__DOLLAR____AnalogSerialInput__, CHANNEL_4_RELEASE__DOLLAR__ );
    
    CHANNEL_1_METER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_1_METER_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_1_METER_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_1_METER_FB__DOLLAR__ );
    
    CHANNEL_1_REFERENCE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_1_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_1_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_1_REFERENCE_FB__DOLLAR__ );
    
    CHANNEL_1_ATTACK_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_1_ATTACK_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_1_ATTACK_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_1_ATTACK_FB__DOLLAR__ );
    
    CHANNEL_1_RELEASE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_1_RELEASE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_1_RELEASE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_1_RELEASE_FB__DOLLAR__ );
    
    CHANNEL_2_METER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_2_METER_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_2_METER_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_2_METER_FB__DOLLAR__ );
    
    CHANNEL_2_REFERENCE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_2_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_2_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_2_REFERENCE_FB__DOLLAR__ );
    
    CHANNEL_2_ATTACK_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_2_ATTACK_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_2_ATTACK_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_2_ATTACK_FB__DOLLAR__ );
    
    CHANNEL_2_RELEASE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_2_RELEASE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_2_RELEASE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_2_RELEASE_FB__DOLLAR__ );
    
    CHANNEL_3_METER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_3_METER_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_3_METER_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_3_METER_FB__DOLLAR__ );
    
    CHANNEL_3_REFERENCE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_3_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_3_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_3_REFERENCE_FB__DOLLAR__ );
    
    CHANNEL_3_ATTACK_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_3_ATTACK_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_3_ATTACK_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_3_ATTACK_FB__DOLLAR__ );
    
    CHANNEL_3_RELEASE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_3_RELEASE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_3_RELEASE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_3_RELEASE_FB__DOLLAR__ );
    
    CHANNEL_4_METER_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_4_METER_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_4_METER_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_4_METER_FB__DOLLAR__ );
    
    CHANNEL_4_REFERENCE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_4_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_4_REFERENCE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_4_REFERENCE_FB__DOLLAR__ );
    
    CHANNEL_4_ATTACK_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_4_ATTACK_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_4_ATTACK_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_4_ATTACK_FB__DOLLAR__ );
    
    CHANNEL_4_RELEASE_FB__DOLLAR__ = new Crestron.Logos.SplusObjects.AnalogOutput( CHANNEL_4_RELEASE_FB__DOLLAR____AnalogSerialOutput__, this );
    m_AnalogOutputList.Add( CHANNEL_4_RELEASE_FB__DOLLAR____AnalogSerialOutput__, CHANNEL_4_RELEASE_FB__DOLLAR__ );
    
    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__ );
    
    METERRATE__DOLLAR__ = new UShortParameter( METERRATE__DOLLAR____Parameter__, this );
    m_ParameterList.Add( METERRATE__DOLLAR____Parameter__, METERRATE__DOLLAR__ );
    
    CARD__DOLLAR__ = new UShortParameter( 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 ) );
    CHANNEL_1_REFERENCE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_1_REFERENCE__DOLLAR___OnChange_4, false ) );
    CHANNEL_1_ATTACK__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_1_ATTACK__DOLLAR___OnChange_5, false ) );
    CHANNEL_1_RELEASE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_1_RELEASE__DOLLAR___OnChange_6, false ) );
    CHANNEL_2_REFERENCE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_2_REFERENCE__DOLLAR___OnChange_7, false ) );
    CHANNEL_2_ATTACK__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_2_ATTACK__DOLLAR___OnChange_8, false ) );
    CHANNEL_2_RELEASE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_2_RELEASE__DOLLAR___OnChange_9, false ) );
    CHANNEL_3_REFERENCE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_3_REFERENCE__DOLLAR___OnChange_10, false ) );
    CHANNEL_3_ATTACK__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_3_ATTACK__DOLLAR___OnChange_11, false ) );
    CHANNEL_3_RELEASE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_3_RELEASE__DOLLAR___OnChange_12, false ) );
    CHANNEL_4_REFERENCE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_4_REFERENCE__DOLLAR___OnChange_13, false ) );
    CHANNEL_4_ATTACK__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_4_ATTACK__DOLLAR___OnChange_14, false ) );
    CHANNEL_4_RELEASE__DOLLAR__.OnAnalogChange.Add( new InputChangeHandlerWrapper( CHANNEL_4_RELEASE__DOLLAR___OnChange_15, false ) );
    CHANNEL_1_MUTEON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_1_MUTEON__DOLLAR___OnPush_16, false ) );
    CHANNEL_1_MUTEOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_1_MUTEOFF__DOLLAR___OnPush_17, false ) );
    CHANNEL_1_MUTETOGGLE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_1_MUTETOGGLE__DOLLAR___OnPush_18, false ) );
    CHANNEL_2_MUTEON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_2_MUTEON__DOLLAR___OnPush_19, false ) );
    CHANNEL_2_MUTEOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_2_MUTEOFF__DOLLAR___OnPush_20, false ) );
    CHANNEL_2_MUTETOGGLE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_2_MUTETOGGLE__DOLLAR___OnPush_21, false ) );
    CHANNEL_3_MUTEON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_3_MUTEON__DOLLAR___OnPush_22, false ) );
    CHANNEL_3_MUTEOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_3_MUTEOFF__DOLLAR___OnPush_23, false ) );
    CHANNEL_3_MUTETOGGLE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_3_MUTETOGGLE__DOLLAR___OnPush_24, false ) );
    CHANNEL_4_MUTEON__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_4_MUTEON__DOLLAR___OnPush_25, false ) );
    CHANNEL_4_MUTEOFF__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_4_MUTEOFF__DOLLAR___OnPush_26, false ) );
    CHANNEL_4_MUTETOGGLE__DOLLAR__.OnDigitalPush.Add( new InputChangeHandlerWrapper( CHANNEL_4_MUTETOGGLE__DOLLAR___OnPush_27, false ) );
    RX__DOLLAR__.OnSerialChange.Add( new InputChangeHandlerWrapper( RX__DOLLAR___OnChange_28, false ) );
    
    _SplusNVRAM.PopulateCustomAttributeList( true );
    
    NVRAM = _SplusNVRAM;
    
}
Example #37
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);
            PRESETRAMP  = new RAMP_INFO();
            PRESETRAMP.PopulateDefaults();

            ZONEON = new Crestron.Logos.SplusObjects.DigitalInput(ZONEON__DigitalInput__, this);
            m_DigitalInputList.Add(ZONEON__DigitalInput__, ZONEON);

            ZONEOFF = new Crestron.Logos.SplusObjects.DigitalInput(ZONEOFF__DigitalInput__, this);
            m_DigitalInputList.Add(ZONEOFF__DigitalInput__, ZONEOFF);

            ZONEONOFF = new Crestron.Logos.SplusObjects.DigitalInput(ZONEONOFF__DigitalInput__, this);
            m_DigitalInputList.Add(ZONEONOFF__DigitalInput__, ZONEONOFF);

            SAVEONLVL = new Crestron.Logos.SplusObjects.DigitalInput(SAVEONLVL__DigitalInput__, this);
            m_DigitalInputList.Add(SAVEONLVL__DigitalInput__, SAVEONLVL);

            SAVEOFFLVL = new Crestron.Logos.SplusObjects.DigitalInput(SAVEOFFLVL__DigitalInput__, this);
            m_DigitalInputList.Add(SAVEOFFLVL__DigitalInput__, SAVEOFFLVL);

            ZONEONFB = new Crestron.Logos.SplusObjects.DigitalInput(ZONEONFB__DigitalInput__, this);
            m_DigitalInputList.Add(ZONEONFB__DigitalInput__, ZONEONFB);

            DALIFB = new Crestron.Logos.SplusObjects.DigitalOutput(DALIFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(DALIFB__DigitalOutput__, DALIFB);

            DIMMABLEFB = new Crestron.Logos.SplusObjects.DigitalOutput(DIMMABLEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(DIMMABLEFB__DigitalOutput__, DIMMABLEFB);

            INUSEFB = new Crestron.Logos.SplusObjects.DigitalOutput(INUSEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(INUSEFB__DigitalOutput__, INUSEFB);

            RGBFB = new Crestron.Logos.SplusObjects.DigitalOutput(RGBFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(RGBFB__DigitalOutput__, RGBFB);

            HARVESTEDFB = new Crestron.Logos.SplusObjects.DigitalOutput(HARVESTEDFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(HARVESTEDFB__DigitalOutput__, HARVESTEDFB);

            HARVESTENABLEFB = new Crestron.Logos.SplusObjects.DigitalOutput(HARVESTENABLEFB__DigitalOutput__, this);
            m_DigitalOutputList.Add(HARVESTENABLEFB__DigitalOutput__, HARVESTENABLEFB);

            ONLVLSAVED = new Crestron.Logos.SplusObjects.DigitalOutput(ONLVLSAVED__DigitalOutput__, this);
            m_DigitalOutputList.Add(ONLVLSAVED__DigitalOutput__, ONLVLSAVED);

            OFFLVLSAVED = new Crestron.Logos.SplusObjects.DigitalOutput(OFFLVLSAVED__DigitalOutput__, this);
            m_DigitalOutputList.Add(OFFLVLSAVED__DigitalOutput__, OFFLVLSAVED);

            RAISEFROMOFF = new Crestron.Logos.SplusObjects.DigitalOutput(RAISEFROMOFF__DigitalOutput__, this);
            m_DigitalOutputList.Add(RAISEFROMOFF__DigitalOutput__, RAISEFROMOFF);

            FRIENDLYNAMESAVED = new Crestron.Logos.SplusObjects.DigitalOutput(FRIENDLYNAMESAVED__DigitalOutput__, this);
            m_DigitalOutputList.Add(FRIENDLYNAMESAVED__DigitalOutput__, FRIENDLYNAMESAVED);

            INITIALIZED = new Crestron.Logos.SplusObjects.DigitalOutput(INITIALIZED__DigitalOutput__, this);
            m_DigitalOutputList.Add(INITIALIZED__DigitalOutput__, INITIALIZED);

            TRUEFB = new Crestron.Logos.SplusObjects.AnalogInput(TRUEFB__AnalogSerialInput__, this);
            m_AnalogInputList.Add(TRUEFB__AnalogSerialInput__, TRUEFB);

            ZONELEVEL = new Crestron.Logos.SplusObjects.AnalogOutput(ZONELEVEL__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(ZONELEVEL__AnalogSerialOutput__, ZONELEVEL);

            SLEWRATE = new Crestron.Logos.SplusObjects.AnalogOutput(SLEWRATE__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(SLEWRATE__AnalogSerialOutput__, SLEWRATE);

            RAMPTIME = new Crestron.Logos.SplusObjects.AnalogOutput(RAMPTIME__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(RAMPTIME__AnalogSerialOutput__, RAMPTIME);

            WATTAGE = new Crestron.Logos.SplusObjects.AnalogOutput(WATTAGE__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(WATTAGE__AnalogSerialOutput__, WATTAGE);

            OFFLEVEL = new Crestron.Logos.SplusObjects.AnalogOutput(OFFLEVEL__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(OFFLEVEL__AnalogSerialOutput__, OFFLEVEL);

            FRIENDLYNAMEUPDATE = new Crestron.Logos.SplusObjects.StringInput(FRIENDLYNAMEUPDATE__AnalogSerialInput__, 255, this);
            m_StringInputList.Add(FRIENDLYNAMEUPDATE__AnalogSerialInput__, FRIENDLYNAMEUPDATE);

            FRIENDLYNAME = new Crestron.Logos.SplusObjects.StringOutput(FRIENDLYNAME__AnalogSerialOutput__, this);
            m_StringOutputList.Add(FRIENDLYNAME__AnalogSerialOutput__, FRIENDLYNAME);

            ZONEID = new StringParameter(ZONEID__Parameter__, this);
            m_ParameterList.Add(ZONEID__Parameter__, ZONEID);

            __SPLS_TMPVAR__WAITLABEL_23___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_23___CallbackFn);

            ZONEON.OnDigitalPush.Add(new InputChangeHandlerWrapper(ZONEON_OnPush_0, false));
            ZONEOFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(ZONEOFF_OnPush_1, false));
            ZONEONOFF.OnDigitalPush.Add(new InputChangeHandlerWrapper(ZONEONOFF_OnPush_2, false));
            SAVEONLVL.OnDigitalPush.Add(new InputChangeHandlerWrapper(SAVEONLVL_OnPush_3, false));
            SAVEOFFLVL.OnDigitalPush.Add(new InputChangeHandlerWrapper(SAVEOFFLVL_OnPush_4, false));
            FRIENDLYNAMEUPDATE.OnSerialChange.Add(new InputChangeHandlerWrapper(FRIENDLYNAMEUPDATE_OnChange_5, false));

            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }
Example #38
0
        public override void LogosSplusInitialize()
        {
            _SplusNVRAM = new SplusNVRAM(this);

            USESPRESETS = new Crestron.Logos.SplusObjects.DigitalOutput(USESPRESETS__DigitalOutput__, this);
            m_DigitalOutputList.Add(USESPRESETS__DigitalOutput__, USESPRESETS);

            HASSHADES = new Crestron.Logos.SplusObjects.DigitalOutput(HASSHADES__DigitalOutput__, this);
            m_DigitalOutputList.Add(HASSHADES__DigitalOutput__, HASSHADES);

            ROOMINITIALIZED = new Crestron.Logos.SplusObjects.DigitalOutput(ROOMINITIALIZED__DigitalOutput__, this);
            m_DigitalOutputList.Add(ROOMINITIALIZED__DigitalOutput__, ROOMINITIALIZED);

            GENDIGITAL = new InOutArray <DigitalOutput>(8, this);
            for (uint i = 0; i < 8; i++)
            {
                GENDIGITAL[i + 1] = new Crestron.Logos.SplusObjects.DigitalOutput(GENDIGITAL__DigitalOutput__ + i, this);
                m_DigitalOutputList.Add(GENDIGITAL__DigitalOutput__ + i, GENDIGITAL[i + 1]);
            }

            NUM_ZONES_IN = new Crestron.Logos.SplusObjects.AnalogInput(NUM_ZONES_IN__AnalogSerialInput__, this);
            m_AnalogInputList.Add(NUM_ZONES_IN__AnalogSerialInput__, NUM_ZONES_IN);

            NUM_PRESETS_IN = new Crestron.Logos.SplusObjects.AnalogInput(NUM_PRESETS_IN__AnalogSerialInput__, this);
            m_AnalogInputList.Add(NUM_PRESETS_IN__AnalogSerialInput__, NUM_PRESETS_IN);

            NUM_SHADES_IN = new Crestron.Logos.SplusObjects.AnalogInput(NUM_SHADES_IN__AnalogSerialInput__, this);
            m_AnalogInputList.Add(NUM_SHADES_IN__AnalogSerialInput__, NUM_SHADES_IN);

            TIMEOUT_IN = new Crestron.Logos.SplusObjects.AnalogInput(TIMEOUT_IN__AnalogSerialInput__, this);
            m_AnalogInputList.Add(TIMEOUT_IN__AnalogSerialInput__, TIMEOUT_IN);

            NUMZONES = new Crestron.Logos.SplusObjects.AnalogOutput(NUMZONES__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(NUMZONES__AnalogSerialOutput__, NUMZONES);

            NUMSHADES = new Crestron.Logos.SplusObjects.AnalogOutput(NUMSHADES__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(NUMSHADES__AnalogSerialOutput__, NUMSHADES);

            NUMPRESETS = new Crestron.Logos.SplusObjects.AnalogOutput(NUMPRESETS__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(NUMPRESETS__AnalogSerialOutput__, NUMPRESETS);

            TIMEOUT_OUT = new Crestron.Logos.SplusObjects.AnalogOutput(TIMEOUT_OUT__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(TIMEOUT_OUT__AnalogSerialOutput__, TIMEOUT_OUT);

            OCC_MODE = new Crestron.Logos.SplusObjects.AnalogOutput(OCC_MODE__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(OCC_MODE__AnalogSerialOutput__, OCC_MODE);

            VAC_MODE = new Crestron.Logos.SplusObjects.AnalogOutput(VAC_MODE__AnalogSerialOutput__, this);
            m_AnalogOutputList.Add(VAC_MODE__AnalogSerialOutput__, VAC_MODE);

            GENANALOG = new InOutArray <AnalogOutput>(8, this);
            for (uint i = 0; i < 8; i++)
            {
                GENANALOG[i + 1] = new Crestron.Logos.SplusObjects.AnalogOutput(GENANALOG__AnalogSerialOutput__ + i, this);
                m_AnalogOutputList.Add(GENANALOG__AnalogSerialOutput__ + i, GENANALOG[i + 1]);
            }

            ROOMNAMEUPDATE = new Crestron.Logos.SplusObjects.StringInput(ROOMNAMEUPDATE__AnalogSerialInput__, 255, this);
            m_StringInputList.Add(ROOMNAMEUPDATE__AnalogSerialInput__, ROOMNAMEUPDATE);

            ALLOFFNAMEUPDATE = new Crestron.Logos.SplusObjects.StringInput(ALLOFFNAMEUPDATE__AnalogSerialInput__, 255, this);
            m_StringInputList.Add(ALLOFFNAMEUPDATE__AnalogSerialInput__, ALLOFFNAMEUPDATE);

            ALLONNAMEUPDATE = new Crestron.Logos.SplusObjects.StringInput(ALLONNAMEUPDATE__AnalogSerialInput__, 255, this);
            m_StringInputList.Add(ALLONNAMEUPDATE__AnalogSerialInput__, ALLONNAMEUPDATE);

            PRESETNAMEUPDATE = new InOutArray <StringInput>(8, this);
            for (uint i = 0; i < 8; i++)
            {
                PRESETNAMEUPDATE[i + 1] = new Crestron.Logos.SplusObjects.StringInput(PRESETNAMEUPDATE__AnalogSerialInput__ + i, PRESETNAMEUPDATE__AnalogSerialInput__, 255, this);
                m_StringInputList.Add(PRESETNAMEUPDATE__AnalogSerialInput__ + i, PRESETNAMEUPDATE[i + 1]);
            }

            ROOMNAME = new Crestron.Logos.SplusObjects.StringOutput(ROOMNAME__AnalogSerialOutput__, this);
            m_StringOutputList.Add(ROOMNAME__AnalogSerialOutput__, ROOMNAME);

            ALLOFFNAME = new Crestron.Logos.SplusObjects.StringOutput(ALLOFFNAME__AnalogSerialOutput__, this);
            m_StringOutputList.Add(ALLOFFNAME__AnalogSerialOutput__, ALLOFFNAME);

            ALLONNAME = new Crestron.Logos.SplusObjects.StringOutput(ALLONNAME__AnalogSerialOutput__, this);
            m_StringOutputList.Add(ALLONNAME__AnalogSerialOutput__, ALLONNAME);

            PRESETNAME = new InOutArray <StringOutput>(8, this);
            for (uint i = 0; i < 8; i++)
            {
                PRESETNAME[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(PRESETNAME__AnalogSerialOutput__ + i, this);
                m_StringOutputList.Add(PRESETNAME__AnalogSerialOutput__ + i, PRESETNAME[i + 1]);
            }

            GENSERIAL = new InOutArray <StringOutput>(8, this);
            for (uint i = 0; i < 8; i++)
            {
                GENSERIAL[i + 1] = new Crestron.Logos.SplusObjects.StringOutput(GENSERIAL__AnalogSerialOutput__ + i, this);
                m_StringOutputList.Add(GENSERIAL__AnalogSerialOutput__ + i, GENSERIAL[i + 1]);
            }

            ROOMID = new StringParameter(ROOMID__Parameter__, this);
            m_ParameterList.Add(ROOMID__Parameter__, ROOMID);

            __SPLS_TMPVAR__WAITLABEL_22___Callback = new WaitFunction(__SPLS_TMPVAR__WAITLABEL_22___CallbackFn);

            NUM_ZONES_IN.OnAnalogChange.Add(new InputChangeHandlerWrapper(NUM_ZONES_IN_OnChange_0, false));
            NUM_PRESETS_IN.OnAnalogChange.Add(new InputChangeHandlerWrapper(NUM_PRESETS_IN_OnChange_1, false));
            NUM_SHADES_IN.OnAnalogChange.Add(new InputChangeHandlerWrapper(NUM_SHADES_IN_OnChange_2, false));
            TIMEOUT_IN.OnAnalogChange.Add(new InputChangeHandlerWrapper(TIMEOUT_IN_OnChange_3, false));
            ROOMNAMEUPDATE.OnSerialChange.Add(new InputChangeHandlerWrapper(ROOMNAMEUPDATE_OnChange_4, false));
            ALLOFFNAMEUPDATE.OnSerialChange.Add(new InputChangeHandlerWrapper(ALLOFFNAMEUPDATE_OnChange_5, false));
            ALLONNAMEUPDATE.OnSerialChange.Add(new InputChangeHandlerWrapper(ALLONNAMEUPDATE_OnChange_6, false));
            for (uint i = 0; i < 8; i++)
            {
                PRESETNAMEUPDATE[i + 1].OnSerialChange.Add(new InputChangeHandlerWrapper(PRESETNAMEUPDATE_OnChange_7, false));
            }


            _SplusNVRAM.PopulateCustomAttributeList(true);

            NVRAM = _SplusNVRAM;
        }