| | |
| | | * ascending:升序), |
| | | * @param installedCapacityMin 最小组串容量(装机容量) |
| | | * @param installedCapacityMax 最大组串容量(装机容量) |
| | | * @param gridType 并网状态 (全部 :"";FULL_GRID : 并网;OFFLINE :离网) |
| | | * @param debugStatus 调试状态(全部;调试中;调试完成;已交付;授权调试) |
| | | * @param powerStationStatus 电站状态 (全部 :"";1 : 正常;2 : 离线; 3 : 待接入;4 : 故障) |
| | | * @param pageNo 页码 |
| | | * @param pageSize 页数(一页多少数据) |
| | |
| | | String keyValue, |
| | | String installedCapacityMin, |
| | | String installedCapacityMax, |
| | | String gridType, |
| | | String debugStatus, |
| | | String powerStationStatus, |
| | | long pageNo, long pageSize, CloudCallBeak<HouseBeanClass> cloudCallBeak) { |
| | | |
| | |
| | | } catch (Exception ignored) { |
| | | } |
| | | } |
| | | if (!TextUtils.isEmpty(gridType)) { |
| | | if (!TextUtils.isEmpty(debugStatus)) { |
| | | try { |
| | | json.addProperty("gridType", gridType); |
| | | json.addProperty("debugStatus", debugStatus); |
| | | } catch (Exception ignored) { |
| | | } |
| | | } |
| | |
| | | |
| | | /** |
| | | * 电站状态概览(安装商) |
| | | * |
| | | * @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)) { |
| | | json.addProperty("installedCapacityMin", installedCapacityMin); |
| | | } |
| | | if (!TextUtils.isEmpty(installedCapacityMax)) { |
| | | json.addProperty("installedCapacityMin", installedCapacityMax); |
| | | } |
| | | if (!TextUtils.isEmpty(debugStatus)) { |
| | | json.addProperty("debugStatus", debugStatus); |
| | | } |
| | | |
| | | |
| | | // json.addProperty("zoneType", zoneType);//区域 |
| | | HttpClient.getInstance().requestHttp(requestUrl, json.toString(), new CloudCallBeak<String>() { |
| | | @Override |