GATE_ACT_GATE_OPEN
if (!(gact->current_gate_status & GATE_ACT_GATE_OPEN)) {
gact->current_gate_status = GATE_ACT_GATE_OPEN | GATE_ACT_PENDING;
gact->current_gate_status = next->gate_state ? GATE_ACT_GATE_OPEN : 0;