Class SystemStateDataChangedResponseHandler
- Namespace
- Z21.Core.ResponseHandler.SystemState
- Assembly
- Z21.Client.dll
Reports a change in the system status from the Z21 to the client either automatically when SystemStateDataChangedMessages is set via SetBroadcastFlagsCommand or when requested via GetSystemStateDataCommand.
public class SystemStateDataChangedResponseHandler : ISystemStateDataChangedResponseHandler, IZ21ResponseHandler
- Inheritance
-
SystemStateDataChangedResponseHandler
- Implements
- Inherited Members
Constructors
SystemStateDataChangedResponseHandler(ISystemStateResponseParser)
Reports a change in the system status from the Z21 to the client either automatically when SystemStateDataChangedMessages is set via SetBroadcastFlagsCommand or when requested via GetSystemStateDataCommand.
public SystemStateDataChangedResponseHandler(ISystemStateResponseParser systemStateResponseParser)
Parameters
systemStateResponseParserISystemStateResponseParser
Properties
Name
Human-readable command according to the specification.
public string Name { get; }
Property Value
Methods
CanHandle(byte[])
Returns true if this response handler can handle the response. False otherwise.
public bool CanHandle(byte[] response)
Parameters
responsebyte[]
Returns
Handle(byte[])
public void Handle(byte[] response)
Parameters
responsebyte[]
Events
OnSystemStateDataChangedReceived
public event EventHandler<SystemStatusChangedReceivedEventArgs>? OnSystemStateDataChangedReceived