1. This code segment retrieves items from the rack following the FIFO rule.
- asrsvehicle.setProperty("QueueStrategy", "TaskSequence taskSequence = param(1);\n\
- Dispatcher current = ownerobject(c);\n\
- /**No Queue Strategy - Straight FIFO*/\n\
- /**Note: This option may improve model run speed for large task sequence queues*/\n\
- return DISPATCHER_ABORT_QUEUE_STRATEGY;\n\
- ");
I wish to modify it to sequentially check each slot. If a slot containing an item is found during the check, then that item should be retrieved; otherwise, it should proceed to check the next slot. How can I achieve this?
2. Additionally, there is a property like `.assignedSlot` for specifying a designated slot for placement. Are there similar properties available to retrieve items from specified slots?
Thanks.