Выполняет анализ заданных переключений на сети.
<xs:element name="zulu-server"> <xs:complexType> <xs:sequence> <xs:element name="Command"> <xs:complexType> <xs:choice> <xs:element name="NetworkAnalyzeSwitch" type="typeNetworkAnalyzeSwitch"/> </xs:choice> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="typeNetworkAnalyzeSwitch"> <xs:sequence> <xs:element name="Layer" type="typeLayer" minOccurs="1" maxOccurs="1"/> <xs:element name="Element" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:all> <xs:element name="ElemID" type="xs:integer"/> <xs:element name="Mode" type="xs:integer"/> </xs:all> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType>
<xs:element name="zwsResponse"> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0"> <xs:element name="NetworkAnalyzeSwitch" type="typeNetworkAnalyzeSwitchResponse"/> </xs:choice> <xs:element name="RetVal" type="xs:integer"/> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="typeNetworkAnalyzeSwitchResponse"> <xs:all> <xs:element name="Count" type="xs:integer"/> <xs:element name="Elements" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Element"> <xs:complexType> <xs:all> <xs:element name="ElemID" type="xs:integer"/> <xs:element name="State" type="typeStateFlag"/> </xs:all> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:all> </xs:complexType>
<?xml version="1.0" encoding="UTF-8"?> <zulu-server service="zws" version="1.0.0"> <Command> <NetworkAnalyzeSwitch> <Layer>riga:teplo</Layer> ` <Element> <ElemID>23792</ElemID> <Mode>2</Mode> </Element> </NetworkAnalyzeSwitch> </Command> </zulu-server>
<?xml version="1.0" encoding="UTF-8"?>
<zwsResponse>
<NetworkAnalyzeSwitch>
<Elements>
<Element>
<ElemID>19980</ElemID>
<State>off</State>
</Element>
<Element>
<ElemID>19998</ElemID>
<State>off</State>
</Element>
<Element>
<ElemID>20000</ElemID>
<State>off</State>
</Element>
<Element>
<ElemID>20002</ElemID>
<State>off</State>
</Element>
<Count>4</Count>
</Elements>
</NetworkAnalyzeSwitch>
<RetVal>4</RetVal>
</zwsResponse>