Attribute Accessor
Description
Access sub-data of the argument.
Accessor on Scalar<Event>
Returns
Returns the event value, device id, device name, timestamp or forecast timestamp.
Remark: if there is no forecast timestamp, "0" is returned
Examples
Get the value of the event stored in the PowerConsumption Variable.
Accessor on Vector<any>
Returns
Returns the first or last element of the Vector as Scalar<any>
Examples
Get the first Event from the $PowerGeneration vector.
Accessor on Vector<Event>
Returns
Returns the set of event values, device ids, device names, timestamps or forecast timestamps.
Remark: if there is no forecast timestamp, "0" is returned
Examples
Get the values of all events in the vector $PowerConsumption as new Vector<Number>
Accessor on GroupedScalar<any, Event>
Returns
Returns the set of event values, device ids, device names, timestamps or forecast timestamps, grouped by device or time spans.
Examples
Get the values of all events in the group $PowerConsumption as new Vector<Number>
Accessor on GroupedScalar<Device, any>
Returns
Returns the device id or name of the device which is part of the GroupedScalar key.
Examples
Get all device names from all the devices in the $PowerConsumption group.
Accessor on GroupedScalar<any, any>
Returns
Returns the value of the group as new Vector<any>.
Examples
Get all Values from the $PowerConsumption group.
Accessor on GroupedVector<any, any>
Returns
Returns a GroupedScalar, which holds the first or last value of each group.
Examples
Get all Values from the $PowerConsumption group.
Accessor on GroupedVector<any, Event>
Returns
Returns the values, device ids, device names, timestamps or forecast timestamps of all events in the group and return as new GroupedVector<Number>.
Examples
Get the values of all events in the group $PowerConsumption as new Vector<Number>
Accessor on GroupedVector<Device, any>
Returns
Returns the device ids or device names of all devices which are the groups key, and return as new Vector<Text>.
Examples
Get all device names from all the devices in the $PowerConsumption group.
Accessor on Building
Returns
Selects the event related building, and returns the specified building data, such as the building id, the registration date when the building was registered, or the types of all devices.
Examples
Get all device types from the event related device.
Last updated