Block state
Represents the current occupancy or reservation state of a block in the train control system.
Constants
enum.block_state.FREE
Indicates that the block is free and not occupied or reserved by any train.
enum.block_state.OCCUPIED
Indicates that the block is currently occupied by a train.
enum.block_state.RESERVED
Indicates that the block has been reserved by a train but is not yet occupied.
enum.block_state.UNKNOWN
Indicates that the block's state is unknown, typically due to missing or invalid data from feedback sensors.