How to set the working mode of solar power supply