NOVELTY - The device comprises a pre-treatment tank (2) for filtering impurities, a tank (3) for regulating a pH value of wastewater to weak alkaline, and an anaerobic fermentation tower (4) for generating biogas. One end of the anaerobic fermentation tower is connected with the regulation tank. The regulation tank is connected with the pre-treatment tank. An inlet of the pretreatment tank is connected with an outlet of cow dung, cow urine and washes water of a cowhouse. Other end of the anaerobic fermentation tower is connected with a biogas purification device (5) and a biogas generator room (6).    USE - The device is useful for recycling livestock farm wastes.    ADVANTAGE - The device is capable of easily recycling the livestock farm wastes with high efficiency and without emission of pollutants in an environmentally friendly manner, and has simple structure.    DETAILED DESCRIPTION - The device comprises a pre-treatment tank (2) for filtering impurities, a tank (3) for regulating a pH value of wastewater to weak alkaline, and an anaerobic fermentation tower (4) for generating biogas. One end of the anaerobic fermentation tower is connected with the regulation tank. The regulation tank is connected with the pre-treatment tank. An inlet of the pretreatment tank is connected with an outlet of cow dung, cow urine and wash water of a cowhouse. Other end of the anaerobic fermentation tower is sequentially connected with a biogas purification device (5) and a biogas generator room (6). One end of the biogas generator room is connected with the anaerobic fermentation tower. The anaerobic fermentation tower is connected with a biogas slurry storage tank (7). A stirrer is arranged in the regulation tank.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic view of a device for recycling livestock farm wastes.    Pre-treatment tank (2)    Regulation tank (3)    Anaerobic fermentation tower (4)    Biogas purification device (5)    Biogas generator room (6)    Biogas storage tank. (7)