JLChen
2021-08-10 c4b015770e8a29f18e19cc44b3df46c20a4762f4
app/src/main/java/com/hdl/sdk/hdl_sdk/activity/GeothermalActivity.java
@@ -162,8 +162,27 @@
                    return;
                }
                proDialog.show();
//                HDLCommand.geothermalCtrlTemp(appliancesInfo, tempInt);//自动根据当前模式设置当前模式的温度。
                HDLCommand.geothermalCtrlTemp(appliancesInfo, tempInt);//自动根据当前模式设置当前模式的温度。
                switch (gModeState) {
                    case 1:
                    case 2:
                    case 3:
                    case 4:
                        HDLCommand.geothermalCtrlTemp(appliancesInfo, tempInt);//自动根据当前模式设置当前模式的温度。
                        break;
                    case 5:
                        proDialog.dismiss();
                        //当前地热模式为自动
                        showToast("自动模式,不能控制温度");
                        break;
                    default:
                        proDialog.dismiss();
                        //当前地热模式为自动
                        showToast("未知模式,不能控制温度");
                        break;
                }
//                switch (gModeState) {
//
@@ -393,6 +412,7 @@
            message = getSwichStateString(mGeothermalBackInfo.getIsOn());
            message += "\n" + getModeStateString(mGeothermalBackInfo.getgMode());
            message += "\n" + "室内温度:" + mGeothermalBackInfo.getgCurrentTemp();
            message += "\n" + "普通模式温度:" + mGeothermalBackInfo.getgNormalTemp();
            message += "\n" + "白天模式温度:" + mGeothermalBackInfo.getgDayTemp();
            message += "\n" + "夜间模式温度:" + mGeothermalBackInfo.getgNightTemp();