2using System.Collections.Generic;
3using System.Collections.ObjectModel;
4using System.ComponentModel;
22 public static IEnumerable<IDeviceInfo>
Devices {
get;
internal set; }
54 ReadOnlyObservableCollection<IPlannerInfo>
Planners {
get; }
104 IReadOnlyList<IJobInfo>
Jobs {
get; }
166 IReadOnlyList<ITaskInfo> Tasks {
get; }
Things provided by AxelSemrau Chronos - do not put your own code into this namespace.
JobStatus
Current execution stage of a job.
@ Running
The job is currently running.
@ Queued
The job is scheduled for execution at some point in the future.
@ Cancelled
The planner's execution was interrupted.
@ Postponed
The job did not yet run, but it will not be executed during this run of the planner.
@ Failed
Something went wrong while executing this job.
@ Done
The job was completed without serious problems.
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
ScheduleState
Which stage?
Access to some parts of the core of the Chronos program.
static IScheduleQueue ExecutionQueue
The list of schedules that have run, are running or will be run.
static IConfigInfo Config
Information about general program configuration, standard folders and similar.
static ICoreUtils Utils
Utility functions that don't fit elsewhere.
static IEnumerable< IDeviceInfo > Devices
Information about configured devices and their states.
Chronos core utility functions.
void ExtendAssemblySearchPath(string path)
Add a filesystem path where you expect to find assemblies that you need as references for your plugin...
Access to the schedule execution list.
void RemoveFailedPlanners()
Tries to remove failed planners. Use this if you are hiding the normal Chronos GUI from your user and...
void ClearQueue()
Remove all planners in the queue, if possible.
void RemoveDonePlanners()
Remove already finished planners that are not failed.
ReadOnlyObservableCollection< IPlannerInfo > Planners
Information about all planners in the queue.
IPlannerInfo CurrentlyRunning
The currently running planner, if any.
Some hopefully useful information about a queued planner.
string Name
Name as shown to the user.
bool WasStarted
The planner has been started at least once.
TimeSpan Duration
The time between start and end time - estimated for unstarted/running schedules, real value for finis...
IReadOnlyList< IJobInfo > Jobs
Information about the jobs in the planner.
Guid PlannerID
Unique identifier for this schedule.
ScheduleState State
Current execution state.
DateTime StartTime
Time when the planner was started (UTC)
uint RepeatIteration
How often was this schedule started?
bool Paused
Pauses the execution of the planner.
bool CompletedWithoutErrors
True if all of the planner's jobs were done without errors.
bool IsCalculated
Has passed the initial calculation phase.
bool Failed
True if some job of the schedule failed or was cancelled.
string AbortReason
If the planer was aborted: The reason why.
TimeSpan Elapsed
How much time has passed between start and completion / current time.
Basic information about a job (= diagram row) within a task planer.
JobStatus Status
What's up with this job?
ISampleListLine SampleListLine
Method and column values that were used to create this job.
Get information about the currently active configuration.
Gives access to all cells of a line.