Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I have a taskexecutor which is delivering a material. It reaches a point and takes 300 sec to unload, I want to make the capacity of the allocation point 2 after 30 sec of unload has passed so task executor behind can technically overtake it, and then onces 300 sec are complete make the controlpoint's max allocation to 1.
I am doing the following, but I know its missing something:
Object te= so.forklift;
AGV agv = AGV(te);
Node cp = agv.currentCP.as(treenode);
cp.maxAllocations = 2;
return cp.maxAllocations;
Solved! Go to Solution.