返回目录页面
参考 A Latitude ON Flash XML 架构
下列仅供参考。
DVM 远程命令 XSD 文件 (DVMRemoteCMD.xsd)
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="dvmCmd">
<xs:restriction base="xs:string">
<xs:enumeration value="deleteUser" />
<xs:enumeration value="resetUser" />
<xs:enumeration value="changePassword" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="cmdType">
<xs:choice>
<xs:element name="singleUser">
<xs:complexType>
<xs:attribute name="action" type="dvmCmd" use="required" />
<xs:attribute name="user" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="allUser">
<xs:complexType>
<xs:attribute name="action" type="dvmCmd" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="configPassword">
<xs:complexType>
<xs:attribute name="interval" type="xs:unsignedInt" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="configPower">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="battery">
<xs:complexType>
<xs:attribute name="backlight" type="xs:unsignedInt" use="required" />
<xs:attribute name="poweroff" type="xs:unsignedInt" use="required" />
</xs:complexType>
</xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="acpower">
<xs:complexType>
<xs:attribute name="backlight" type="xs:unsignedInt" use="required" />
<xs:attribute name="poweroff" type="xs:unsignedInt"
use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="cmdstoreType">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="cmd" type="cmdType" />
</xs:sequence>
</xs:complexType>
<xs:element name="cmdstore" type="cmdstoreType" />
</xs:schema>