Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
Introduction to Chronos Plugins

From version 4 on, Chronos supports a plugin model. A Chronos plugin is a .NET assembly containing classes which implement interfaces mentioned in this documentation. At the current state of implementation, you can use this plugin model to write:

This documentation explains the interface definitions found in the AxelSemrau.Chronos.Plugin namespace and demonstrates the implementation techniques by showing the implementation of the accessible functionality for a mock device. Additionally, it provides a very basic example how to communicate between an external program and your plugin, as the multitude of options of communication frameworks and possible transport protocols can be quite confusing. The device using task also gives a basic idea about how to make your tasks localization aware.

In order to refer to the plugin interface types, add Chronos.exe to your project's references. The source code for our example mock plugin can be checked out from GitHub. If you want to build this plugin, please:

  1. Add Chronos.exe to the references and make sure you that "local copy" is set to false.
  2. Set the build output folder to the "plugins" subdirectory of the folder containing Chronos.exe.
  3. Make sure you have write permissions for this folder.
  4. In the debugging options, use "run external program" and enter the path to Chronos.exe there.
  5. Add a reference to PalPlusDriverBase.dll from the 3rdParty folder to your project. Set "local copy" to false.