Chronos Plugins  5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
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. More...
 

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 428 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!

Definition at line 434 of file DeviceInterfaces.cs.

434 { set; }

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