Create a common state concept, so that state information can be connected with infrastructure, interlocking as well as rollingstock data
Introduce central state repository in Common. Make all elements of IS able to reference such state, in particular also the general container.
Add reference from project to state.
Allow references from RS and IL to this new state implementation.
Original proposal
The ElementState
and StatesBaseElement
as currently defined/used in Infrastructure shall be moved to Common to be available for general use in other subschemas.
Possible solutions
Three possible alternatives have been identified:
- Move the base types to Generic and introduce
<rollingstockStates>
under<rollingstock>
,<interlockingStates>
under<interlocking>
etc., similar to<infrastructureStates>
under<infrastructure>
. - Move
<infrastructureStates>
to<common>
and rename to<states>
. All types of elements can be referenced. - Define states in Common and reverse the direction of the reference, so that all elements can reference defined states with a
<validityTime>
associated to each reference.
Links:
- Forum post: https://www.railml.org/forum/index.php?t=msg&th=996&start=0&
- Wiki documentation: https://wiki3.railml.org/wiki/Dev:Common_state_repository