DIN enclosures provide more durability and protect circuitry from damage. Exposed PCBs are easily damaged physically or by electrostatic discharge.