Solar and electric water heater foaming production line