Governforflexibility of toolstock and delivery operations for factory automation