Echelon i.LON SmartServer 2.0 Manual do Utilizador Página 32

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 443
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 31
i.LON SmartServer 2.0 Programmer’s Reference
2-18
<p:UCPTprocessingTime>20</p:UCPTprocessingTime>
</p:messageProperties>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<WriteResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem >
<UCPTfaultCount>0</UCPTfaultCount>
<Item xsi:type="Dp_Data" >
<UCPTname>Net/LON/iLON App/Digital Input 1/nvoClsValue_1</UCPTname>
<UCPTannotation>Dp_Out;xsi:type=&quot;LON_Dp_Cfg&quot;</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTaliasName>NVL_nvoClsValue_1</UCPTaliasName>
<UCPTvalue LonFormat="#0000000000000000[0].SNVT_switch" >100.0 1</UCPTvalue>
<UCPTvalue LonFormat="UCPTvalueDef" >ON</UCPTvalue>
</Item>
</iLonItem>
</WriteResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
2.10.3
Data Log Read
You can read the contents of the alarm logs and data logs stored on the SmartSever. The following
example demonstrates how to use the Read function to read the elements in a Data Log.
Request Message
<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<p:messageProperties xmlns:p="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<p:UCPTtimeStamp>2008-04-08T10:28:36.840-07:00</p:UCPTtimeStamp>
<p:UCPTuniqueId>0300000A5BF2</p:UCPTuniqueId>
<p:UCPTipAddress>10.2.124.53</p:UCPTipAddress>
<p:UCPTport>80</p:UCPTport>
<p:UCPTlastUpdate>2008-04-07T23:45:19Z</p:UCPTlastUpdate>
<p:UCPTprocessingTime>54</p:UCPTprocessingTime>
</p:messageProperties>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<Read xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<xSelect>//Item [@xsi:type="UFPTdataLogger_Data"]
[UCPTlastUpdate &gt; "2008-04-08T00:00:00.000"
and UCPTlastUpdate &lt;= "2008-04-08T12:00:00.000"]
[position()&lt; 3]
</xSelect>
<Item>
<UCPTname>Net/LON/iLON App/Data Logger[0]</UCPTname>
</Item>
</iLonItem>
</Read>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response Message
<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header>
<p:messageProperties xmlns:p="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<p:UCPTtimeStamp>2008-04-08T11:30:31.272-07:00</p:UCPTtimeStamp>
<p:UCPTuniqueId>0300000A5BF2</p:UCPTuniqueId>
<p:UCPTipAddress>10.2.124.53</p:UCPTipAddress>
<p:UCPTport>80</p:UCPTport>
<p:UCPTlastUpdate>2008-04-08T18:22:52Z</p:UCPTlastUpdate>
<p:UCPTprocessingTime>83</p:UCPTprocessingTime>
Vista de página 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 442 443

Comentários a estes Manuais

Sem comentários