This object contains information about a device and a reference to the device if it is running. Use the methods in the
System Object to get a reference to device containers.
Instance Properties
IsDeviceEnabled
Gets a value indicating if the device is enabled.
Syntax:Property Value:A value indicating if the device is enabled.
IsDeviceRunning
Gets a value indicating if the device is running.
Syntax:Property Value:A value indicating if the device is running.
DeviceDisplayName
Gets a display name of the device.
Syntax:Property Value:The a display name of the device.
Instance Methods
GetDevice
Get the device (driver instance) associated with the device container. Attempting to retrieve a device that is not running will result in an error.
Syntax:Returns:A reference to the device.
Example:
// Get all lighting devices
devicesContainers = System.GetLightingDeviceContainers();
for (i=0; i < devicesContainers.Length; i++)
{
device = devicesContainers[i].GetDevice();
// ...
}