Table of Contents

Class CentralState

Namespace
CommandStation.Model
Assembly
CommandStation.Abstractions.dll

Represents the current operational state of a command station. Each property reflects a specific system condition or mode.

public class CentralState
Inheritance
CentralState
Inherited Members

Properties

EmergencyStop

Indicates whether an emergency stop has been triggered. This halts all train movement immediately.

public bool EmergencyStop { get; init; }

Property Value

bool

ProgrammingModeActive

Indicates whether the central unit is currently in programming mode. Used for configuring decoders on the programming track.

public bool ProgrammingModeActive { get; init; }

Property Value

bool

ShortCircuit

Indicates whether a short circuit has been detected on the track. This typically disables power until the fault is resolved.

public bool ShortCircuit { get; init; }

Property Value

bool

TrackVoltageOff

Indicates whether the track voltage is currently turned off. No power is supplied to the rails when this is true.

public bool TrackVoltageOff { get; init; }

Property Value

bool