Table of Contents

Class SystemState

Namespace
CommandStation.Model
Assembly
CommandStation.Abstractions.dll

Represents the complete system status of a command station, including electrical measurements, temperature, and operational flags.

public class SystemState
Inheritance
SystemState
Inherited Members

Properties

Capabilities

The set of capabilities supported by the device, such as RailCom, LocoNet, and accessory command support. Will be null on older firmware versions.

public Capabilities? Capabilities { get; init; }

Property Value

Capabilities

CentralState

The basic operational state of the central unit, including emergency stop, voltage status, and programming mode.

public required CentralState CentralState { get; init; }

Property Value

CentralState

CentralStateEx

Extended diagnostic flags from the central unit, such as temperature warnings, power loss, and short circuit conditions.

public required CentralStateEx CentralStateEx { get; init; }

Property Value

CentralStateEx

FilteredMainCurrent

The filtered current (in milliamps) of the main track output. This value may be smoothed or averaged for diagnostics.

public int FilteredMainCurrent { get; init; }

Property Value

int

MainCurrent

The current (in milliamps) drawn by the main track output.

public int MainCurrent { get; init; }

Property Value

int

ProgCurrent

The current (in milliamps) drawn by the programming track output.

public int ProgCurrent { get; init; }

Property Value

int

SupplyVoltage

The supply voltage (in millivolts) provided to the unit.

public int SupplyVoltage { get; init; }

Property Value

int

Temperature

The internal temperature of the unit (in degrees Celsius).

public int Temperature { get; init; }

Property Value

int

VccVoltage

The internal Vcc voltage (in millivolts) used by the logic circuits.

public int VccVoltage { get; init; }

Property Value

int