Sensor.Value: use PDI constants

Use PDI constants instead of local definitions.

Tested: Inspection only.

Change-Id: I42c4f33a7e2f98a1adbac5a92aea4df952442990
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/sensordatahandler.hpp b/sensordatahandler.hpp
index 0b27090..6b716d5 100644
--- a/sensordatahandler.hpp
+++ b/sensordatahandler.hpp
@@ -10,6 +10,7 @@
 #include <phosphor-logging/elog-errors.hpp>
 #include <phosphor-logging/lg2.hpp>
 #include <sdbusplus/message/types.hpp>
+#include <xyz/openbmc_project/Sensor/Value/common.hpp>
 
 #include <cmath>
 
@@ -39,6 +40,8 @@
 using MapperResponseType = std::map<Path, std::map<Service, Interfaces>>;
 using PropertyMap = ipmi::PropertyMap;
 
+using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value;
+
 using namespace phosphor::logging;
 
 /** @brief Make assertion set from input data
@@ -221,8 +224,7 @@
 
 #ifdef UPDATE_FUNCTIONAL_ON_FAIL
     // Check the OperationalStatus interface for functional property
-    if (sensorInfo.propertyInterfaces.begin()->first ==
-        "xyz.openbmc_project.Sensor.Value")
+    if (sensorInfo.propertyInterfaces.begin()->first == SensorValue::interface)
     {
         bool functional = true;
         try