2using System.Collections.Generic;
5using System.Windows.Forms;
6using System.Windows.Threading;
107 public static IEnumerable<IDeviceInfo>
Devices {
get;
internal set; }
138 public static ResourceDictionary
WpfResources {
get; } =
new ChronosResources();
255 IReadOnlyList<ITrayInfo>
Trays {
get; }
298 T CreateView<T>() where T: FrameworkElement;
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
ConnectionState
If your connectivity state changes, you should tell the user about it.
Information regarding the currently active configuration. These classes reflect configuration informa...
For centralized access to all consumables.
To be implemented by the "device driver" part of a Chronos plugin.
Helper functions for GUI related tasks.
bool MainWindowEnabled
Allows you to temporarily disable all user interaction with the Chronos main window.
System.Threading.Tasks.TaskScheduler GuiThreadScheduler
Use this scheduler to do actions on the thread that owns the main GUI.
void OwnMyWindow(IntPtr handle)
Make the window with the given handle owned by the Chronos main window. This prevents it from droppin...
Dispatcher GuiDispatcher
The dispatcher that is used for WPF operations on the main GUI thread.
System.Threading.Tasks.TaskFactory GuiTaskFactory
For your convenience, a default task factory for tasks running on the GUI thread.
IWin32Window MainWindow
If you need to set the owner window yourself or want to show message boxes.
Utility functions for debugging purposes.
void TraceWriteExceptionInfo(string contextHint, Exception ex)
Logs exception details to the trace log, including a stack trace and, if applicable,...
void TraceWrite(string text, params object[] arguments)
Write something to the Chronos trace log.
Static instance for access to utility functions and resources.
static IGuiHelper Gui
Utility functions for window handling.
static IEnumerable< IAcquisitionServiceBase > AcquisitionServices
Available acquisition service instances.
static Version ApiVersion
From Chronos 5.2 on: A plugin API version you can check if you want to give understandable error mess...
static IConfigInfo Config
Information about general program configuration, standard folders and similar.
static IEnumerable< IDeviceInfo > Devices
static ResourceDictionary WpfResources
Resources for WPF controls that should make it easier to keep a common look and feel.
static ILoadPathExtender LoadPathExtender
Helps dealing with assemblies in different locations.
static IStorageInspector Storage
Inspect stored data like methods...
static IUtilityFactories UtilityFactories
Helper class factories, see the members for details.
static IConsumables Consumables
Access to consumables managers, if they are present.
static IDebugHelper Debug
Utility functions for debugging.
static ILicenseChecker LicenseChecker
Helps optional Chronos components understand their environment.
Information about license validity and type.
string ComputerId
Unique identifier for this computer.
ILicenseInfo GetLicenseInfo(string licenseCode)
Give information regarding some Chronos style license code.
Providing an opportunity for future extension. Made available via dependency injection.
Details about a Chronos style license.
string Serial
The license code for which the information is provided.
bool IsValid
Check if the license code is formally correct. Does not check any date restrictions.
int ProductId
Axel Semrau internal product numbers.
bool ActivationMatches(string activationCode)
Checks if the given activation code matches the license and the current machine.
DateTime IssueDate
Official license issue date.
IMethodInfo Method(string path)
Get information about a method.
IMethodInfo Method(Stream method)
Get information about a method.
Get information about the currently active configuration.
string PathToInstrumentConfig
Full path to the folder where the active Chronos instrument configuration is stored.
IReadOnlyList< ITrayInfo > Trays
Some general information about the configured trays and other accessible objects.
string PathToMethods
Full path to the standard method folder chosen by the user. Can be null or empty.
string PathToSampleLists
Full path to the standard sample list folder chosen by the user. Can be null or empty.
Gives access to information about a device and its connection state, if known.
IDevice Device
The device.
Helper factories for utility classes implemented within Chronos.
IInspectJob CreateDummyJobInspector()
Needed by the CTC Task SDK.
System.IO.Ports.SerialPort CreateSafeSerialPort()
Returns a modified serial port class instance that avoids some problems of the original component.
T CreateViewModel< T >()
Create a working instance for one of the abstract classes in WPF/ViewModels.
Allows loading assemblies from specific paths.
Allows to get information about other tasks within our task's job and about other jobs.
Information about the method that was used to create this job.