The TH will be fine. Give it a good cleaning, a good drying out and it'll be as good as new. A friend down in Texas has his flood so bad that the timers were under water, as was the battery. I cleaned it out when I visited a few days later, dried it and it worked fine. Get the food out ASAP. Take the plastic covers off and give everything down there a good cleaning. Wet food + heat + water = a stinky mess!!!
It looks like you had a hammer float onto the pier as well! How much rain did you have??