.
The device is situated on the old lock gates at Whitehaven's Queen's Dock, which you should have noticed in the answer to question 1. It is part of the winding mechanism for adjusting the sluice in the gates dating from 1938. The gates were used to maintain water in the Queen's dock before the whole inner harbour became permanent water due to the tidal lock.