mirror of https://github.com/nymea/nymea.git
Merge PR #256: Cleanup Rule definition in introspection
commit
bfb14fe4ae
|
|
@ -44,9 +44,9 @@ namespace nymeaserver {
|
|||
class Rule
|
||||
{
|
||||
Q_GADGET
|
||||
Q_PROPERTY(QUuid id READ id WRITE setId USER true)
|
||||
Q_PROPERTY(QUuid id READ id)
|
||||
Q_PROPERTY(QString name READ name WRITE setName)
|
||||
Q_PROPERTY(bool active READ active USER true)
|
||||
Q_PROPERTY(bool active READ active)
|
||||
Q_PROPERTY(bool enabled READ enabled WRITE setEnabled USER true)
|
||||
Q_PROPERTY(bool executable READ executable WRITE setExecutable USER true)
|
||||
Q_PROPERTY(EventDescriptors eventDescriptors READ eventDescriptors WRITE setEventDescriptors USER true)
|
||||
|
|
|
|||
|
|
@ -2031,10 +2031,10 @@
|
|||
"o:eventDescriptors": "$ref:EventDescriptors",
|
||||
"o:executable": "Bool",
|
||||
"o:exitActions": "$ref:RuleActions",
|
||||
"o:id": "Uuid",
|
||||
"o:stateEvaluator": "$ref:StateEvaluator",
|
||||
"o:timeDescriptor": "$ref:TimeDescriptor",
|
||||
"r:o:active": "Bool"
|
||||
"r:active": "Bool",
|
||||
"r:id": "Uuid"
|
||||
},
|
||||
"RuleAction": {
|
||||
"o:actionTypeId": "Uuid",
|
||||
|
|
|
|||
Loading…
Reference in New Issue