Smart Sensor in Oil and Gas