com.apama.cumulocity
Event Operation


An operation to send to a device.

Examples:
 send Operation("12345","deviceId", "PENDING", {"c8y_Meassage":{"text":"Hello Cumulocity device"}}) to Operation.CHANNEL; 
send Operation("12345","deviceId", "PENDING", {"c8y_RelayArray":["CLOSED","OPEN","CLOSED","OPEN"]}) to Operation.CHANNEL;
send Operation("12345", "deviceId", "PENDING", {"c8y_Meassage":{"text":"Hello cumulocity"},"c8y_Relay":{"relayState":"CLOSED"}}) to Operation.CHANNEL;

Constant Summary
 constant stringCHANNEL := "CumulocityIoT"

Channel to send the events to.
 
Member Summary
 stringid

Unique identifier for this Operation.
 stringsource

Identifier of the ManagedObject to send the operation to.
 stringstatus

Status of the operation : one of SUCCESSFUL, FAILED, EXECUTING or PENDING.
 dictionary<string, any >params

Any extra parameters available on the Operation.
 
Constant Detail

CHANNEL

constant string CHANNEL := "CumulocityIoT"
Channel to send the events to.
Member Detail

id

string id
Unique identifier for this Operation.

Supply as empty if creating a new Operation

params

dictionary<string, any > params
Any extra parameters available on the Operation.

source

string source
Identifier of the ManagedObject to send the operation to.

status

string status
Status of the operation : one of SUCCESSFUL, FAILED, EXECUTING or PENDING.