Calculate the appropriate activity of the radiation source based on the measurement conditions, and the radiation device emits a beam of gamma rays. The detector receives the radiation rays, which will be attenuated when they act on the pipeline or container and the internal medium to be tested. Therefore, the detector calculates the material level, liquid level, density, interface, or serves as a limit switch based on the attenuation of the detected radiation rays.