| | |
| | | delayedConfirmationCancelDialog.dismiss(); |
| | | if (isWaitDelivered) { |
| | | showLoading(); |
| | | HdlResidenceLogic.getInstance().setUpdateProjectDebugStatus(houseIdBean.getHomeId(), houseIdBean.getCommunityId(), houseIdBean.getFlowRecordContent(), ProjectOperation.DEBUGGING_AGAIN.toString(), new CloudCallBeak<Boolean>() { |
| | | String flowRecordContent = UserConfigManage.getInstance().isZh() ? "新特锐能app发起电站重新调试" : "The Xenterra app initiates the re-commissioning of the power station"; |
| | | HdlResidenceLogic.getInstance().setUpdateProjectDebugStatus(houseIdBean.getHomeId(), houseIdBean.getCommunityId(), flowRecordContent, ProjectOperation.DEBUGGING_AGAIN.toString(), new CloudCallBeak<Boolean>() { |
| | | @Override |
| | | public void onSuccess(Boolean list) { |
| | | hideLoading(); |
| | |
| | | deviceInfoAdapter.setOnclickListener(new DeviceInfoAdapter.OnClickListener() { |
| | | @Override |
| | | public void onClick(int position, CloudInverterDeviceBean deviceBean) { |
| | | if (!deviceBean.isActivate()) { |
| | | HdlThreadLogic.toast(_mActivity, getString(R.string.device_not_activated)); |
| | | return; |
| | | } |
| | | // //杨涛说这个列表不返回未激活的设备,所以去掉判断 |
| | | // if (!deviceBean.isActivate()) { |
| | | // HdlThreadLogic.toast(_mActivity, getString(R.string.device_not_activated)); |
| | | // return; |
| | | // } |
| | | // GatewayBean gatewayBean = new GatewayBean(); |
| | | // gatewayBean.setCategorySecondName(deviceBean.getCategorySecondName()); |
| | | // gatewayBean.setDevice_mac(deviceBean.getOsn()); |