In the 1st pic, on the left are AC mains in and 4-wire connection to a battery. On the right, a bunch of connections that seem like they might be status and DC output voltage.
On the heatsink, the SCR snubber RC network is referenced to the body of the heatsink, which is probably 'Batt+' or close to it. If it was mains live, those warning signs would mention that much greater danger.
So the SCR is not in the mains side of the circuit, therefore must be involved in the output. It can't be a crowbar protection circuit since you don't put snubbers on those, nor do you crowbar a large battery. So I think it's switching the LV rectified secondary side of the transformer.
Also there doesn't seem to be any large electro, and I don't see a series pass transistor on the heatsink, both of which you'd expect on a regulated DC supply.
I'm guessing it's a charger/management unit for a large lead-acid battery. Two 741 op-amps is about the right complexity for that task.
It monitors the battery voltage, and if low, just dumps current into it via the SCR acting as a phase controller on raw fullwave rectified AC, via a split secondary winding and the two big diodes on the heatsink.
Edit: Like this. (Oh, plus that big power resistor in series with the charging line to the battery.)