Esempio n. 1
0
        public void ONLEVELCHANGEPERCENT(object __sender__ /*BiampTesiraLib3.LevelComponent SENDER */, BiampTesiraLib3.UInt16EventArgs ARGS)
        {
            LevelComponent SENDER = (LevelComponent )__sender__;

            try
            {
                SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode();

                __context__.SourceCodeLine = 160;
                VOLUME_LEVEL_PERCENT.Value = (ushort)(ARGS.Payload);
            }
            finally { ObjectFinallyHandler(); }
        }
        public void ONINITIALIZECHANGE(object __sender__ /*BiampTesiraLib3.StateComponent SENDER */, BiampTesiraLib3.UInt16EventArgs ARGS)
        {
            StateComponent SENDER = (StateComponent )__sender__;

            try
            {
                SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode();

                __context__.SourceCodeLine = 135;
                IS_INITIALIZED.Value       = (ushort)(ARGS.Payload);
            }
            finally { ObjectFinallyHandler(); }
        }
        public void ONSTATECHANGE(object __sender__ /*BiampTesiraLib3.StateComponent SENDER */, BiampTesiraLib3.UInt16EventArgs ARGS)
        {
            StateComponent SENDER = (StateComponent )__sender__;

            try
            {
                SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode();

                __context__.SourceCodeLine = 140;
                STATE_IS_ON.Value          = (ushort)(Functions.BoolToInt(ARGS.Payload == 1));
                __context__.SourceCodeLine = 141;
                STATE_IS_OFF.Value         = (ushort)(Functions.BoolToInt(ARGS.Payload == 0));
            }
            finally { ObjectFinallyHandler(); }
        }
Esempio n. 4
0
        public void ONINITIALIZECHANGE(object __sender__ /*BiampTesiraLib3.Component SENDER */, BiampTesiraLib3.UInt16EventArgs ARGS)
        {
            Component SENDER = (Component )__sender__;

            try
            {
                SplusExecutionContext __context__ = SplusSimplSharpDelegateThreadStartCode();

                __context__.SourceCodeLine = 141;
                if (Functions.TestForTrue((Functions.BoolToInt(SENDER == LEVEL))))
                {
                    __context__.SourceCodeLine = 142;
                    LEVELINIT = (ushort)(ARGS.Payload);
                }

                else
                {
                    __context__.SourceCodeLine = 144;
                    if (Functions.TestForTrue((Functions.BoolToInt(SENDER == MUTE))))
                    {
                        __context__.SourceCodeLine = 145;
                        MUTEINIT = (ushort)(ARGS.Payload);
                    }
                }

                __context__.SourceCodeLine = 147;
                IS_INITIALIZED.Value       = (ushort)(Functions.BoolToInt((Functions.TestForTrue(LEVELINIT) && Functions.TestForTrue(MUTEINIT))));
            }
            finally { ObjectFinallyHandler(); }
        }