As you can see the wires (Red and Black) have melted and I believe this is from the plug where the mains would be plugged into.
I'm assuming the controller is closed and needs replacing.
It's 4 12 volt batteries giving 48volt.
It's for use on the caravan site we have a seasonal pitch.