Rectangular Proximity Sensors and Switches