]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
added definitions for repeating registers
authorJan Michel <j.michel@gsi.de>
Fri, 28 Jun 2013 09:41:37 +0000 (11:41 +0200)
committerJan Michel <j.michel@gsi.de>
Fri, 28 Jun 2013 09:41:37 +0000 (11:41 +0200)
xml-db/database/TrbNet.xsd

index 924a417f1c01a400a8e7717edbd8faeccdfcb583..c4c93f729e92d787b85ab7fcf4301c1f5d74dc6b 100644 (file)
@@ -47,6 +47,7 @@
 
 <xs:simpleType name="formattype">
  <xs:restriction base="xs:string">
+    <xs:enumeration value="raw"/>
     <xs:enumeration value="integer"/>
     <xs:enumeration value="signed"/>
     <xs:enumeration value="unsigned"/>
@@ -74,6 +75,7 @@
 <xs:attribute name="value"        type="valuetype" />
 <xs:attribute name="format"       type="formattype" />
 <xs:attribute name="continuous"   type="xs:boolean" />
+<xs:attribute name="repeat"       type="xs:positiveInteger" default="1" />
 
 
 <!--==============================
     <xs:attribute ref="size" />
     <xs:attribute ref="function" />
     <xs:attribute ref="continuous" />
-    <xs:attribute ref="defaultValue" />
+    <xs:attribute ref="mode" />
     <xs:attribute ref="format" />
+    <xs:attribute ref="repeat" />
   </xs:complexType>
 </xs:element> 
 
     <xs:attribute ref="mode" />
     <xs:attribute ref="defaultValue" />
     <xs:attribute ref="format" />
+    <xs:attribute ref="repeat" />
   </xs:complexType>
 </xs:element> 
 
     <xs:attribute ref="address" />
     <xs:attribute ref="mode" />
     <xs:attribute ref="function" />
+    <xs:attribute ref="repeat" />
   </xs:complexType>
 </xs:element>