@ferrous Its an old exterior switch-box, or fuse-box, with electrical fuses that were once inside, and that ring is likely so that the switch handle could be locked with a padlock, or at least a fastener to keep in it place. It might have been the main switch for electricity that entered that structure.