Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Helper factories for utility classes implemented within Chronos. More...
Public Member Functions | |
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. | |
T | CreateView< T > () |
Create the standard view for one of the WPF/ViewModels classes. | |
IInspectJob | CreateDummyJobInspector () |
Needed by the CTC Task SDK. | |
Helper factories for utility classes implemented within Chronos.
Definition at line 276 of file Helpers.cs.
IInspectJob AxelSemrau.Chronos.Plugin.IUtilityFactories.CreateDummyJobInspector | ( | ) |
Needed by the CTC Task SDK.
System.IO.Ports.SerialPort AxelSemrau.Chronos.Plugin.IUtilityFactories.CreateSafeSerialPort | ( | ) |
Returns a modified serial port class instance that avoids some problems of the original component.
Contains currently a workaround for an "ObjectDisposedException" on a background thread that causes the whole program to crash on garbage collection. Happens only after some kinds of errors and not with all serial port types.
T AxelSemrau.Chronos.Plugin.IUtilityFactories.CreateView< T > | ( | ) |
Create the standard view for one of the WPF/ViewModels classes.
T |
T | : | FrameworkElement |
T AxelSemrau.Chronos.Plugin.IUtilityFactories.CreateViewModel< T > | ( | ) |
Create a working instance for one of the abstract classes in WPF/ViewModels.
T |
T | : | class |