Specification - StructureThis Page describes the structure of Elekdra.
The system should be highly modulated. All elements (e.g. turnouts, crossings, signals, ...) should be indepentent objects, which get a connection through the route. The routes should control themself, if they are allowed to be activated or not. For this purpose, they have to know about all elements, the contain. They even hav to know about them to set the corresponting indicators of the elements and manipulate states of signals or orientations of turnouts. Basic elements, that have additional information about other elementsDouble diamond crossing with slipsThis element consists of two turnouts. These turnout are logicaly linked for display purposes. A double diamond crossing with slips is only a logical element, that stores two links to the corresponding turnouts. Single diamond crossing with slipsThis element is like a double diamond crossing, but has further information about forbidden combination of the orientations of the two turnouts. Distant caution signalsFor the correct state of this element, it has to know about the following track, because only displaying the state of the mandatory signal is not enough. The distant caution signal has to know about whether a mandatory signal is on the same mast ("Nachtschaltung") or if a protection signal is between the distant signal and the mandatory signal and about the state of those. The software structure of the elements can be read in teh existing code. The signaling concept is currently under redesign [TK]
|