TaskExecuter

Inherits from Dispatcher

Description

A class that represents a Dispatcher that can also execute TaskSequences.

Properties

activeTask Accesses the task that is currently being executed by the object.
activeTaskSequence Accesses the task sequence that is currently being executed by the object.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

TaskExecuter.activeTask

readonly TaskSequence.Task activeTask

Description

Accesses the task that is currently being executed by the object.


        TaskExecuter obj = Model.find("Operator1");
        int taskType = obj.activeTask.type;
        ...
      
Do no remove, this fixes the anchor on doc.flexsim.com

TaskExecuter.activeTaskSequence

readonly TaskSequence activeTaskSequence

Description

Accesses the task sequence that is currently being executed by the object.


TaskExecuter obj = Model.find("Operator1");
double tsPriority = obj.activeTaskSequence.priority;
...