Wavelength distinguishable signal quenching and enhancing toward photoactive material 3,4,9,10-perylenetetracarboxylic dianhydride for simultaneous assay of dual metal ions.