object IN_OnChange_0(Object __EventInfo__)

        {
            Crestron.Logos.SplusObjects.SignalEventArgs __SignalEventArg__ = (Crestron.Logos.SplusObjects.SignalEventArgs)__EventInfo__;
            try
            {
                SplusExecutionContext __context__ = SplusThreadStartCode(__SignalEventArg__);
                CatchConnect.SetSerialValue(FRIENDLYNAME.ToSimplSharpString(), IN.ToSimplSharpString());
            }
            catch (Exception e) { ObjectCatchHandler(e); }
            finally { ObjectFinallyHandler(__SignalEventArg__); }
            return(this);
        }
        public void __SPLS_TMPVAR__WAITLABEL_0___CallbackFn(object stateInfo)
        {
            try
            {
                Wait __LocalWait__ = (Wait)stateInfo;
                SplusExecutionContext __context__ = SplusThreadStartCode(__LocalWait__);
                __LocalWait__.RemoveFromList();


                CatchConnect.InitializeSerial(FRIENDLYNAME.ToSimplSharpString());

                __context__.SourceCodeLine = 154;
                SERIALEVENTS.Initialize(FRIENDLYNAME.ToSimplSharpString());
                __context__.SourceCodeLine = 155;
                // RegisterDelegate( SERIALEVENTS , ONSERIALEVENT , CALLBACKEVENTHANDLER )
                SERIALEVENTS.OnSerialEvent = CALLBACKEVENTHANDLER;;
                __context__.SourceCodeLine = 156;
                CatchConnect.SetSerialValue(FRIENDLYNAME.ToSimplSharpString(), IN.ToSimplSharpString());
            }
            catch (Exception e) { ObjectCatchHandler(e); }
            finally { ObjectFinallyHandler(); }
        }