Click or drag to resize

DeviceGroupT Methods

The DeviceGroupT type exposes the following members.

Methods
 NameDescription
Public methodAdd Adds a device to this group. All devices added must be on the same transport (e.g. a controller's Cresnet interface, a controller's RF gateway, an RF gateway). The first device added (either after the device group is created or after all devices have been removed from the group) determines the the group designated transport that all other added devices must be on. Devices must implement the appropriate IGroupableDevice interface (e.g. IGroupableDevice for a ShadeGroup) for device group. Devices cannot be added to separate groups that have the same group ID number. No devices can be at ID 255 on the group designated transport. There can be up to 252 groups on each transport. Devices must be registered after they are added to group. Group ID numbers must be unique per transport. For example if two groups are created with the ID 5 and then one of two different devices that are on the same transport are added added to each group an exception will be thrown with the second add attempt because it will be detected that there is already a group at ID 5 on the transport. At that point the group can either be disposed or another device that is on a different transport can be added to it.
Public methodClear Clears group.
Public methodContains(T) Determines if this collection contains the specified value.
Public methodContains(UInt32) Determines if this collection contains the specified key.
Public methodDispose Dispose of the device group.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Device group destructor.
(Overrides ObjectFinalize)
Public methodGetEnumerator Enumerator for the Crestron Collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove Removes a device from the device group.
Public methodToString Returns the group type and group ID.
(Overrides ObjectToString)
Top
See Also