Most people take a few days to recover after having a stomach virus in general, especially from the gym. Regardless, so long as you aren't touching the equipment and putting your fingers in your mouth, you couldn't ingest it anyway. No different than when you're handling grocery cart handles, doorknobs, etc.