Fix get the offset of the threshold sensor

According to IPMI Spec:
00h Lower Non-critical - going low
01h Lower Non-critical - going high
02h Lower Critical - going low
03h Lower Critical - going high

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: If0def31bccc0862aaa10c70be2854b467b111cd6
diff --git a/sensordatahandler.hpp b/sensordatahandler.hpp
index 1cb2b40..add6178 100644
--- a/sensordatahandler.hpp
+++ b/sensordatahandler.hpp
@@ -332,10 +332,10 @@
         warningAlarmLow = false;
     }
     response.thresholdLevelsStates =
-        (static_cast<uint8_t>(critAlarmHigh) << 4) |
-        (static_cast<uint8_t>(warningAlarmHigh) << 3) |
-        (static_cast<uint8_t>(warningAlarmLow) << 2) |
-        (static_cast<uint8_t>(critAlarmLow) << 1);
+        (static_cast<uint8_t>(critAlarmHigh) << 3) |
+        (static_cast<uint8_t>(critAlarmLow) << 2) |
+        (static_cast<uint8_t>(warningAlarmHigh) << 1) |
+        (static_cast<uint8_t>(warningAlarmLow));
 
     return response;
 }