9 IEnumerable<ProductionRouting> routings)
11 ArgumentNullException.ThrowIfNull(
14 ProductionRouting[] normalized =
17 foreach (ProductionRouting routing
20 ArgumentNullException.ThrowIfNull(
23 if (routing.Id <= 0 ||
24 routing.ItemId <= 0 ||
27 throw new InvalidOperationException(
28 "Parallel scheduling analysis requires positive routing, item and plant identifiers.");
31 if (!routing.HasConsistentWorkCenterReferences)
33 throw new InvalidOperationException(
34 $
"Routing '{routing.Id}' contains a work-center reference from another plant.");
51 ProductionRouting[] itemRoutings =
65 plantGroup.Count() > 1);