Skip to content

Output pair value

Defines the active output within a pair used by accessory-type outputs such as turnouts or signals. Each pair has two lines, where only one is active at a time — typically referred to as red/green or thrown/closed.

Constants

enum.output_pair_value.FIRST

Indicates that the first output in the pair is active. This is commonly referred to as the red or thrown state.

enum.output_pair_value.SECOND

Indicates that the second output in the pair is active. This is commonly referred to as the green or closed state.

enum.output_pair_value.UNDEFINED

Indicates that the active output in the pair is undefined, meaning neither output is currently active or the state cannot be determined.

See also