Parts gone bad thread

this jury rig served me well for 5 years. Any ideas what i was trying to do with this thing?

plumbing.jpeg