hdl_core/src/main/java/com/hdl/sdk/hdl_core/HDLDeviceManger/Core/HDLCommand.java
@@ -21,12 +21,14 @@
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.AirFeedBackEvent;
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.CurtainFeedBackEvent;
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.DeviceStateEvent;
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.EventCode;
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.FreshAirFeedBackEvent;
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.GeothermalFeedBackEvent;
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.LightFeedBackEvent;
import com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent.LogicFeedBackEvent;
import com.hdl.sdk.hdl_core.Util.LogUtil.HDLLog;
import com.hdl.sdk.hdl_core.Util.SPUtil.SPUtils;
import com.hdl.sdk.hdl_core.Util.TransformUtil.HDLUtlis;
import org.greenrobot.eventbus.EventBus;
@@ -399,7 +401,7 @@
                    if (!HDLDeviceManager.isGeothermalCtrlSuccess) {
                        GeothermalBackInfo mGeothermalBackInfo = new GeothermalBackInfo();
                        mGeothermalBackInfo.setAppliancesInfo(info);
                        EventBus.getDefault().post(new GeothermalFeedBackEvent(mGeothermalBackInfo, false));
                        EventBus.getDefault().post(new GeothermalFeedBackEvent(mGeothermalBackInfo, EventCode.FAILURE));
                    }
                }
            }, 5000);
@@ -640,7 +642,9 @@
                            && info.getLittleType() == infos.get(j).getLittleType()
                            && info.getChannelNum() == infos.get(j).getChannelNum()
                    ) {
                        curState = (int) infos.get(j).getCurState();
//                        curState = (int) infos.get(j).getCurState();//旧
                        //20190712解决强制转换int类型闪退
                        curState = HDLUtlis.getIntegerByObject(infos.get(j).getCurState());
                        break outter;
                    }
@@ -670,7 +674,9 @@
                            && info.getChannelNum() == infos.get(j).getChannelNum()
                    ) {
                        //这里应该是要修复的,暂时未找到。
                        switch ((int) infos.get(j).getCurState()) {
                         //20190712解决强制转换int类型闪退
                        int  state = HDLUtlis.getIntegerByObject(infos.get(j).getCurState());
                        switch (state) {
                            case -1:
                                curState = 0;
                                break;
@@ -681,7 +687,8 @@
                                curState = 2;
                                break;
                            default:
                                curState = (int) infos.get(j).getCurState();
//                                curState = (int) infos.get(j).getCurState();
                                curState = state;
                                break;
                        }