Skip to main content

Restrictions

Restrictions are control mechanisms used to determine whether a user has access to the elevator or specific floors within the elevator system. These controls are flexible, stackable, and must return a boolean value (true or false) to the controller. Depending on the type of restriction applied, access can be restricted at the elevator level or limited to certain floors.

warning

Return Value Requirement

Restriction must return a boolean value (true or false):

  • true → Access granted.
  • false → Access denied.
info

Restriction checks are cached for 5 seconds, ensuring the system doesn't repeatedly evaluate the same conditions.

Summary of Restriction Logic

Restriction TypeScopeBehavior
Elevator RestrictionEntire elevator systemDisables all floors if false is returned
Floor RestrictionSpecific floors of the elevatorDisables only the specified floors