System.Object
EPLAN.Harness.API.DataStructures.TasksController
System.Object
EPLAN.Harness.API.DataStructures.TasksController
public class TasksController
// Get controller from opened designer. TasksController tasks = designer.Tasks; // Select desired tasks configuration as active configuration. string configuration = tasks.Configurations.FirstOrDefault(c => c == "Desired configuration name"); tasks.SelectActiveTaskConfiguration(configuration); // Perform task processing to get current state of tasks for this tasks configuration. tasks.TaskProcessing(); // Current state of tasks. IEnumerable<TaskInfo> currentTasks = tasks.CurrentTasks;
Name | Description | |
---|---|---|
![]() | ActiveConfiguration | Gets name of active tasks configuration. |
![]() | Configurations | Gets list of defined tasks configurations. |
![]() | CurrentTasks | Gets list of current tasks. |
![]() | CustomTaskConfigurations | List of customizable task configurations. |
Name | Description | |
---|---|---|
![]() | AddUserDefinedTask | Add custom task. |
![]() | DeleteTasks | Delete selected tasks. |
![]() | ExportCustomTaskConfigurations | Export all customizable task configurations to the file. |
![]() | ImportTaskConfigurations | Import task configurations from the file. |
![]() | SelectActiveTaskConfiguration | Select active tasks configuration. |
![]() | TaskProcessing | Perform task processing to get current state of tasks. |