/* Manufactoring Plant Controller- sample system Last updated: May 22, 2008 */ //Namespace for facade class. namespace MFP //Namespace for core of the system. namespace MFP.core.green class BillOfMaterialsLineItem{ numberRequired; * otherLineItems -- 1 ProductType; * lineItemsMakeUp -- 1 ProductType consistsOf; } class Bin { number; } class Supplier { name; * -- * ProductType; 0..1 -- * Product; } class Product { serialNumber; 1 -- * Product; } namespace MFP.core.red class AssemblyStep { description; 1 -- * BillOfMaterialsLineItem; } class Robot{ number; } class RobotAllocation { timePeriod; * -- 1 AssemblyStep; * -- 1 Robot; } namespace MFP.core.black class ProductType{ description; 1 -- * AssemblyStep;//ordered association 1 -- * Bin keptIn; 1 -- * Product; } class AssemblyLine{ number; } class ProductRun{ timePeriod; numUnits; * -- 1 ProductType; * -- 1 AssemblyLine; 0..1 -- * Product; } namespace MFP.core.blue class OrderLineItem { 1 -- * Product; } //Associations classes taken out and substituted with basic classes and associations on May 26, 2008 // because of lack of implementations for associations classes in current Umple 2.0 /*association ProductRun{ timePeriod; numUnits; * ProductType; * AssemblyLine; }*/ /*association BillOfMaterialsLineItem{ numberRequired; reflexive; * ProductType; * ProductType consistsOf; }*/ /*association RobotAllocation { timePeriod; * AssemblyStep; * Robot; }*/