A software system framework for planning and operation of quality control in discrete part manufacturing