Difference between revisions of "Darwin:Train Order Element"
Jump to navigation
Jump to search
PeterHicks (talk | contribs) m (Tidy up content) |
|||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
A Train order message indicates the order in which trains are expected to call/pass a station platform. | A Train order message indicates the order in which trains are expected to call/pass a station platform. | ||
− | |||
− | |||
== Detail == | == Detail == | ||
Line 17: | Line 15: | ||
If the message is setting a new train order, the details of the order are in the 'tns' (TrainOrderData) element within the 'set' element. There can be up to three trains in the order, with each train identified by the RID and train ID (headcode). | If the message is setting a new train order, the details of the order are in the 'tns' (TrainOrderData) element within the 'set' element. There can be up to three trains in the order, with each train identified by the RID and train ID (headcode). | ||
+ | |||
+ | [[Category:National Rail Enquiries Data Feeds]] |
Revision as of 10:04, 18 March 2019
Train Order message
Overview
A Train order message indicates the order in which trains are expected to call/pass a station platform.
Detail
Train order messages are contained in an 'tor' (TrainOrder) element which has TIPLOC, CRS code, and platform attributes.
- The TIPLOC is the TIPLOC supplied by the provider of the train order, so it may not be the same as the TIPLOC in the schedules referenced in the message.
- The TIPLOC and those referenced in the schedules will have the same CRS code
The train Order message can set a new train order if it contains a 'set' element. Or it can clear the previous train order message if it has the 'clear' element.
If the message is setting a new train order, the details of the order are in the 'tns' (TrainOrderData) element within the 'set' element. There can be up to three trains in the order, with each train identified by the RID and train ID (headcode).