Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
MockUseDeviceTasks.cs File Reference

Go to the source code of this file.

Classes

class  MockPlugin.Tasks.CoffeeMachineBaseTask
 Base class for our example, just contains some empty default implementations and a check for the right device type. More...
 
class  MockPlugin.Tasks.CoffeeCategory
 Custom category in the method editor for coffee making related tasks. More...
 
class  MockPlugin.Tasks.BrewCoffee
 Calls a method of the device class with one if its task parameters. More...
 
class  MockPlugin.Tasks.BrewFrappuccino
 A task working on a complex parameter set. More...
 
class  MockPlugin.Tasks.BrewFrappuccino.CompositionData
 Let's pretend the composition is really complex and better done with a custom editor. More...
 
class  MockPlugin.Tasks.BrewFrappuccino.CompositionEditor
 Provide an editor for our complex parameter set, the standard component model way. More...
 
class  MockPlugin.Tasks.PretendCoffeeMachineIsBroken
 This task will trigger a timer in our device which will make it complain about an error situation, even if at that time no task is trying to use it. More...
 
class  MockPlugin.Tasks.CoffeeMachineDoesNotWorkProperly
 In contrast to PretendCoffeeMachineIsBroken, this simulates an error that an autosampler could have while it is used by a task. More...
 

Namespaces

namespace  MockPlugin
 An example Chronos plugin. This plugin demonstrates how to write plugins for Chronos. It should give you a rough idea how different things can be done, and which interfaces are needed to provide funtionality.
 
namespace  MockPlugin.Tasks
 Example task implementations. Since there are lots of things that can be done from a task, the demo was split into many different examples each showing only few facets of what's possible. If you still think this is confusing, please let us know where we could simplify these examples.