platform-mc: correct the PLDM sensor operational state handling

As we discussed in gerrit 51489 before, we reached consensus for the
pldm sensor state as following states:

PLDM_SENSOR_ENABLED      : Functional True,  Available True
PLDM_SENSOR_DISABLED     : Functional True,  Available False
PLDM_SENSOR_UNAVAILABLE  : Functional False, Available False
PLDM_SENSOR_FAILED       : Functional False, Available True
PLDM_SENSOR_INITIALIZING : Functional False, Available False

Correct the states handling for PLDM_SENSOR_DISABLED and
PLDM_SENSOR_FAILED.

Change-Id: I0cab9ab59a1e9c0f5c6d841c529a64cc4bb8caee
Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
diff --git a/platform-mc/sensor_manager.cpp b/platform-mc/sensor_manager.cpp
index 74e3043..da829b0 100644
--- a/platform-mc/sensor_manager.cpp
+++ b/platform-mc/sensor_manager.cpp
@@ -319,10 +319,10 @@
         case PLDM_SENSOR_ENABLED:
             break;
         case PLDM_SENSOR_DISABLED:
-            sensor->updateReading(true, false, value);
+            sensor->updateReading(false, true, value);
             co_return completionCode;
         case PLDM_SENSOR_FAILED:
-            sensor->updateReading(false, true, value);
+            sensor->updateReading(true, false, value);
             co_return completionCode;
         case PLDM_SENSOR_UNAVAILABLE:
         default: