I would check it with a volt meter just to make sure, but this is what I would expect to find.
Black Wire: Has voltage on it (hot wire)
Red Wire: Has voltage on it (hot wire)
White Wire: Neutral/ground - Has no voltage on it.
Black Wire: Wire to the other black wire from the house. (voltage)
Red Wire: Wire to the other red wire from the house. (voltage)
Green Wire: Wire to the white wire from the house and ground it out to the junction box.
There should be instruction with the new unit on how to wire it too.