Hysteresis quantified control for switched reaction–diffusion systems and its application