Using Arduino With Xbee and wifi Sheild

hey guys!
So i am doing a Project using the Dissolved Oxygen Sensor and i am trying to send the data over wifi to the XCTU gui for my mac. i have the xbee configured to my wifi i am having trouble getting the data to send over wifi.

I have my main.cpp attached(i am using platform.io) , i am mainly looking for anyone who has simple code examples or if someone could point me int he right direction for the code i need to add to make this wifi shield work correctly.

I also have a picture of my set up attached below!

Thanks for any advice in advanced!

-Makeila Lundy