Esempio n. 1
0
        protected internal override void HandleEvent(Command command)
        {
            base.HandleEvent(command);

            var report = new CentralSceneReport(Node, command.Payload);

            OnChanged(new ReportEventArgs <CentralSceneReport>(report));
        }
Esempio n. 2
0
        protected internal override void HandleEvent(Command command)
        {
            base.HandleEvent(command);

            if (command.CommandID == Convert.ToByte(CentralScene.command.Notification))
            {
                var report = new CentralSceneReport(Node, command.Payload);
                OnChanged(new ReportEventArgs <CentralSceneReport>(report));
            }
        }