Event-triggered control for networked systems under denial of service attacks and applications