| | |
| | | houseInfoBean.setInstalledCapacity(houseIdBean.getInstalledCapacity());//装机容量 |
| | | houseInfoBean.setPower(houseIdBean.getPower());//发电功率 |
| | | houseInfoBean.setTodayElectricity(houseIdBean.getTodayElectricity());//今天发电量 |
| | | houseInfoBean.setPowerStationStatus(houseIdBean.getPowerStationStatus());//电站状态(电站状态 1:正常(运行),2:离线,3:连接中,4:故障) |
| | | houseInfoBean.setPowerStationStatus(houseIdBean.getPowerStationStatus());//电站状态(电站状态 1:正常(运行),2:离线,3:连接中,4:故障) |
| | | //添加到本地缓存 |
| | | addHouseToLocalMemory(houseInfoBean); |
| | | } |
| | |
| | | |
| | | /** |
| | | * 电站状态概览(安装商) |
| | | * |
| | | * @param debugStatus (调试状态:Debugging = 调试中,WAIT_DELIVERED = 调试完成,Delivered = 已交付,SECONDARY_DEBUGGIN = 授权调试) |
| | | * @param installedCapacityMin 最小组串容量(装机容量) |
| | | * @param installedCapacityMax 最大组串容量(装机容量) |
| | | */ |
| | | public void getStatusOverview(CloudCallBeak<StatusOverviewBean> cloudCallBeak) { |
| | | public void getStatusOverview(String debugStatus, String installedCapacityMin, String installedCapacityMax, CloudCallBeak<StatusOverviewBean> cloudCallBeak) { |
| | | String requestUrl = HttpApi.POST_statusOverview; |
| | | JsonObject json = new JsonObject(); |
| | | if (!TextUtils.isEmpty(installedCapacityMin)) { |
| | |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |