Good Idea
We have that in two of three tool trailers we run. It works really good. My boss wired it to accommodate either a plug from a pole, or off the generator. He also wired plugs in the trailer in a couple of spots, and florescent lighting fixtures. In the summer and warmer months it works like a charm. Right now, at -20 C, we take the batteries home to defrost and charge.
Graham