one end of spring being fixedly connected to the stationary or movable part of the switch and the other end reacting with a movable or stationary member respectively through pins, cams, toothed or other shaped surfaces