IS:trainProtectionElementGroupRef signal: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(subst)
(→‎Best practice & Examples / {{Deu|Empfohlene Anwendung & Beispiele}} / {{Fra|Bonnes pratiques & exemples}}: best practice example for signal reference to train protection element group)
Line 25: Line 25:
== Best practice & Examples / {{Deu|Empfohlene Anwendung & Beispiele}} / {{Fra|Bonnes pratiques & exemples}} ==
== Best practice & Examples / {{Deu|Empfohlene Anwendung & Beispiele}} / {{Fra|Bonnes pratiques & exemples}} ==


{{#if:|{{{bestpractice}}}|{{#if:|{{{example}}}|''Not yet described. / {{Deu|Noch nicht beschrieben.}} / {{Fra|Pas encore décrit.}}''}}}}
The following example (taken from SimpleExample) shows how a signal may reference a connected train protection element. The main signal "69A" is a combined signal that works as home signal for the station referenced by the ID "ocp01". This signal references a train protection element group:
<!--{{{bestpractice|''Not yet described. / {{Deu|Noch nicht beschrieben.}} / {{Fra|Pas encore décrit.}}''}}}-->
 
<!--
<syntaxhighlight lang="xml">
== Additional information / {{Deu|Zusätzliche Informationen}} / {{Fra|Information supplémentaire}}  ==
<signal id="tr03_si07" pos="3800" absPos="4300" dir="up"
-->
        name="69A" xml:lang="de"
        function="home" type="combined" ocpStationRef="ocp01">
  <trainProtectionElementGroupRef ref="tr03_tpeg01"/>
</signal>
</syntaxhighlight>
 
The referenced train protection element group contains one Indusi magnet, which is positioned at the same track location like the signal:
 
<syntaxhighlight lang="xml">
<trainProtectionElements>
  <trainProtectionElement id="tr03_tpe01" pos="3800" absPos="4300" dir="up"
                          medium="magnetic" trainProtectionSystem="Indusi"/>
  <trainProtectionElementGroup id="tr03_tpeg01">
    <trainProtectionElementRef ref="tr03_tpe01"/>
  </trainProtectionElementGroup>
</trainProtectionElements>
</syntaxhighlight>
 
== Notes / {{Deu|Anmerkungen}} / {{Fra|Notes}} ==
== Notes / {{Deu|Anmerkungen}} / {{Fra|Notes}} ==



Revision as of 19:03, 5 April 2017

Scheme description / Schemenbeschreibung /

Position of IS:trainProtectionElementGroupRef signal in the XML-Tree / Position von IS:trainProtectionElementGroupRef signal im XML-Baum /

  • Children: None

Semantics / Bedeutung /

Sub-element for a reference to a trainProtectionElementGroup, which is connected to the signal's aspect

Inherited attributes from other data types / Abgeleitete Attribute von anderen Datentypen /

None

Specific Attributes of IS:trainProtectionElementGroupRef signal / Spezielle Attribute von IS:trainProtectionElementGroupRef signal /

  • ref: reference is required because it's the purpose of the element

Constraints / Beschränkungen /

  • ref: tGenericRef

Best practice & Examples / Empfohlene Anwendung & Beispiele /

The following example (taken from SimpleExample) shows how a signal may reference a connected train protection element. The main signal "69A" is a combined signal that works as home signal for the station referenced by the ID "ocp01". This signal references a train protection element group:

<signal id="tr03_si07" pos="3800" absPos="4300" dir="up"
        name="69A" xml:lang="de"
        function="home" type="combined" ocpStationRef="ocp01">
  <trainProtectionElementGroupRef ref="tr03_tpeg01"/>
</signal>

The referenced train protection element group contains one Indusi magnet, which is positioned at the same track location like the signal:

<trainProtectionElements>
  <trainProtectionElement id="tr03_tpe01" pos="3800" absPos="4300" dir="up" 
                          medium="magnetic" trainProtectionSystem="Indusi"/>
  <trainProtectionElementGroup id="tr03_tpeg01">
    <trainProtectionElementRef ref="tr03_tpe01"/>
  </trainProtectionElementGroup>
</trainProtectionElements>

Notes / Anmerkungen /

Not yet described. / Noch nicht beschrieben. / Not yet described. / Noch nicht beschrieben. /

Open issues / Offene Punkte/Pedenzen /

Not yet described. / Noch nicht beschrieben. /