Design of networked control system based on impulsive switched control