Please be very careful when workig in this area, as this is all at line voltage, 240v and can be fatal if you get electricuted. Can you take a close up of the device in bottom of cabinet in your photo above, or tell us what it says. It looks like it could be a timer??? But unsure without further info.
Regarding the on - off switch, looks like a double pole switch that switches both the active and neutral lines.