setOpen function rename to setGateStatus

Druwa!!