Устанавливает режим объекта слоя
<xs:element name="zulu-server"> <xs:complexType> <xs:sequence> <xs:element name="Command"> <xs:complexType> <xs:choice> <xs:element name="SetElemState" type="typeSetElemState"/> </xs:choice> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="typeSetElemState"> <xs:all> <xs:element name="Layer" type="typeLayer"/> <xs:element name="ElemID" type="typeListOfIntegers"/> <xs:element name="Type" type="xs:integer" minOccurs="0"/> <xs:element name="Mode" type="xs:integer"/> </xs:all> </xs:complexType>
<xs:element name="zwsResponse"> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0"> <xs:element name="SetElemState"/> </xs:choice> <xs:element name="RetVal" type="xs:integer"/> </xs:sequence> </xs:complexType> </xs:element>
<?xml version="1.0" encoding="UTF-8"?> <zulu-server service="zws" version="1.0.0"> <Command> <SetElemState> <Layer>riga:teplo</Layer> <ElemID>19943</ElemID> <Type>3</Type> <Mode>2</Mode> </SetElemState> </Command> </zulu-server>
<?xml version="1.0" encoding="UTF-8" ?>
<zwsResponse>
<SetElemState />
<RetVal>0</RetVal>
</zwsResponse>