Class VersionResponseHandler
- Namespace
- Z21.Core.ResponseHandler.SystemState
- Assembly
- Z21.Client.dll
Reads the X-Bus version of the Z21 when requested via GetVersionCommand.
public class VersionResponseHandler : IVersionResponseHandler, IZ21ResponseHandler
- Inheritance
-
VersionResponseHandler
- Implements
- Inherited Members
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
OnVersionReceived
public event EventHandler<VersionReceivedEventArgs>? OnVersionReceived