I am looking for a string which find a slot availble ordered by
- level,
- bay,
- slot or
- not populated in a combined query or each attribute alone.
Additional I thought it would be easier to get access to some basic data like maximum number of slots or available slots in the storage system.
But I didn't find such data. All I achieved, was to query the rack structure to put all slot nodes into a global list. Then I evaluated the value in the list to get additional data for level, bay, slot and dynamic current content. I queried this global list by a standard string and casted the pulled value into the Slot Assignment Strategy in the Rack object to realize placing the items by level > slot > bay into the rack. Attached is an example model.
How can I achieve such strategie without nested for-loops or my approach with a global list inside the Slot Assignment Strategy?
Many thanks! Regards Jörg