Not sure which part of the system you mean by "DC circuit", but connecting the AC lines to a DC circuit which would only be 12V on an RV would be really bad for anything connected.
Just in general, that looks like bare wires and general badness going on in that wet bay.
Solder would also be very bad, when current goes up and wires get hot, solder can melt and things can touch that shouldn't.
A schematic would be OK, but like you asked for above, a picture of someone else's wiring would be worth a thousand conjectures.