Dual Stimuli-responsive Membranes for Multiple On-Off Gates