They secure barges to them. I have seen a "tugger" come from one end of the river and tie their barges off. Then a different "Tugger" comes and gets them.
They are mooring cells. Something design to secure barges.
They are for the water level
Secure barges
I believe they have something to do with the barge boats that travel up n down the rivers.
Thanks! Your answer is awaiting moderation.