| | |
| | | //移动电站位置 |
| | | HdlResidenceLogic.getInstance().moveHouseId(houseIdBean.getHomeId()); |
| | | initData();//初始化缓存数据 |
| | | houseInfoAdapter.setList(houseListBeanIDList);//重新刷新列表 |
| | | houseInfoAdapter.setList(houseListBeanIDList, powerStationStatusValue);//重新刷新列表 |
| | | nullDataUpdateUi();//检测数据是否为空 |
| | | } |
| | | |
| | |
| | | houseInfoAdapter = new HouseInfoAdapter(_mActivity); |
| | | viewBinding.fragmentHouseSrlListRc.setLayoutManager(new LinearLayoutManager(_mActivity)); |
| | | viewBinding.fragmentHouseSrlListRc.setAdapter(houseInfoAdapter); |
| | | houseInfoAdapter.setList(this.houseListBeanIDList); |
| | | houseInfoAdapter.setList(this.houseListBeanIDList, powerStationStatusValue); |
| | | |
| | | //设备标签 |
| | | deviceInfoAdapter = new DeviceInfoAdapter(_mActivity); |
| | |
| | | if (houseInfoAdapter != null) { |
| | | initData(); |
| | | //更新UI |
| | | houseInfoAdapter.setList(houseListBeanIDList); |
| | | houseInfoAdapter.setList(houseListBeanIDList, powerStationStatusValue); |
| | | } |
| | | } |
| | | } |
| | |
| | | if (houseInfoAdapter != null) { |
| | | initData(); |
| | | //更新UI |
| | | houseInfoAdapter.setList(houseListBeanIDList); |
| | | houseInfoAdapter.setList(houseListBeanIDList, powerStationStatusValue); |
| | | } |
| | | } |
| | | nullDataUpdateUi(); |
| | |
| | | initializeInverter(list); //发起初始化指令给逆变器;(注意:只能是本地发送了(要搜索局域网逆变器列表,建立本地通讯通道),删除电站成功后,云端解绑逆变器的关系) |
| | | HdlResidenceLogic.getInstance().delHouseId(homeId);//删除电站缓存 |
| | | initData();//初始化缓存数据 |
| | | houseInfoAdapter.setList(houseListBeanIDList);//重新刷新列表 |
| | | houseInfoAdapter.setList(houseListBeanIDList, powerStationStatusValue);//重新刷新列表 |
| | | nullDataUpdateUi();//检测数据是否为空 |
| | | } |
| | | |