An incident signal illuminates an SPR sensor over a wavelength range. In an illustrative embodiment of the present invention, predetermined contacts of a socket may have a resistance, inductance, capacitance, or a combination thereof incorporated therein. When the upper surface of the workpiece is detected, a plate thickness calculation section calculates a plate thickness of the workpiece based on an upper surface position of a die, that is known in advance and stored in a memory. Compared to that in the prior art, the apparatus is delicate and easy to install, and is suitable for quick local fire suppression, and can get twice the result with half the effort in such applications.