Skip to content
Snippets Groups Projects
Commit cb1124b9 authored by Martin Killenberg's avatar Martin Killenberg
Browse files

simple rename xml for testing

parent aee84e8b
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<device_server xmlns="https://github.com/ChimeraTK/ControlSystemAdapter-DoocsAdapter">
<location name="DUMMY_LOCATION">
<property source="/A/b/cd/e" name="LOLO"/>
<property source="jo" name="yep"/>
</location>
</device_server>
<?xml version="1.0" encoding="UTF-8"?>
<doocs_variable_tree xmlns="https://github.com/ChimeraTK/ControlSystemAdapter-DoocsAdapter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://github.com/ChimeraTK/ControlSystemAdapter-DoocsAdapter doocs_variable_tree.xsd">
<facility>
<device>
<location>
<property source="A/b/cd/e">
<has_history/>
<is_constant/>
</property>
</location>
</device>
</facility>
</doocs_variable_tree>
......@@ -12,36 +12,27 @@
</xs:documentation>
</xs:annotation>
<xs:element name="doocs_variable_tree" type="DoocsTreeType"/>
<xs:complexType name="DoocsTreeType">
<xs:sequence>
<xs:element name="facility" type="FacilityType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FacilityType">
<xs:sequence>
<xs:element name="device" type="DeviceType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="device_server" type="DeviceType"/>
<xs:complexType name="DeviceType">
<xs:sequence>
<xs:element name="location" type="LocationType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:element name="location" type="LocationType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="import" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LocationType">
<xs:sequence>
<xs:element name="property" type="PropertyType" maxOccurs="unbounded"/>
<xs:element name="property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="import" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="PropertyType">
<xs:sequence>
<xs:element name="has_history" type="xs:boolean" default="true"/>
<xs:element name="is_constant" type="xs:boolean" default="false"/>
<xs:element name="has_history" type="xs:boolean" default="true" minOccurs="0"/>
<xs:element name="is_writeable" type="xs:boolean" default="true" minOccurs="0"/>
<xs:element name="spectrum" type="SpectrumType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="source" type="xs:string" use="required"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment