TaskTaskType Property |
Namespace: ABB.Robotics.Controllers.RapidDomain
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]; TaskType type = firstTask.TaskType; if(type == TaskType.Normal) { // it´s a normal task, do something } else if(type == TaskType.Static) { // it´s a static task, do something }