結果 : single pole single throw switch function