addDevice Method

Top  Previous  Next

Adds a Device to a DeviceGroup.

Syntax

DeviceGroup.addDevice(ID)

DeviceGroup.addDevice(object)

Arguments

IDThe integer ID of the Device.
objectThe instance Device object to be added.

Return Value

None (undefined).

Remarks

If the Device is already in the DeviceGroup, it is not added again.

Examples

 

See Also