-
Notifications
You must be signed in to change notification settings - Fork 3
Name Generation
Name formats depend on what type of signal controller we are working with. Signals take their name from the controller.
Note
Numeric indexes start from 1, not 0. Letter format for numbers goes 1/A, 2/B, 3/C... 26/Z, 27/AA, 28/AB...
Note
If there are multiple signals per controller (of the same type), their name has either a letter or number appended corresponding to their index.
Uses the Entry Format.
- 0: ID
- 1: Station
- 2, 3: Index in numeric and letter format
Uses the Exit Format.
- 0: ID
- 1: Station
- 2, 3: Group index in numeric and letter format (starting after the entry signal count (ex.: station with 2 entry signals starts at 3/C)
- 4, 5: Index within the group in numeric and letter format
In case we do not have an exit group for this signal, we fallback to the Entry Format, with the following changes:
- 0: ID
- 1: Station
- 2, 3: Index starting at
entry signal count + exit group count, in numeric and letter format
Note
A group contains all exit signals with the same exits from a station. If we have a station with entry signals 1/A and 2/B, exit signals will possibly be grouped into 3 options:
- 1 group that exits towards 1/A and 2/B (ex: CW)
- 2 groups, one that exits towards 1/A, and another to 2/B (ex: SM)
- 3 groups, one that exits towards 1/A, another to 2/B, and another to both (ex: HB)
Uses the Generic Station Format.
- 0: ID
- 1: Station
- 2, 3: Index of the other signal in numeric and letter format
If the signal has a placement, it will use the Mainline Format if it is a mainline signal, and the Track Format for other signal types.
Without a placement, it defaults to the Fallback Format.
- 0: ID
- 1: The track number
- 2, 3: Index of the signal between all signals with the same track number, in numeric and letter format.
Use the Distant Format and the Repeater Format respectively.
- 0: Home signal name
- 1: ID
Distant signals that are part of regular signals are named after their parent signal, using the Sub Distant Format.
- 0: Parent name
Buffer stop signals will be named BFS[index].
Turntable signals will be named with the same name as their turntable, with either a 1 or 2 depending on the side.
- 0: ID