Centralized control of the dyeing workshop to improve the success rate of dyeing and reduce the repair rate