Chapter 12 XML interface
Result:
<Result>
<mydatalognanoamrid id="A1526911CF9CCAA0" stamp="8.2.2013 11:48:16">
<name title="Name">Site1</name>
</mydatalognanoamrid>
<mydatalognanoamrid id="A1617F03900A44F3" stamp="8.2.2013 11:54:52">
<name title="Name">Site2</name>
</mydatalognanoamrid>
</Result>
12.3.1.1.5 Data retrieval including index specifications
Only the following index specifications are supported:
Index
Explanation
[0]
First data record (with the oldest time stamp)
[last()-1]
Last data record (with the latest time stamp)
Other index specifications, such as
[5]
or
[last()-2]
are invalid.
12.3.1.1.5.1 Example
The following example provides the first data record of a myDatalogNANOamr type site that is called
"Site1".
https://server-URL:8080/mydatalognanoamrid[name='Site1']/mydatalognanoamr_data[0]
?user=u1&password=p1
Result:
<Result>
<measurement_values id="F10001C000000000" stamp="9.4.2013 09:30:00">
<tag>00006000</tag>
<context title="Site">A19D60AC2883F9B3</context>
<flags title="Flags">0000000000000000</flags>
<ch1 title="Meter number 1" units="m³">0.0000</ch1>
<ch2 title="Meter number 2" units="m³"/>
<ch3 title="Meter number 3" units="m³"/>
<ch4 title="Meter number 4" units="m³"/>
<ch5 title="Channel 5" units="m³"/>
<calc60 title="Flow rate 1" units="%" calc="1"/>
<calc61 title="Flow rate 2" units="%" calc="1"/>
<calc62 title="Flow rate 3" units="%" calc="1"/>
<calc63 title="Flow rate 4" units="%" calc="1"/>
<calc64 title="Calculation channel 5" units="%" calc="1"/>
<gsm_level title="GSM level" units="dBm">-57</gsm_level>
<voltage title="Battery" units="V">3.51</voltage>
<battery title="Battery [%]" units="%">31</battery>
</measurement_values>
</Result>
Explanation:
Rev. 01
97
Содержание myDatalogNANOamr
Страница 2: ......
Страница 9: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 9 ...
Страница 10: ......
Страница 12: ......
Страница 20: ......
Страница 40: ......
Страница 56: ...9 2 2 4 GPRS SIM tariff Selected SIM tariff 56 Rev 01 ...
Страница 64: ......
Страница 80: ...wire_color1 wire_color4 Specifies the colours of the pair of wires for the meter input read only 80 Rev 01 ...
Страница 106: ......
Страница 112: ......
Страница 122: ......
Страница 123: ...Chapter 17 Document history Chapter 17 Document history Rev Date Changes 01 26 04 2013 First version Rev 01 123 ...
Страница 124: ......