I have a processor that have to process several item types, then I use a from to table to indicate when to change and how long the setup takes.
when the item is process by itself the from to table setup works with this code
double returnvalue = table[string.fromNum(lastitemtype)][string.fromNum(currentitemtype)];
but when the item is combined with a holder(container) and then go to a second processor and the setup (from to table) does not work.
what do I have to change in the above code? so the processor can read the item and not the container when an item type changes