German knew we had their code machine. They didn’t think we had their code.
The first ground rule of cryptology is the assumption that the enemy has a copy of your machine. The value of the captured U-Boat(s) (there were two) was the code books and "wheel settings".
The agency most directly responsible for cracking the Enigma was the Wehrmacht, closely followed by the Kriegsmarine. German COMSEC was atrocious. Without the help of the Wehrmacht, Bletchley Park, for all its brilliance and endeavor would have been an expensive dry hole.
This is only the command center, and there was a report it was badly damaged. The radar and jammers were not captured - that is the important part.
The basically captured an empty box.