Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Implement this interface if you need direct access to the list of configured devices. More...
Properties | |
IEnumerable< IDevice > | ConfiguredDevices [set] |
List of IDevice for all configured devices in Chronos. | |
Implement this interface if you need direct access to the list of configured devices.
You should really know what you are doing if you use this, be really careful not to interfer with toolboxes and sequence execution. The recommended way to use devices is the ITaskForDevice or IToolbox. A possible scenario for using this interface would be a sample list worker (IWorkWithSampleLists, INeedToRunSampleLists) that monitors some external lines using a device and uses that as a trigger for sample list generation / start. Use this if you want to subscribe to device list changes. If you only need access at a certain time, there's the newer Helpers.Devices access path. Another scenario would be a device specific consumables manager that needs to be informed about added/removed devices of a supported type.
Definition at line 429 of file DeviceInterfaces.cs.
|
set |
List of IDevice for all configured devices in Chronos.
Use with caution!
Implemented in MockPlugin.Consumables.CoffeeConsumableManager, MockPlugin.Device.DeviceSurveillance, and MockPlugin.SampleList.MockSampleListWorker.
Definition at line 435 of file DeviceInterfaces.cs.