mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
1.8 KiB
99 lines
1.8 KiB
<?xml version="1.0"?>
|
|
<scpd xmlns="urn:schemas-upnp-org:service-1-0">
|
|
|
|
<specVersion>
|
|
<major>1</major>
|
|
<minor>0</minor>
|
|
</specVersion>
|
|
<serviceStateTable>
|
|
|
|
<stateVariable>
|
|
<name>Power</name>
|
|
<dataType>Boolean</dataType>
|
|
<defaultValue>0</defaultValue>
|
|
</stateVariable>
|
|
|
|
<stateVariable>
|
|
<name>Level</name>
|
|
<dataType>i4</dataType>
|
|
<allowedValueRange>
|
|
<minimum>0</minimum>
|
|
<maximum>10</maximum>
|
|
<step>1</step>
|
|
</allowedValueRange>
|
|
<defaultValue>0</defaultValue>
|
|
</stateVariable>
|
|
|
|
</serviceStateTable>
|
|
|
|
<actionList>
|
|
|
|
<action>
|
|
<name>PowerOn</name>
|
|
</action>
|
|
|
|
<action>
|
|
<name>PowerOff</name>
|
|
</action>
|
|
|
|
<action>
|
|
<name>SetLevel</name>
|
|
<argumentList>
|
|
<argument>
|
|
<name>NewLevel</name>
|
|
<relatedStateVariable>Level</relatedStateVariable>
|
|
<direction>in</direction>
|
|
</argument>
|
|
</argumentList>
|
|
</action>
|
|
|
|
<action>
|
|
<name>IncreaseLevel</name>
|
|
</action>
|
|
|
|
<action>
|
|
<name>DecreaseLevel</name>
|
|
</action>
|
|
|
|
<action>
|
|
<name>Test</name>
|
|
<argumentList>
|
|
<argument>
|
|
<name>Multiplier</name>
|
|
<direction>in</direction>
|
|
<relatedStateVariable>Level</relatedStateVariable>
|
|
</argument>
|
|
<argument>
|
|
<name>OldValue</name>
|
|
<direction>out</direction>
|
|
<relatedStateVariable>Level</relatedStateVariable>
|
|
<retval/>
|
|
</argument>
|
|
<argument>
|
|
<name>NewValue</name>
|
|
<direction>out</direction>
|
|
<relatedStateVariable>Level</relatedStateVariable>
|
|
</argument>
|
|
</argumentList>
|
|
</action>
|
|
|
|
</actionList>
|
|
|
|
|
|
</scpd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|