Online recognition of drainage type based on UV-vis spectra and derivative neural network algorithm