Chronos Plugins 5.9.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(1,4,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: | |
static IGuiHelper | Gui [get, set] |
Utility functions for window handling. | |
static IDebugHelper | Debug [get, set] |
Utility functions for debugging. | |
static IConfigInfo | Config [get, set] |
Information about general program configuration, standard folders and similar. | |
static IEnumerable< IDeviceInfo > | Devices [get, set] |
static IUtilityFactories | UtilityFactories [get, set] |
Helper class factories, see the members for details. | |
static IStorageInspector | Storage [get, set] |
Inspect stored data like methods... | |
static IConsumables | Consumables [get, set] |
Access to consumables managers, if they are present. | |
static ILicenseChecker | LicenseChecker [get, set] |
Helps optional Chronos components understand their environment. | |
static ResourceDictionary | WpfResources = new ChronosResources() [get] |
Resources for WPF controls that should make it easier to keep a common look and feel. | |
static IEnumerable< IAcquisitionServiceBase > | AcquisitionServices [get, set] |
Available acquisition service instances. | |
static ILoadPathExtender | LoadPathExtender [get, set] |
Helps dealing with assemblies in different locations. | |
Static instance for access to utility functions and resources.
Definition at line 77 of file Helpers.cs.
|
staticgetset |
Available acquisition service instances.
Definition at line 144 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 87 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 102 of file Helpers.cs.
Referenced by MockPlugin.Tasks.DumpConfigInfo.Execute().
|
staticgetset |
Access to consumables managers, if they are present.
Definition at line 125 of file Helpers.cs.
|
staticgetset |
Utility functions for debugging.
Definition at line 97 of file Helpers.cs.
Referenced by MockPlugin.Misc.MockLicenseCheckAttribute.CheckLicense(), MockPlugin.Consumables.CoffeeConsumableManager.CoffeeConsumableManager(), and MockPlugin.SampleList.MockSampleListWorker.DoYourJob().
|
staticgetset |
Definition at line 107 of file Helpers.cs.
|
staticgetset |
Utility functions for window handling.
Definition at line 92 of file Helpers.cs.
Referenced by MockPlugin.Tasks.ShowSomeGreeting.DemoExecute(), MockPlugin.SampleList.MockSampleListWorker.DoYourJob(), MockPlugin.Tasks.JobInspectionDemo.Execute(), MockPlugin.Tasks.ShowSomeGreeting.Execute(), MockPlugin.SampleList.MockSampleListWorker.HandleAbortButton(), MockPlugin.SampleList.MockSampleListWorker.HandleStopButton(), MockPlugin.SampleList.MockSampleListWorker.MockSampleListWorker(), MockPlugin.Tasks.ShowSomeGreeting.PostValidate(), MockPlugin.Tasks.JobInspectionDemo.PreValidate(), and MockPlugin.Tasks.ShowSomeGreeting.PreValidate().
|
staticgetset |
Helps optional Chronos components understand their environment.
Definition at line 130 of file Helpers.cs.
|
staticgetset |
Helps dealing with assemblies in different locations.
Definition at line 148 of file Helpers.cs.
|
staticgetset |
Inspect stored data like methods...
To be extended on demand.
Definition at line 120 of file Helpers.cs.
|
staticgetset |
Helper class factories, see the members for details.
Definition at line 112 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 138 of file Helpers.cs.