IDeviceManagerAddDevice(Metadata) Method |
Creates a device of from given metadata.
Namespace: RAYLASE.Marker.DeviceAssembly: RAYLASE.Marker.Device (in RAYLASE.Marker.Device.dll) Version: 2.32.0
SyntaxBaseDeviceController AddDevice(
Metadata metadata
)
Parameters
- metadata Metadata
- The device metadata containing the type and the category.
Return Value
BaseDeviceControllerA new instance of the device.
Exceptions| Exception | Condition |
|---|
| KeyNotFoundException | Category is invalid. |
| KeyNotFoundException | Concrete type is invalid. |
See Also