protected internal override void HandleEvent(Command command) { base.HandleEvent(command); var report = new SwitchBinaryReport(Node, command.Payload); OnChanged(new ReportEventArgs<SwitchBinaryReport>(report)); }
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); }