TT:trainPartSequence train: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Die Seite wurde neu angelegt: {{elementDocu| elementName = trainPartSequence |semantics = The element {{TT:Doc|trainPartSequence}} groups all elements {{TT:Doc|trainPart}} belonging to a train. The ...)
 
mNo edit summary
Line 28: Line 28:


   <rail:train id="o242" type="operational" description="Berlin - Paris" trainNumber="242">
   <rail:train id="o242" type="operational" description="Berlin - Paris" trainNumber="242">
     <rail:trainPartSequence sequence="1"> <!-- Berlin to Hannover -->
     <rail:trainPartSequence sequence="1"> '''<-- Berlin to Hannover'''
       <rail:trainPartRef position="1" ref="CNL_242_1"/>
       <rail:trainPartRef position="1" ref="CNL_242_1"/>
       <rail:trainPartRef position="2" ref="CNL_1242_1"/>
       <rail:trainPartRef position="2" ref="CNL_1242_1"/>
     </rail:trainPartSequence>
     </rail:trainPartSequence>
     <rail:trainPartSequence sequence="2"> <!-- Hannover to Paris-Nord -->
     <rail:trainPartSequence sequence="2"> ''''<-- Hannover to Paris-Nord'''
       <rail:trainPartRef ref="CNL_242_2"/>
       <rail:trainPartRef ref="CNL_242_2"/>
   </rail:train>
   </rail:train>

Revision as of 11:48, 19 April 2010


trainPartSequence
 


Scheme description / Schemenbeschreibung

Position of trainPartSequence in the XML-Tree / Position von trainPartSequence im XML-Baum

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The element trainPartSequence groups all elements trainPart belonging to a train. The sequence herein is supposed to be used for successive parts along the train route. This is not to be mixed up with the sequence of rolling stock inside a train formation or a chronological sequence during an operating period or during a day. Therefore all referenced elements trainPart of a trainPartSequence should have the same starting point and end point. Otherwise you should define smaller (shorter) trainParts.

Das Element trainPartSequence gruppiert alle zu einem Zug gehörigen Elemente trainPart. Dabei ist die sequence im Sinne einer Abfolge der Betriebsstellen im Zuglauf zu verstehen. Dies darf nicht verwechselt werden mit der Abfolge der Zugteile innerhalb einer Zugkonfiguration und auch nicht mit der zeitlichen Abfolge von Betriebstagen innerhalb einer Verkehrsperiode. Die innerhalb einer trainPartSequence referenzierten Zuglaufteile trainPart müssen daher alle den gleichen Start- und Endpunkt aufweisen. Ansonsten müssen kleinere (kürzere) Zuglaufteile trainPart als Bausteine definiert werden.

Attributes of trainPartSequence / Attribute von trainPartSequence

  • sequence: the sequence of successive train parts along the train route (xs:integer, required)
  • pathStatus: status of train path, could be used if train is involved in a train paths allocation process (xs:string, optional)

Possible values:

  • planned
  • ordered
  • confirmed
  • detailsRefused
  • cancelled
  • notAvailable
  • other:anything

Syntactic Constraints / Syntaktische Beschränkungen

Not yet described. / Noch nicht beschrieben.

Best practice & Examples / Empfohlene Anwendung & Beispiele

Train City Night Line 242:

 <rail:train id="o242" type="operational" description="Berlin - Paris" trainNumber="242">
   <rail:trainPartSequence sequence="1"> <-- Berlin to Hannover
     <rail:trainPartRef position="1" ref="CNL_242_1"/>
     <rail:trainPartRef position="2" ref="CNL_1242_1"/>
   </rail:trainPartSequence>
   <rail:trainPartSequence sequence="2"> '<-- Hannover to Paris-Nord
     <rail:trainPartRef ref="CNL_242_2"/>
 </rail:train>

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.