UPnP-Robair-Sensor1: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<pre> </pre>") |
No edit summary |
||
| Line 1: | Line 1: | ||
<pre> |
<pre> |
||
<scpd> |
|||
<serviceStateTable> |
|||
<stateVariable> |
|||
<name>Name</name> |
|||
<sendEventsAttribute>no</sendEventsAttribute> |
|||
<dataType>string</dataType> |
|||
</stateVariable> |
|||
<stateVariable> |
|||
<Optional/> |
|||
<name>Application</name> |
|||
<sendEventsAttribute>no</sendEventsAttribute> |
|||
<dataType>string</dataType> |
|||
</stateVariable> |
|||
<stateVariable> |
|||
<name>Value</name> |
|||
<sendEventsAttribute>yes</sendEventsAttribute> |
|||
<dataType>float</dataType> |
|||
</stateVariable> |
|||
<stateVariable> |
|||
<Optional/> |
|||
<name>Error</name> |
|||
<sendEventsAttribute>yes</sendEventsAttribute> |
|||
<dataType>float</dataType> |
|||
</stateVariable> |
|||
<stateVariable> |
|||
<!-- International System of Units http://en.wikipedia.org/wiki/SI_base_unit --> |
|||
<Optional/> |
|||
<name>Unit</name> |
|||
<sendEventsAttribute>no</sendEventsAttribute> |
|||
<dataType>string</dataType> |
|||
<allowedValueList> |
|||
<!-- Base Units --> |
|||
<allowedValue>m</allowedValue> |
|||
<allowedValue>kg</allowedValue> |
|||
<allowedValue>A</allowedValue> |
|||
<allowedValue>K</allowedValue> |
|||
<allowedValue>cd</allowedValue> |
|||
<allowedValue>mol</allowedValue> |
|||
<allowedValue>s</allowedValue> |
|||
<!-- Derived Units http://en.wikipedia.org/wiki/SI_derived_units --> |
|||
<!-- TODO --> |
|||
</allowedValueList> |
|||
</stateVariable> |
|||
<stateVariable> |
|||
<Optional/> |
|||
<name>Timestamp</name> |
|||
<sendEventsAttribute>yes</sendEventsAttribute> |
|||
<dataType>date</dataType> |
|||
</stateVariable> |
|||
</serviceStateTable> |
|||
<actionList> |
|||
<action> |
|||
<name>GetName</name> |
|||
<argumentList> |
|||
<argument> |
|||
<name>CurrentName</name> |
|||
<direction>out</direction> |
|||
<relatedStateVariable>Name</relatedStateVariable> |
|||
<retval/> |
|||
</argument> |
|||
</argumentList> |
|||
</action> |
|||
<action> |
|||
<Optional/> |
|||
<name>GetApplication</name> |
|||
<argumentList> |
|||
<argument> |
|||
<name>CurrentApplication</name> |
|||
<direction>out</direction> |
|||
<relatedStateVariable>Application</relatedStateVariable> |
|||
<retval/> |
|||
</argument> |
|||
</argumentList> |
|||
</action> |
|||
<action> |
|||
<name>GetCurrentValue</name> |
|||
<argumentList> |
|||
<argument> |
|||
<name>CurrentValue</name> |
|||
<direction>out</direction> |
|||
<relatedStateVariable>Value</relatedStateVariable> |
|||
</argument> |
|||
<argument> |
|||
<name>CurrentError</name> |
|||
<direction>out</direction> |
|||
<relatedStateVariable>Error</relatedStateVariable> |
|||
</argument> |
|||
<argument> |
|||
<name>Unit</name> |
|||
<direction>out</direction> |
|||
<relatedStateVariable>Unit</relatedStateVariable> |
|||
</argument> |
|||
<argument> |
|||
<name>Timestamp</name> |
|||
<direction>out</direction> |
|||
<relatedStateVariable>Timestamp</relatedStateVariable> |
|||
</argument> |
|||
</argumentList> |
|||
</action> |
|||
</actionList> |
|||
</scpd> |
|||
</pre> |
</pre> |
||
Revision as of 22:52, 10 August 2012
<scpd>
<serviceStateTable>
<stateVariable>
<name>Name</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>string</dataType>
</stateVariable>
<stateVariable>
<Optional/>
<name>Application</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>string</dataType>
</stateVariable>
<stateVariable>
<name>Value</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>float</dataType>
</stateVariable>
<stateVariable>
<Optional/>
<name>Error</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>float</dataType>
</stateVariable>
<stateVariable>
<!-- International System of Units http://en.wikipedia.org/wiki/SI_base_unit -->
<Optional/>
<name>Unit</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>string</dataType>
<allowedValueList>
<!-- Base Units -->
<allowedValue>m</allowedValue>
<allowedValue>kg</allowedValue>
<allowedValue>A</allowedValue>
<allowedValue>K</allowedValue>
<allowedValue>cd</allowedValue>
<allowedValue>mol</allowedValue>
<allowedValue>s</allowedValue>
<!-- Derived Units http://en.wikipedia.org/wiki/SI_derived_units -->
<!-- TODO -->
</allowedValueList>
</stateVariable>
<stateVariable>
<Optional/>
<name>Timestamp</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>date</dataType>
</stateVariable>
</serviceStateTable>
<actionList>
<action>
<name>GetName</name>
<argumentList>
<argument>
<name>CurrentName</name>
<direction>out</direction>
<relatedStateVariable>Name</relatedStateVariable>
<retval/>
</argument>
</argumentList>
</action>
<action>
<Optional/>
<name>GetApplication</name>
<argumentList>
<argument>
<name>CurrentApplication</name>
<direction>out</direction>
<relatedStateVariable>Application</relatedStateVariable>
<retval/>
</argument>
</argumentList>
</action>
<action>
<name>GetCurrentValue</name>
<argumentList>
<argument>
<name>CurrentValue</name>
<direction>out</direction>
<relatedStateVariable>Value</relatedStateVariable>
</argument>
<argument>
<name>CurrentError</name>
<direction>out</direction>
<relatedStateVariable>Error</relatedStateVariable>
</argument>
<argument>
<name>Unit</name>
<direction>out</direction>
<relatedStateVariable>Unit</relatedStateVariable>
</argument>
<argument>
<name>Timestamp</name>
<direction>out</direction>
<relatedStateVariable>Timestamp</relatedStateVariable>
</argument>
</argumentList>
</action>
</actionList>
</scpd>