Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.IDirectDeviceAccess Interface Reference

Implement this interface if you need direct access to the list of configured devices. More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.IDirectDeviceAccess:

Properties

IEnumerable< IDeviceConfiguredDevices [set]
 List of IDevice for all configured devices in Chronos.
 

Detailed Description

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.

Property Documentation

◆ ConfiguredDevices

IEnumerable<IDevice> AxelSemrau.Chronos.Plugin.IDirectDeviceAccess.ConfiguredDevices
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.

435{ set; }

The documentation for this interface was generated from the following file: