Stability Analysis of Event-Triggered Networked Control Systems with Time-Varying Sampling