IS:uptime: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Note for <status> highlighted) |
(added semantics of @mode) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
|semantics = | |semantics = | ||
The element {{IS:Tag|uptime}} defines daytime constraints for the current {{IS:Doc|ocp}}. | The element {{IS:Tag|uptime}} defines daytime constraints for the current {{IS:Doc|ocp}}. | ||
|ownAttributes = | |ownAttributes = | ||
* {{Attr|from}} is the start time for the given {{Attr|mode}}. When referring to midnight at the beginning of the day, please use "00:00:00". | * {{Attr|from}} is the start time for the given {{Attr|mode}}. When referring to midnight at the beginning of the day, please use "00:00:00". | ||
* {{Attr|until}} is the end time for the given {{Attr|mode}}. When referring to midnight at the end of the day, please use "24:00:00". | * {{Attr|until}} is the end time for the given {{Attr|mode}}. When referring to midnight at the end of the day, please use "24:00:00". | ||
* {{Attr|mode}} extension of <state> to specify staff and temporary disabling. Possible values are: | |||
* {{Attr|mode}} Possible values are: | |||
:* {{Enum|manned}}: The {{tag|IS|ocp}} is operational/usable and staffed with IM's personnel ready for operation on site (in the area of the {{tag|IS|ocp}}). | :* {{Enum|manned}}: The {{tag|IS|ocp}} is operational/usable and staffed with IM's personnel ready for operation on site (in the area of the {{tag|IS|ocp}}). | ||
:* {{Enum|unmanned}}: The {{tag|IS|ocp}} is operational/usable and not staffed with on site personnel by the IM. Even if the {{tag|IS|ocp}} is not controlled or is remote controlled by any staff of the IM and there is no staff of the IM available in the area of the {{tag|IS|ocp}}. | :* {{Enum|unmanned}}: The {{tag|IS|ocp}} is operational/usable and not staffed with on site personnel by the IM. Even if the {{tag|IS|ocp}} is not controlled or is remote controlled by any staff of the IM and there is no staff of the IM available in the area of the {{tag|IS|ocp}}. | ||
Line 24: | Line 21: | ||
|notes_de = | |notes_de = | ||
}} | }} | ||
* {{attr|operatingPeriodRef}}: {{intro|2.5}} reference to the operating period defined in the timetable part | |||
* {{attr|endDayOffset}}: {{intro|2.5}} define an offset greater than 0 if the end of the time span is not on the same day like the begin of the time span | |||
|constraints = | |constraints = | ||
* {{Attr|from}}: {{XsdType|time}}, mandatory | * {{Attr|from}}: {{XsdType|time}}, mandatory | ||
* {{Attr|until}}: {{XsdType|time}}, mandatory | * {{Attr|until}}: {{XsdType|time}}, mandatory | ||
* {{Attr|mode}}: {{railMLType|tOcpManMode}}; mandatory | * {{Attr|mode}}: {{railMLType|tOcpManMode}}; mandatory | ||
* {{constraint|operatingPeriodRef|rml|tGenericRef}} | |||
* {{constraint|endDayOffset|xsd|nonNegativeInteger}} | |||
|backHome = IS:elements | |backHome = IS:elements | ||
|semcon= | |semcon= |
Latest revision as of 09:27, 21 March 2023
uptime
Schema description / Schemenbeschreibung
Position of uptime in the XML-Tree / Position von uptime im XML-Baum
- Parent: <propOperational>
- Children: None
Multiplicity / Anzahl
Semantics / Bedeutung
The element <uptime> defines daytime constraints for the current ocp.
Please, be aware of the semantic constraint(s)!
Attributes of uptime / Attribute von uptime
- from is the start time for the given mode. When referring to midnight at the beginning of the day, please use "00:00:00".
- until is the end time for the given mode. When referring to midnight at the end of the day, please use "24:00:00".
- mode extension of <state> to specify staff and temporary disabling. Possible values are:
- manned: The <ocp> is operational/usable and staffed with IM's personnel ready for operation on site (in the area of the <ocp>).
- unmanned: The <ocp> is operational/usable and not staffed with on site personnel by the IM. Even if the <ocp> is not controlled or is remote controlled by any staff of the IM and there is no staff of the IM available in the area of the <ocp>.
- off: The <ocp> is temporarily not operational/usable. No information about local staff is given by this value.
Please note that a long-term non-defined or permanent disabling of an <ocp> will be expressed via <ocp><propOther><state>@status={disabled|closed}.
- other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
- operatingPeriodRef: (introduced with version 2.5) reference to the operating period defined in the timetable part
- endDayOffset: (introduced with version 2.5) define an offset greater than 0 if the end of the time span is not on the same day like the begin of the time span
Syntactic Constraints / Syntaktische Beschränkungen
- from: xs:time, mandatory
- until: xs:time, mandatory
- mode: union of (restriction of xs:string, tOtherEnumerationValue); tOtherEnumerationValue is an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML® enumeration lists; mandatory
- operatingPeriodRef: tGenericRef (xs:IDREF); optional
- endDayOffset: xs:nonNegativeInteger; optional
Semantic Constraints / Semantische Beschränkungen
|
|
|
Best practice & Examples / Empfohlene Anwendung & Beispiele
As from and until are mandatory, a mode for the whole day must be specified from="00:00:00" until="24:00:00"
.
Notes / Anmerkungen
Not yet described. / Noch nicht beschrieben.
Open issues / Offene Punkte/Pendenzen
Not yet described. / Noch nicht beschrieben.