Flameproof enclosure switchgear assembly with a control panel