Commit 51fa4b6e authored by Michael Weinrich's avatar Michael Weinrich
Browse files

Added service templates for Dimming and SwitchPower

parent d481934c
<scpd>
<serviceStateTable>
<stateVariable>
<name>LoadLevelTarget</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>ui1</dataType>
<defaultValue>0</defaultValue>
<allowedValueRange>
<minimum>0</minimum>
<maximum>100</maximum>
</allowedValueRange>
</stateVariable>
<stateVariable>
<name>LoadLevelStatus</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>ui1</dataType>
<defaultValue>0</defaultValue>
<allowedValueRange>
<minimum>0</minimum>
<maximum>100</maximum>
</allowedValueRange>
</stateVariable>
<stateVariable>
<name>MinLevel</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>ui1</dataType>
<defaultValue>0</defaultValue>
<allowedValueRange>
<minimum>0</minimum>
<maximum>100</maximum>
</allowedValueRange>
</stateVariable>
<stateVariable>
<Optional />
<name>OnEffectLevel</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>ui1</dataType>
<defaultValue>100</defaultValue>
<allowedValueRange>
<minimum>0</minimum>
<maximum>100</maximum>
</allowedValueRange>
</stateVariable>
<stateVariable>
<Optional />
<name>OnEffect</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>string</dataType>
<defaultValue>Default</defaultValue>
<allowedValueList>
<allowedValue>OnEffectLevel</allowedValue>
<allowedValue>LastSetting</allowedValue>
<allowedValue>Default</allowedValue>
</allowedValueList>
</stateVariable>
<stateVariable>
<Optional />
<name>ValidOutputValues</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>string</dataType>
</stateVariable>
<stateVariable>
<Optional />
<name>StepDelta</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>ui1</dataType>
<defaultValue> Manufacturer defined default value </defaultValue>
<allowedValueRange>
<minimum>1</minimum>
<maximum>100</maximum>
</allowedValueRange>
</stateVariable>
<stateVariable>
<Optional />
<name>RampRate</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>ui1</dataType>
<defaultValue>0</defaultValue>
<allowedValueRange>
<minimum>0</minimum>
<maximum>100</maximum>
</allowedValueRange>
</stateVariable>
<stateVariable>
<Optional />
<name>RampTime</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>ui4</dataType>
<defaultValue>0</defaultValue>
<allowedValueRange>
<minimum>0</minimum>
<maximum>4294967295</maximum>
</allowedValueRange>
</stateVariable>
<stateVariable>
<Optional />
<name>IsRamping</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>boolean</dataType>
<defaultValue>0</defaultValue>
</stateVariable>
<stateVariable>
<Optional />
<name>RampPaused</name>
<sendEventsAttribute>yes</sendEventsAttribute>
<dataType>boolean</dataType>
<defaultValue>0</defaultValue>
</stateVariable>
</serviceStateTable>
<actionList>
<action>
<name>SetLoadLevelTarget</name>
<argumentList>
<argument>
<name>newLoadlevelTarget</name>
<direction>in</direction>
<relatedStateVariable>LoadLevelTarget</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>GetLoadLevelTarget</name>
<argumentList>
<argument>
<name>GetLoadlevelTarget</name>
<direction>out</direction>
<relatedStateVariable>LoadLevelTarget</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>GetLoadLevelStatus</name>
<argumentList>
<argument>
<name>retLoadlevelStatus</name>
<direction>out</direction>
<relatedStateVariable>LoadLevelStatus</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>SetOnEffectLevel</name>
<argumentList>
<argument>
<name>newOnEffectLevel</name>
<direction>in</direction>
<relatedStateVariable>OnEffectLevel</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>SetOnEffect</name>
<argumentList>
<argument>
<name>newOnEffect</name>
<direction>in</direction>
<relatedStateVariable>OnEffect</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>GetOnEffectParameters</name>
<argumentList>
<argument>
<name>retOnEffect</name>
<direction>out</direction>
<relatedStateVariable>OnEffect</relatedStateVariable>
</argument>
<argument>
<name>retOnEffectLevel</name>
<direction>out</direction>
<relatedStateVariable>OnEffectLevel</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>StepUp</name>
</action>
<action>
<Optional />
<name>StepDown</name>
</action>
<action>
<Optional />
<name>StartRampUp</name>
</action>
<action>
<Optional />
<name>StartRampDown</name>
</action>
<action>
<Optional />
<name>StopRamp</name>
</action>
<action>
<Optional />
<name>StartRampToLevel</name>
<argumentList>
<argument>
<name>newLoadLevelTarget</name>
<direction>in</direction>
<relatedStateVariable>LoadLevelTarget</relatedStateVariable>
</argument>
<argument>
<name>newRampTime</name>
<direction>in</direction>
<relatedStateVariable>RampTime</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>SetStepDelta</name>
<argumentList>
<argument>
<name>newStepDelta</name>
<direction>in</direction>
<relatedStateVariable>StepDelta</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>GetStepDelta</name>
<argumentList>
<argument>
<name>retStepDelta</name>
<direction>out</direction>
<relatedStateVariable>StepDelta</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>SetRampRate</name>
<argumentList>
<argument>
<name>newRampRate</name>
<direction>in</direction>
<relatedStateVariable>RampRate</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>GetRampRate</name>
<argumentList>
<argument>
<name>retRampRate</name>
<direction>out</direction>
<relatedStateVariable>RampRate</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>PauseRamp</name>
</action>
<action>
<Optional />
<name>ResumeRamp</name>
</action>
<action>
<Optional />
<name>GetIsRamping</name>
<argumentList>
<argument>
<name>retIsRamping</name>
<direction>out</direction>
<relatedStateVariable>IsRamping</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>GetRampPaused</name>
<argumentList>
<argument>
<name>retRampPaused</name>
<direction>out</direction>
<relatedStateVariable>RampPaused</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<Optional />
<name>GetRampTime</name>
<argumentList>
<argument>
<name>retRampTime</name>
<direction>out</direction>
<relatedStateVariable>RampTime</relatedStateVariable>
</argument>
</argumentList>
</action>
</actionList>
</scpd>
<scpd>
<serviceStateTable>
<stateVariable>
<name>Target</name>
<sendEventsAttribute>no</sendEventsAttribute>
<dataType>boolean</dataType>
<defaultValue>0</defaultValue>
</stateVariable>
<stateVariable>
<name>Status</name>
<dataType>boolean</dataType>
<defaultValue>0</defaultValue>
</stateVariable>
</serviceStateTable>
<actionList>
<action>
<name>SetTarget</name>
<argumentList>
<argument>
<name>NewTargetValue</name>
<direction>in</direction>
<relatedStateVariable>Target</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>GetTarget</name>
<argumentList>
<argument>
<name>RetTargetValue</name>
<direction>out</direction>
<relatedStateVariable>Target</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>GetStatus</name>
<argumentList>
<argument>
<name>ResultStatus</name>
<direction>out</direction>
<relatedStateVariable>Status</relatedStateVariable>
</argument>
</argumentList>
</action>
</actionList>
</scpd>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment