Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Innhold

Table of Contents

...

Delkansellering på starten av en strekning

Kjøretøyet er planlagt kansellert Vinstra - Dovre og kjørende Dovre - Trondheim.

Siden delkanselleringen er først i ruta, og denne alltid skal sendes komplett, må det sendes RecordedCalls for den kansellerte strekningen. Det sendes EstimatedCalls (før passering) / RecordedCalls (etter passering) på normal måte for den kjørende delen av ruta.

Før avgang

RecordedCall

For kansellert stopp

Code Block
languagexml
titleRecordedCall
linenumberstrue
<RecordedCall>
	<StopPointRef>NSR:Quay:709</StopPointRef>
	<Order>1</Order>
	<StopPointName>Vinstra</StopPointName>
	<Cancellation>true</Cancellation>
	<AimedDepartureTime>2018-04-18T13:05:00</AimedDepartureTime>
</RecordedCall>

EstimatedCall

For stopp som vil bli betjent

Merk at dette RecordedCall ikke er finnes i den komplette eksempel-XML'en, da dette er sanntids-datasettet innsendt etter at dette stoppet er betjent (se også RecordedCall under)

Code Block
languagexml
titleRecordedCall
linenumberstrue
<RecordedCall>
	<StopPointRef>NSR:Quay:1067</StopPointRef>
	<Order>4</Order>
	<StopPointName>Dovre</StopPointName>
	<AimedArrivalTime>2018-04-18T13:51:50</AimedArrivalTime>
	<ExpectedDepartureTime>2018-04-18T13:52:00</ExpectedDepartureTime>
	<ActualDepartureTime>2018-04-18T13:52:00</ActualDepartureTime>
</RecordedCall>

Etter avgang

RecordedCall

For allerede betjent stopp

Code Block
languagexml
titleRecordedCall
linenumberstrue
<RecordedCall>
	<StopPointRef>NSR:Quay:1067</StopPointRef>
	<Order>4</Order>
	<StopPointName>Dovre</StopPointName>
	<AimedArrivalTime>2018-04-18T13:51:50</AimedArrivalTime>
	<ExpectedDepartureTime>2018-04-18T13:52:00</ExpectedDepartureTime>
	<ActualDepartureTime>2018-04-18T13:52:00</ActualDepartureTime>
</RecordedCall>

EstimatedCall

For kommende stopp (re-estimert underveis)

Code Block
languagexml
titleRecordedCall
linenumberstrue
<EstimatedCall>
	<StopPointRef>NSR:Quay:519</StopPointRef>
	<Order>6</Order>
	<StopPointName>Oppdal</StopPointName>
	<RequestStop>false</RequestStop>
	<AimedArrivalTime>2018-04-18T14:59:00</AimedArrivalTime>
	<ExpectedArrivalTime>2018-04-18T15:03:00</ExpectedArrivalTime>
	<ArrivalStatus>onTime</ArrivalStatus>
	<ArrivalBoardingActivity>alighting</ArrivalBoardingActivity>
	<AimedDepartureTime>2018-04-18T15:02:00</AimedDepartureTime>
	<ExpectedDepartureTime>2018-04-18T15:05:00</ExpectedDepartureTime>
	<DepartureStatus>onTime</DepartureStatus>
	<DepartureBoardingActivity>boarding</DepartureBoardingActivity>
</EstimatedCall>

...