13 #region Implementation of ITask
28 var sb =
new StringBuilder();
29 sb.AppendLine($
"Path to methods: {info.PathToMethods}");
30 sb.AppendLine($
"Default sample lists location: {info.PathToSampleLists}");
31 sb.AppendLine($
"Location of instrument configuration: {info.PathToInstrumentConfig}");
33 sb.AppendLine(
"Trays:");
34 foreach (var tray
in info.Trays)
36 sb.AppendLine($
"{tray.Name} on sampler {tray.Sampler?.ToString() ?? "N/A
"}, valid indices {tray.FirstIndex} - {tray.LastIndex} ({tray.NoOfPositions} total)");
41 public string GetTaskAction() =>
"Dump some configuration information to the runlog";
45 #region Implementation of IHaveRunlogOutput
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
Example task implementations. Since there are lots of things that can be done from a task,...
Static instance for access to utility functions and resources.
static IConfigInfo Config
Information about general program configuration, standard folders and similar.
Implement this interface if you have messages for our run log.
To be implemented by the "task" part of a Chronos plugin. Public properties of the implementing type ...
This tasks uses the config helper to access some information about the instrument configuration and j...
void PostValidate()
Called after the schedule construction is completed.
string GetTaskAction()
Description of the tasks's action (for hints/time table)
void PreValidate()
Called before the schedule construction is completed.
void Execute()
Do whatever you have to do with your parameters.
Action< string > WriteToRunlog