What code in NEC covers adding a generator receptical to a pump control panel, where the main power source is from the pole (the generator is backup)? Does the generator need a transfer switch to prevent accidental shorting to the pole power per the code?