| | |
| | | private void initView() { |
| | | this.mHomeId = UserConfigManage.getInstance().getHomeId(); |
| | | this.mHomeName = UserConfigManage.getInstance().getHomeName(); |
| | | String homeId = "电站Id=" + this.mHomeId; |
| | | String homeName = "电站名称=" + this.mHomeName; |
| | | String homeId = "测试电站Id=" + this.mHomeId; |
| | | String homeName = "测试电站名称=" + this.mHomeName; |
| | | viewBinding.homeIdTv.setText(homeId); |
| | | viewBinding.homeNameTv.setText(homeName); |
| | | |
| | |
| | | return; |
| | | } |
| | | showLoading(); |
| | | List<GatewayBean> gatewayBeanList = HdlDeviceLogic.getInstance().getCurrentHomeGatewayList(this.mHomeId); |
| | | List<GatewayBean> gatewayBeanList = HdlDeviceLogic.getInstance().getCurrentHomeGatewayList(this.mHomeId, null); |
| | | gsonConvertJsonStr(gatewayBeanList); |
| | | } |
| | | break; |
| | |
| | | * 选择逆变器调试 |
| | | */ |
| | | public void selectDevice() { |
| | | List<GatewayBean> list = HdlDeviceLogic.getInstance().getCurrentHomeGatewayList(this.mHomeId); |
| | | List<GatewayBean> list = HdlDeviceLogic.getInstance().getCurrentHomeGatewayList(this.mHomeId, null); |
| | | DialogDeviceList dialogDeviceList = new DialogDeviceList(_mActivity, list); |
| | | dialogDeviceList.show(); |
| | | dialogDeviceList.DeviceOnclickListener(new DialogDeviceList.OnclickListener() { |