From c4b015770e8a29f18e19cc44b3df46c20a4762f4 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 10 八月 2021 10:17:42 +0800
Subject: [PATCH] 2021-08-10 1.更新

---
 hdl_core/src/main/java/com/hdl/sdk/hdl_core/HDLAppliances/HDLGeothermal/GeothermalBackInfo.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/hdl_core/src/main/java/com/hdl/sdk/hdl_core/HDLAppliances/HDLGeothermal/GeothermalBackInfo.java b/hdl_core/src/main/java/com/hdl/sdk/hdl_core/HDLAppliances/HDLGeothermal/GeothermalBackInfo.java
index 4a97001..3e6d3a9 100644
--- a/hdl_core/src/main/java/com/hdl/sdk/hdl_core/HDLAppliances/HDLGeothermal/GeothermalBackInfo.java
+++ b/hdl_core/src/main/java/com/hdl/sdk/hdl_core/HDLAppliances/HDLGeothermal/GeothermalBackInfo.java
@@ -49,8 +49,13 @@
             this.gNightTemp = this.curState[6] & 0xFF;
             this.gLeaveTemp = this.curState[7] & 0xFF;
             this.gAutoTemp = this.curState[8] & 0xFF;
-            this.gCurrentTemp = this.curState[9] & 0xFF;
-
+//            this.gCurrentTemp = this.curState[9] & 0xFF;
+            //褰撳墠娓╁害锛堢幆澧冩俯搴︼級 bit7 0=姝e�� 1=璐熷��
+            if(((this.curState[9] & 0xFF) >> 7) > 0){
+                this.gCurrentTemp = -(this.curState[9] & 0x7F);
+            }else{
+                this.gCurrentTemp = this.curState[9] & 0x7F;
+            }
         }
 
     }

--
Gitblit v1.8.0