Name | Type | Description |
---|---|---|
json |
Object | optional Json object describing the object event |
Properties:
Name | Type | Description |
---|---|---|
isSystem |
boolean | Boolean indicating if it is an event system |
idEvent |
number | ID of the event |
parameters |
Array.<SystemParameter> | All the parameters values |
reactions |
Array.<SystemObjectReaction> | List of all the reactions according to states ID |
Methods
-
Read the JSON associated to the object event
Name Type Description json
Object Json object describing the object event -
Check if this event is equal to another
Name Type Description event
SystemObjectEvent The event to compare Returns:
Type Description boolean -
Add reactions to the event
Name Type Description reactions
Object The reactions to add