A multi function outlet mechanism comprises the main body unit, the switch mechanism and the control mechanism. An embodiment of the invention operates by receiving a message from a sender. Displacement of the lower panel into the open position entails deployment of the legs into a substantially upright position supporting the table in its open position. The system controller is further configured to: in response to the input signal changing from a first value larger than a first threshold to a second value smaller than the first threshold, change the first drive signal from a first logic level to a second logic level to turn on the transistor.