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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 443
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 45
i.LON SmartServer 2.0 Programmer’s Reference
4-5
You can use additional filters in the xSelect statement to return a specific set of data points on the Data
Server. These filters include the data point’s <UCPTname> and <UCPTlastUpdate> properties, and its
position on the data server.
Request (return all data points on the internal SmartServer automated systems device [i.LON
App])
<List xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<xSelect>//Item[@xsi:type="Dp_Cfg"]
[starts-with(UCPTname,"Net/LON/iLON App")]
</xSelect>
</iLonItem>
</List>
Request (return the first 5 data points on the Net/LON/DIO-1/Digital Encoder functional block
that have been updated since 2008-03-17T00:00:00)
<List xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<xSelect>//Item[@xsi:type="Dp_Cfg"][position()&lt;5]
[starts-with(UCPTname,"Net/LON/DIO-1/Digital Encoder")]
[UCPTlastUpdate&gt;"2008-03-17T00:00:00"]
</xSelect>
</iLonItem>
</List>
Response
<ListResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<UCPTfaultCount>0</UCPTfaultCount>
<UCPTcurrentConfig>4.0</UCPTcurrentConfig>
<Item>
<UCPTname>Net/LON/DIO-3/Digital Encoder[0]/DE_D1_1</UCPTname>
<UCPTannotation>Dp_In;xsi:type=“LON_Dp_Cfg”</UCPTannotation>
<UCPThidden>0</UCPThidden>
</Item>
<Item>
<UCPTname>Net/LON/DIO-3/Digital Encoder[1]/DE_D1_2</UCPTname>
<UCPTannotation>Dp_In;xsi:type=“LON_Dp_Cfg”</UCPTannotation>
<UCPThidden>0</UCPThidden>
</Item>
<Item>
<UCPTname>Net/LON/DIO-3/Digital Encoder[0]/DE_D2_1</UCPTname>
<UCPTannotation>Dp_In;xsi:type=“LON_Dp_Cfg”</UCPTannotation>
<UCPThidden>0</UCPThidden>
</Item>
<Item>
<UCPTname>Net/LON/DIO-3/Digital Encoder[1]/DE_D2_2</UCPTname>
<UCPTannotation>Dp_In;xsi:type=“LON_Dp_Cfg”</UCPTannotation>
<UCPThidden>0</UCPThidden>
</Item>
<Item>
<UCPTname>Net/LON/DIO-3/Digital Encoder[0]/DE_D3_1</UCPTname>
<UCPTannotation>Dp_In;xsi:type=“LON_Dp_Cfg”</UCPTannotation>
<UCPThidden>0</UCPThidden>
</Item>
</iLonItem>
</ListResponse>
4.3.2
Using the Get Function on the Data Server
You can use the Get function to retrieve the configuration of any data point that you have added to the
SmartServer’s Data Server. The input parameters you supply to the function will include one or more
<Item> elements. Each <Item> element includes a <UCPTname> property that you can use to specify
the data point to be returned, as well as any number of child elements you can use to identify the data
points whose configurations are to be returned.
Vista de página 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 442 443

Comentários a estes Manuais

Sem comentários