Event-triggered control of positive switched systems based on linear programming