A heat exchanger device with heating switching function