| | |
| | | if (HDLUniMP.UNI_EVENT_REPLY_HOME_CREATION.equals(eventBus.getType())) { |
| | | // 取消粘性事件 |
| | | EventBus.getDefault().removeStickyEvent(eventBus); |
| | | //uin创建电站成功后通知 |
| | | loadNextPageHouseList(false, key, value, installedCapacityMinValue, installedCapacityMaxValue, screeningConditionStatus, powerStationStatusValue, 1, true); |
| | | if (eventBus.getData() != null) { |
| | | Gson gson = new Gson(); |
| | | String json = eventBus.getData().toString(); |
| | | HouseIdBean houseIdBean = gson.fromJson(json, HouseIdBean.class); |
| | | HdlResidenceLogic.getInstance().switchHouse(houseIdBean, true); |
| | | |
| | | } |
| | | // HdlLogLogic.print("进来了---11111" + eventBus.getData().toString()); |
| | | // //uin创建电站成功后通知 |
| | | // loadNextPageHouseList(false, key, value, installedCapacityMinValue, installedCapacityMaxValue, screeningConditionStatus, powerStationStatusValue, 1, true); |
| | | // if (eventBus.getData() != null) { |
| | | // HdlLogLogic.print("进来了---" + eventBus.getData().toString()); |
| | | // Gson gson = new Gson(); |
| | | // String json = eventBus.getData().toString(); |
| | | // HouseIdBean houseIdBean = gson.fromJson(json, HouseIdBean.class); |
| | | // HdlResidenceLogic.getInstance().switchHouse(houseIdBean, true); |
| | | // HdlLogLogic.print("进来了---结束" + eventBus.getData().toString()); |
| | | // |
| | | // } |
| | | } else if (HDLUniMP.UNI_EVENT_REPLY_HOME_EDIT.equals(eventBus.getType())) { |
| | | // 取消粘性事件 |
| | | EventBus.getDefault().removeStickyEvent(eventBus); |