On the stability analysis for impulsive switching system with time-varying delay