Irrigation system in function watering agricultural plants