Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New AnalogRadioService and updated VideoRecordingService #27

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions IBIS-IP_AnalogRadioService_V2.4.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0"?>
<!-- Mit XMLSpy v2018 sp1 (x64) (http://www.altova.com) von Torsten Franke (IVU Traffic Technologies AG) bearbeitet -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="IBIS-IP_common_V2.3.xsd"/>
dirkweisser marked this conversation as resolved.
Show resolved Hide resolved
<!--==== AnalogueRadioService Operations ====-->
<xs:group name="AnalogRadioServiceOperations">
<xs:sequence>
<!--=====================================================-->
<!--=== Operation related to the AnalogRadioService ===-->
<!--=====================================================-->
<!-- this operation is used to send a telegram from the Onboard unit to the analo radio device -->
<xs:element name="AnalogRadioService.SendTelegram" type="AnalogRadioService.RadioTelegramStructure"/>
</xs:sequence>
</xs:group>
<!--===================================================================================-->
<!--=== Defition of operation and data structures related to the AnalogRadioService ===-->
<!--===================================================================================-->
<!--=== SendTelegram Request ===-->
<xs:element name="AnalogRadioService.SendTelegram" type="AnalogRadioService.RadioTelegramStructure"/>
<xs:complexType name="AnalogRadioService.RadioTelegramStructure">
<xs:sequence>
<xs:element name="RawTelegram" type="IBIS-IP.string"/>
<xs:element name="AnalogChannel" type="IBIS-IP.unsignedInt"/>
<xs:element name="Bitrate" type="BitrateEnumeration"/>
<xs:element name="Repeats" type="IBIS-IP.unsignedInt" minOccurs="0"/>
<xs:element name="MaxRepeatInterval" type="IBIS-IP.unsignedInt" minOccurs="0"/>
<xs:element name="Transmitter" type="TransmitterStructure" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TransmitterStructure">
<xs:sequence>
<xs:element name="LeadTime" type="IBIS-IP.unsignedInt" minOccurs="0"/>
<xs:element name="HoldTime" type="IBIS-IP.unsignedInt" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="BitrateEnumeration">
<xs:restriction base="xs:string">
<xs:enumeration value="1200"/>
<xs:enumeration value="2400"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
68 changes: 68 additions & 0 deletions IBIS-IP_VideoRecordingService_V2.4.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0"?>
<!-- DResearch VideoServices v2.0 naming according to VDV 301 v2.0, Dipl.-Ing (FH) Peter Schüßler, MBA (DResearch Fahrzeugelektronik GmbH), 2018-01-12 -->
<!-- Include this XSD Scheme to use the IBIS-IP VideoRecordingService (request of information of all available video sources in the IBIS-IP system) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="IBIS-IP_common_V2.0.xsd"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<xs:include schemaLocation="IBIS-IP_common_V2.0.xsd"/>
<xs:include schemaLocation="IBIS-IP_common_V2.4.xsd"/>

<xs:include schemaLocation="IBIS-IP_Enumerations_V2.0.xsd"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<xs:include schemaLocation="IBIS-IP_Enumerations_V2.0.xsd"/>
<xs:include schemaLocation="IBIS-IP_Enumerations_V2.4.xsd"/>

<!--==== VideoRecording Enumerations- Operations ====-->
<xs:simpleType name="VideoRecordingStateEnumeration">
<xs:restriction base="xs:string">
<xs:enumeration value="RRM"/>
<xs:enumeration value="ERM"/>
<xs:enumeration value="RRMFUT"/>
<xs:enumeration value="ERMFUT"/>
<xs:enumeration value="OFF"/>
<xs:enumeration value="PAUSE"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RecordingSystemStartStopModeEnumeration">
<xs:restriction base="xs:string">
<xs:enumeration value="IBIS-IP"/>
<xs:enumeration value="CVCU"/>
</xs:restriction>
</xs:simpleType>
<!--==== VideoRecordingService - Operations ====-->
<xs:group name="VideoRecordingServiceGroup">
<xs:sequence>
<xs:element name="VideoRecordingService.StartRecordingRRMResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<xs:element name="VideoRecordingService.StartRecordingERMResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<xs:element name="VideoRecordingService.PauseRecordingRRMRequest" type="VideoRecordingService.PauseRecordingRRMRequestStruture"/>
<xs:element name="VideoRecordingService.PauseRecordingRRMResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<xs:element name="VideoRecordingService.StopRecordingResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<xs:element name="VideoRecordingService.ForceStopRecordingResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<xs:element name="VideoRecordingService.GetVideoRecordingStateResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
</xs:sequence>
</xs:group>
<!--=== ServiceDefinitions ===-->
<!--++ StartRecordingRRM ++-->
<xs:element name="VideoRecordingService.StartRecordingRRMResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<xs:complexType name="VideoRecordingService.VideoRecordingStateResponseStructure">
<xs:choice>
<xs:element name="VideoRecordingState" type="VideoRecordingStateStructure"/>
<xs:element name="OperationErrorMessage" type="IBIS-IP.string"/>
</xs:choice>
</xs:complexType>
<!--++ StartRecordingERM ++-->
<xs:element name="VideoRecordingService.StartRecordingERMResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<!--++ PauseRecordingRRM ++-->
<xs:element name="VideoRecordingService.PauseRecordingRRMRequest" type="VideoRecordingService.PauseRecordingRRMRequestStruture"/>
<xs:complexType name="VideoRecordingService.PauseRecordingRRMRequestStruture">
<xs:choice>
<xs:element name="PauseInterval" type="IBIS-IP.int"/>
</xs:choice>
</xs:complexType>
<xs:element name="VideoRecordingService.PauseRecordingRRMResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<!--++ StopRecording ++-->
<xs:element name="VideoRecordingService.StopRecordingResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<!--++ ForceStopRecording ++-->
<xs:element name="VideoRecordingService.ForceStopRecordingResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<!--++ GetVideoRecordingState ++-->
<xs:element name="VideoRecordingService.GetVideoRecordingStateResponse" type="VideoRecordingService.VideoRecordingStateResponseStructure"/>
<xs:complexType name="VideoRecordingStateStructure">
<xs:sequence>
<xs:element name="State" type="VideoRecordingStateEnumeration"/>
<xs:element name="AlarmArchiveFillLevel" type="IBIS-IP.int" minOccurs="0"/>
<xs:element name="StartStopMode" type="RecordingSystemStartStopModeEnumeration" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>