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

            var report = new SwitchBinaryReport(Node, command.Payload);
            OnChanged(new ReportEventArgs<SwitchBinaryReport>(report));
        }
Esempio n. 2
0
        protected internal override void HandleEvent(Command command)
        {
            base.HandleEvent(command);

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

            OnChanged(new ReportEventArgs <SwitchBinaryReport>(report));
        }
 private void HandleSwitchBinaryReport(SwitchBinaryReport report)
 {
     UpdateVariable(report, "SwitchBinary", report.Value);
 }