Have patience
and wait for someone to reply. Generally, a white wire is hot. Yes, they usually go together, but do not guess for you may fry the electronics.
Black wires are neuteral, on the unswitched side of the unit schematics, until power is sent through them via a switch.
Seeing as someone has detached the wiring, it has been played with, and needs to be re connected properly.