Skip to content
Snippets Groups Projects
Commit 6b38e9cd authored by Reto Da Forno's avatar Reto Da Forno
Browse files

new tag <pins> added to xml validation template

parent d7d62c04
No related branches found
No related tags found
No related merge requests found
......@@ -151,9 +151,7 @@ $javascript = '<link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.20.cu
while ($row = mysqli_fetch_array($rs)) {
$i++;
echo ($i%2 == 1) ? "<tr class='even'>" : "<tr class='odd'>";
if ($row['observer_id'] < 10 )
echo "<td>00";
elseif ($row['observer_id'] < 100 )
if ($row['observer_id'] < 10)
echo "<td>0";
else
echo "<td>";
......
......@@ -206,7 +206,10 @@
<xs:complexType name="gpioTracingConfType">
<xs:sequence>
<xs:element name="obsIds" type="obsIdListRestType"/>
<xs:element name="pinConf" type="gpioTracingPinConfType" minOccurs="1" maxOccurs="unbounded"/>
<xs:choice>
<xs:element name="pinConf" type="gpioTracingPinConfType" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="pins" type="pinTracingListType"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="gpioTracingPinConfType">
......@@ -362,6 +365,10 @@
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="pinTracingListType">
<xs:list itemType="pinTracingType"/>
</xs:simpleType>
<!-- Type definition for actuation enabled GPIOs -->
<xs:simpleType name="pinActType">
<xs:restriction base="xs:string">
......
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