2using System.Collections.Generic;
19 #region Implementation of IWorkWithSampleLists
30 #region Implementation of IDirectDeviceAccess
41 Trace(
"** Start device list dump");
42 foreach (var someDev
in value)
44 Trace($
"{someDev.Name} of type {someDev.GetType().FullName}, connection state {Helpers.Devices.Single(info => info.Device == someDev).ConnectionState}");
46 Trace(
"** End device list dump");
56 #region Implementation of ITraceLogger
58 public event EventHandler<TraceWriteEventArgs>
TraceWrite;
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
A fake device. This namespace contains the fake device driver and auxiliary classes for settings,...
Implement this interface if you need direct access to the list of configured devices.
For future extension (categories, priorities...)
Writes some text to the trace log.
For plugins that want to manipulate or run sample lists.
Shows how you can directly interact with all configured devices.
Icon ButtonIcon
Shown in the button, preferred size 22x22.
EventHandler< TraceWriteEventArgs > TraceWrite
IEnumerable< IDevice > ConfiguredDevices
List of IDevice for all configured devices in Chronos.
string ButtonCaption
Shown on the sample list page.
void DoYourJob()
Will be triggered when the user clicks on the button. The button will be disabled until you return fr...