Hi,
I want to break down transport commands into loading and unloading tasks and then arrange the execution order for multiple commands. My approach involves placing items into a list and calculating AGV travel distances. However, I am currently facing an issue where, during distance calculation, I don't know how to retrieve the TransportType
from the list correctly. Using value.TransportType
fetches the numerical value from the item, but it has already been updated and does not represent the value I want.
In simple terms, I would like to know how to calculate the distance in the list based on the TransportType
within the same row.
Alternatively, is there a better approach for my situation? Thank you for your assistance.