Table of Contents

Namespace CommandStation

Classes

CvOperationTimeoutException

Thrown when a safe CV programming operation does not complete within the caller-supplied timeout (for example, the decoder never acknowledges so the operation keeps retrying until the deadline).

CvShortCircuitException

Thrown when a CV programming operation is aborted because the command station reported a short circuit on the track. The operation is not retried.

Interfaces

IAccessoryControl

Switching turnouts and extended accessory decoders, with their status notifications.

ICommandStation

A protocol-agnostic connection to a model-railway command station. Feature operations live on the capability interfaces (ILocoControl, IAccessoryControl, ITrackPowerControl, ISystemInfoProvider); a station implements only the capabilities it supports, so consumers test for them (e.g. station is ILocoControl).

IFastClockControl

Controlling the accelerated model railway clock (model time).

IFeedbackControl

Reading occupancy/feedback modules. Group index 0 covers module addresses 1–10, group index 1 covers 11–20.

ILocoControl

Driving a locomotive: speed, direction, functions, and locomotive status notifications.

IProgrammingControl

Reading and writing decoder configuration variables (CVs) in direct mode on the programming track. CV addresses are 0-based (0 = CV1).

ISystemInfoProvider

Querying command-station system information and receiving status notifications.

ITrackPowerControl

Track power and global emergency stop.