Exemplo n.º 1
0
        object GETINFO_OnPush_0(Object __EventInfo__)

        {
            Crestron.Logos.SplusObjects.SignalEventArgs __SignalEventArg__ = (Crestron.Logos.SplusObjects.SignalEventArgs)__EventInfo__;
            try
            {
                SplusExecutionContext __context__ = SplusThreadStartCode(__SignalEventArg__);

                __context__.SourceCodeLine = 61;
                MYROOM.GetRoom( );
            }
            catch (Exception e) { ObjectCatchHandler(e); }
            finally { ObjectFinallyHandler(__SignalEventArg__); }
            return(this);
        }
 object GETINFO_OnPush_0 ( Object __EventInfo__ )
 
     { 
     Crestron.Logos.SplusObjects.SignalEventArgs __SignalEventArg__ = (Crestron.Logos.SplusObjects.SignalEventArgs)__EventInfo__;
     try
     {
         SplusExecutionContext __context__ = SplusThreadStartCode(__SignalEventArg__);
         ushort I = 0;
         
         
         __context__.SourceCodeLine = 59;
         if ( Functions.TestForTrue  ( ( HUEONLINE  .Value)  ) ) 
             { 
             __context__.SourceCodeLine = 61;
             MYROOM . GroupName  =  ( ROOMNAME  )  .ToString() ; 
             __context__.SourceCodeLine = 62;
             MYROOM . GetRoom ( ) ; 
             __context__.SourceCodeLine = 63;
             ROOMISON  .Value = (ushort) ( MYROOM.GroupIsOn ) ; 
             __context__.SourceCodeLine = 64;
             ROOMBRIOUT  .Value = (ushort) ( MYROOM.RoomBri ) ; 
             __context__.SourceCodeLine = 65;
             ROOMHUEOUT  .Value = (ushort) ( MYROOM.RoomHue ) ; 
             __context__.SourceCodeLine = 66;
             ROOMSATOUT  .Value = (ushort) ( MYROOM.RoomSat ) ; 
             __context__.SourceCodeLine = 67;
             SCENESNUM  .Value = (ushort) ( MYROOM.SceneNum ) ; 
             __context__.SourceCodeLine = 69;
             ushort __FN_FORSTART_VAL__1 = (ushort) ( 1 ) ;
             ushort __FN_FOREND_VAL__1 = (ushort)SCENESNUM  .Value; 
             int __FN_FORSTEP_VAL__1 = (int)1; 
             for ( I  = __FN_FORSTART_VAL__1; (__FN_FORSTEP_VAL__1 > 0)  ? ( (I  >= __FN_FORSTART_VAL__1) && (I  <= __FN_FOREND_VAL__1) ) : ( (I  <= __FN_FORSTART_VAL__1) && (I  >= __FN_FOREND_VAL__1) ) ; I  += (ushort)__FN_FORSTEP_VAL__1) 
                 { 
                 __context__.SourceCodeLine = 71;
                 ROOMSCENENAME [ I]  .UpdateValue ( MYROOM . SceneName [ I ]  ) ; 
                 __context__.SourceCodeLine = 69;
                 } 
             
             } 
         
         
         
     }
     catch(Exception e) { ObjectCatchHandler(e); }
     finally { ObjectFinallyHandler( __SignalEventArg__ ); }
     return this;
     
 }