question

Marcin P3 avatar image
0 Likes"
Marcin P3 asked Joerg Vogel commented

What token.Slot.as(Storage.Slot).storageObject mean?

Hello Flex Sim im trying to understand one of models teacher shown my class during lesson, and im having really hard time, cause i dont understand what token.Slot.as(Storage.Slot).storageObject means, or what value is it refering to. I didn't find much in manual it is explained what storageObject is or Storage.Slot, but understanding whole thing is complicated.

FlexSim 20.1.2
flexsim 20.1.2question about value of label
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Benjamin W2 avatar image
3 Likes"
Benjamin W2 answered Joerg Vogel commented

In the new warehousing model, FlexSim has a new object which is a Storage.Slot object. This simply refers to a slot in the storage system. This object has a property called a "storageObject", which simply refers to the rack to which the slot belongs. Here is the API reference:

https://docs.flexsim.com/en/20.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Warehousing/Storage.Slot.html

Here is more documentation on the storage system:

https://docs.flexsim.com/en/20.1/Reference/Tools/StorageSystem/

And here is a great demo model built by one of our developers:

https://answers.flexsim.com/articles/71515/2019-update-2-warehouse-demo.html

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·
token.Slot 

it is a label called Slot at a token in Process Flow. The value of this label is of a Type Variant.

as(Storaged.Slot)

is a direct casting of Variant value into Storage sub-class Slot

storageObject

is a property of this class to get the Rack of a slot.

1 Like 1 ·
Marcin P3 avatar image Marcin P3 commented ·

Thank you for reply, i'll read that

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.