TaskExecutionType Property |
Namespace: ABB.Robotics.Controllers.RapidDomain
public ExecutionType ExecutionType { get; }
using ABB.Robotics; using ABB.Robotics.Controllers; using ABB.Robotics.Controllers.RapidDomain; ... Controller c = new Controller(); Task[] allTasks = c.Rapid.GetTasks(); Task firstTask = allTasks[0]; ExecutionType type = firstTask.ExecutionType; if (type == ExecutionType.Normal) { // normal execution, do something } else if (type == ExecutionType.UserRoutine) { // do something else }