Need to add Sprayer Botton in QGC

I am working on agro-based drone. So, I need to add spraying fuction in my GCS.

What exactly is your question?

https://ardupilot.org/copter/docs/sprayer.html