Sand and wastewater treatment equipment