Chronos Plugins
5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Static instance for access to utility functions and resources. More...
Properties | |
static Version | ApiVersion = new Version(1,0,0) [get] |
From Chronos 5.2 on: A plugin API version you can check if you want to give understandable error messages in case of mismatch. This is NOT the Chronos version, and it is incremented in the sense of semantic versioning: More... | |
static IGuiHelper | Gui [get, set] |
Utility functions for window handling More... | |
static IDebugHelper | Debug [get, set] |
Utility functions for debugging More... | |
static IConfigInfo | Config [get, set] |
Information about general program configuration, standard folders and similar. More... | |
static IEnumerable< IDeviceInfo > | Devices [get, set] |
static IUtilityFactories | UtilityFactories [get, set] |
Helper class factories, see the members for details. More... | |
static IStorageInspector | Storage [get, set] |
Inspect stored data like methods... More... | |
static IConsumables | Consumables [get, set] |
Access to consumables managers, if they are present. More... | |
static ILicenseChecker | LicenseChecker [get, set] |
Helps optional Chronos components understand their environment. More... | |
static ResourceDictionary | WpfResources = new ChronosResources() [get] |
Resources for WPF controls that should make it easier to keep a common look and feel. More... | |
static IEnumerable< IAcquisitionServiceBase > | AcquisitionServices [get, set] |
Available acquisition service instances. More... | |
Static instance for access to utility functions and resources.
Definition at line 79 of file Helpers.cs.
|
staticgetset |
Available acquisition service instances.
Definition at line 146 of file Helpers.cs.
|
staticget |
From Chronos 5.2 on: A plugin API version you can check if you want to give understandable error messages in case of mismatch. This is NOT the Chronos version, and it is incremented in the sense of semantic versioning:
Definition at line 89 of file Helpers.cs.
|
staticgetset |
Information about general program configuration, standard folders and similar.
summary> Information about configured devices and their states /summary>
Definition at line 104 of file Helpers.cs.
Referenced by MockPlugin.Tasks.DumpConfigInfo.Execute().
|
staticgetset |
Access to consumables managers, if they are present.
Definition at line 127 of file Helpers.cs.
|
staticgetset |
Utility functions for debugging
Definition at line 99 of file Helpers.cs.
Referenced by MockPlugin.Misc.MockLicenseCheckAttribute.CheckLicense(), MockPlugin.Consumables.CoffeeConsumableManager.CoffeeConsumableManager(), and MockPlugin.SampleList.MockSampleListWorker.DoYourJob().
|
staticgetset |
Definition at line 109 of file Helpers.cs.
|
staticgetset |
Utility functions for window handling
Definition at line 94 of file Helpers.cs.
Referenced by MockPlugin.Device.MockDevice.Connect(), MockPlugin.Tasks.ShowSomeGreeting.DemoExecute(), MockPlugin.Device.MockDevice.Disconnect(), MockPlugin.SampleList.MockSampleListWorker.DoYourJob(), MockPlugin.Tasks.JobInspectionDemo.Execute(), MockPlugin.Tasks.ShowSomeGreeting.Execute(), MockPlugin.SampleList.MockSampleListWorker.HandleAbortButton(), MockPlugin.SampleList.MockSampleListWorker.HandleStopButton(), MockPlugin.SampleList.RemotePluginService.HostFaultedHandler(), MockPlugin.SampleList.MockSampleListWorker.MockSampleListWorker(), MockPlugin.Device.MockDevice.OnIsConnectedChanged(), MockPlugin.Tasks.ShowSomeGreeting.PostValidate(), MockPlugin.Tasks.JobInspectionDemo.PreValidate(), MockPlugin.Tasks.ShowSomeGreeting.PreValidate(), and MockPlugin.Device.MockDevice.ShowTheMessage().
|
staticgetset |
Helps optional Chronos components understand their environment.
Definition at line 132 of file Helpers.cs.
|
staticgetset |
Inspect stored data like methods...
To be extended on demand.
Definition at line 122 of file Helpers.cs.
|
staticgetset |
Helper class factories, see the members for details.
Definition at line 114 of file Helpers.cs.
Referenced by MockPlugin.Misc.MockLicenseCheckAttribute.CheckLicense().
|
staticget |
Resources for WPF controls that should make it easier to keep a common look and feel.
You should add this in the constructor of your WPF elements to the Resources.MergedDictionaries. Do not refer to this using a pack:// URI, this can cause problems during debugging and will miss runtime updates.
Definition at line 140 of file Helpers.cs.