Eksempel 1: <EndTime> er satt.
Meldingen Innhold
Info |
---|
|
Se komplette eksempler for datainnsending: |
Tidsbegrenset ved opprettelse
<EndTime> er satt
Meldingen vil vises i sanntidsdatastrøm/-tjenester frem til tidpunktet i <EndTime>. Etter tidspunktet i <EndTime> er passert vil ikke meldingen vises lenger i sanntidsdatastrøm/-tjenester
Code Block |
---|
|
<PtSituationElement>
<CreationTime>2018-02-22T1111T11:40:33+01:00<29:31</CreationTime>
<ParticipantRef>NSB</ParticipantRef>
<SituationNumber>NSB:SituationNumber:status-53733</SituationNumber>
<Version>1</Version>
<Source>
<SourceType>directReport</SourceType>
</Source>
<Progress>open</Progress>
<ValidityPeriod>
<StartTime>2018-02-22T1111T11:40:11+01:00<33:11</StartTime>
<EndTime>2018-04-04T1622T22:55:40+02:00</EndTime>
</ValidityPeriod>
<UndefinedReason/>
<Priority>18</Priority>
<ReportType>general</ReportType>
<Description xml:lang="NO">Plattform 2 er ikke i bruk. Vær oppmerksom på at det kan bli sporendringer.</Description>
<Description xml:lang="EN">Platform 2 is closed. Track changes may occur.</Description>
<Affects>
<StopPoints>
<AffectedStopPoint>
<StopPoints>
<AffectedStopPoint>
<StopPointRef>NSR:StopPlace:652</StopPointRef>
<StopPointName>Dovre</StopPointName>
</AffectedStopPoint>
</StopPoints>
</Affects>
</PtSituationElement> |
...
Gyldig frem til ny melding avslutter den opprinnelige
<EndTime> er ikke satt
Code Block |
---|
|
<Progress>open</Progress>
<ValidityPeriod>
<StartTime>2018-02-22T1111T11:40:11+01:00<33:11</StartTime>
</ValidityPeriod> |
Meldingen vises i sanntidsdatastrøm/-tjenester inntil det sendes inn <progress>closed. (EndTime må være minimum 5 timer frem i tid)
Code Block |
---|
|
<Progress>closed</Progress>
<ValidityPeriod>
<StartTime>2018-02-22T1111T11:40:11+01:00<33:11</StartTime>
<EndTime>2018-0402-04T16:55:40+0212T20:10:00</EndTime>
</ValidityPeriod> |
...