Table of Contents

Class TrackShortResponseHandler

Namespace
Z21.Core.ResponseHandler.SystemState.TrackPower
Assembly
Z21.Client.dll

The following packet is sent from the Z21 to the registered clients if a short circuit has occurred and the relevant client has activated the corresponding broadcast LocoInfoChangedMessages via SetBroadcastFlagsCommand

public class TrackShortResponseHandler : ITrackShortResponseHandler, IZ21ResponseHandler
Inheritance
TrackShortResponseHandler
Implements
Inherited Members

Properties

Name

Human-readable command according to the specification.

public string Name { get; }

Property Value

string

Methods

CanHandle(byte[])

Returns true if this response handler can handle the response. False otherwise.

public bool CanHandle(byte[] response)

Parameters

response byte[]

Returns

bool

Handle(byte[])

public void Handle(byte[] response)

Parameters

response byte[]

Events

OnTrackShortReceived

public event EventHandler? OnTrackShortReceived

Event Type

EventHandler