Example #1
0
        protected internal override void HandleEvent(Command command)
        {
            base.HandleEvent(command);

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

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

            OnChanged(new ReportEventArgs <ThermostatSetpointReport>(report));
        }