Flatpack resistors in metallic case