| | |
| | | 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()); |