Echelon LonBridg Server Instrukcja Użytkownika Strona 36

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 67
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 35
30 LonBridge API
</xs:complexType>
</xs:element>
<xs:element name="is_new">
<xs:complexType>
<xs:anyAttribute />
</xs:complexType>
</xs:element>
<xs:element name="is_pending">
<xs:complexType>
<xs:anyAttribute />
</xs:complexType>
</xs:element>
<xs:element name="lon">
<xs:complexType>
<xs:choice>
<xs:element ref="discover" />
<xs:element ref="error" />
<xs:element ref="get" />
<xs:element ref="is" />
<xs:element ref="is_new" />
<xs:element ref="is_pending" />
<xs:element ref="set" />
<xs:any minOccurs="0" />
</xs:choice>
<xs:anyAttribute/>
</xs:complexType>
</xs:element>
<xs:element name="set">
<xs:complexType>
<xs:attribute name="id" type="xs:NMTOKEN" use="optional" />
<xs:attribute name="state" type="xs:NMTOKEN" use="optional" />
<xs:anyAttribute />
</xs:complexType>
</xs:element>
</xs:schema>
Examples
Example for the <get> Message:
Query object 57:
<lon>
<o57.get/>
</lon>
...
<lon>
<lon1.o57.is type="light" name="Outdoor Lights"
state="on" brightness="100" address="488484393"/>
</lon>
Select attributes:
<lon>
<get select="name,state,brightness" where="type=='light'
and name=='/S.*/'"/>
Przeglądanie stron 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 66 67

Komentarze do niniejszej Instrukcji

Brak uwag