Automatic control systems for electroplating lines