TT:trainPart: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 12: Line 12:
|inheritedAttributes = see {{DocCO|tElementWithIDAndName}}
|inheritedAttributes = see {{DocCO|tElementWithIDAndName}}
*{{attr|id}}
*{{attr|id}}
*{{attr|code}}
*{{attr|name}}
*{{attr|name}}
*{{attr|description}}
*{{attr|description}}

Revision as of 12:35, 8 March 2011


trainPart
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The Element trainPart describes the most basic part of a train. Hence there is no changement of the formation or operating period allowed during a train parts route.

Das Element trainPart beschreibt die kleinste Einheit eines Zuges. Innerhalb des Laufweges eines trainPart sind daher keinerlei Wechsel der Zugkonfiguration oder der Verkehrsperiode möglich.

Attributes of trainPart / Attribute von trainPart

see Template:DocCO

  • id
  • code
  • name
  • description
  • line (> 2.0): the "train part line", which could be different from the "train line" (xs:string, optional)
  • trainLine (deprecated with 2.1): train line, used differntly (xs:string, optional)
  • trainNumber: train number (xs:string, optional)
  • additionalTrainNumber: train number appendix, used to provide uniqueness (xs:string, optional)
  • processStatus: attribute describing the train status in relation to a working process

Possible values:

  • planned
  • actual
  • calculated
  • toBeChecked
  • changed
  • imported
  • other:anything
  • debitcode: debtor code for finacial considerations (xs:integer, optional).
  • remarks: free remark for further description (xs:string, optional)
  • timetablePeriodRef: reference on a timetablePeriod (optional)
  • categoryRef: reference on a category (optional)
  • operator: train operator (xs:string, optional)

Syntactic Constraints / Syntaktische Beschränkungen

Not yet described. / Noch nicht beschrieben.

Best practice & Examples / Empfohlene Anwendung & Beispiele

Part of the City Night Line 242:

<rail:trainPart id="CNL_242_2" trainNumber="242" processStatus="actual" 
 description="CNL 242" timetablePeriodRef="J08" categoryRef="cCNL">
 <rail:ocpsTT>
 ...
 </rail:ocpsTT>
</rail:trainPart>

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.