add shutter interfaces

This commit is contained in:
Michael Zanetti 2018-06-04 10:34:47 +02:00
parent f710d7febb
commit f160a92f92
5 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,3 @@
{
"extends": "simpleclosable"
}

View File

@ -2,7 +2,7 @@
"states": [
{
"name": "state",
"type": "String",
"type": "QString",
"allowedValues": ["open", "closed", "opening", "closing"]
}
],

View File

@ -30,6 +30,8 @@
<file>closable.json</file>
<file>door.json</file>
<file>shutter.json</file>
<file>simpleclosable.json</file>
<file>blind.json</file>
</qresource>
<qresource prefix="/"/>
</RCC>

View File

@ -1,3 +1,3 @@
{
"extends": "closable"
"extends": "simpleclosable"
}

View File

@ -0,0 +1,13 @@
{
"actions": [
{
"name": "open"
},
{
"name": "close"
},
{
"name": "stop"
}
]
}