Application of multicomponent spectrophotometry to analytical control of electroplating solutions