Fully automatic electromagnetic steam generator and gas boiler