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.
Return Value Requirement: Restriction must return a boolean value (true or
false). Return true for access granted, false for access denied.
Restriction checks are cached for 5 seconds, ensuring the system doesn’t repeatedly
evaluate the same conditions.
Summary of Restriction Logic