From 87cd5df70918e6ba1af849c5f026d3719bfdb1ac Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 09 四月 2025 09:06:29 +0800 Subject: [PATCH] Merge branch '1.5.2' into dev --- app/src/main/java/com/hdl/photovoltaic/other/HdlResidenceLogic.java | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/other/HdlResidenceLogic.java b/app/src/main/java/com/hdl/photovoltaic/other/HdlResidenceLogic.java index 0c8f3ff..4112b49 100644 --- a/app/src/main/java/com/hdl/photovoltaic/other/HdlResidenceLogic.java +++ b/app/src/main/java/com/hdl/photovoltaic/other/HdlResidenceLogic.java @@ -4,6 +4,7 @@ import android.graphics.BitmapFactory; import android.os.Build; import android.text.TextUtils; +import android.util.Log; import com.google.gson.Gson; import com.google.gson.JsonObject; @@ -285,7 +286,6 @@ * ascending:鍗囧簭), */ public void getResidenceIdList(String key, String keyValue, CloudCallBeak<List<HouseIdBean>> cloudCallBeak) { - String requestUrl = HttpApi.POST_PowerStation_List; JsonObject json = new JsonObject(); if (!TextUtils.isEmpty(key) && !TextUtils.isEmpty(keyValue)) { @@ -346,7 +346,6 @@ } }); } - } @Override @@ -593,25 +592,10 @@ /** * 鐢电珯鐘舵�佹瑙�(瀹夎鍟�) - * - * @param debugStatus (璋冭瘯鐘舵��:Debugging = 璋冭瘯涓�,WAIT_DELIVERED = 璋冭瘯瀹屾垚,Delivered = 宸蹭氦浠�,SECONDARY_DEBUGGIN = 鎺堟潈璋冭瘯) - * @param installedCapacityMin 鏈�灏忕粍涓插閲�(瑁呮満瀹归噺) - * @param installedCapacityMax 鏈�澶х粍涓插閲�(瑁呮満瀹归噺) */ - public void getStatusOverview(String debugStatus, String installedCapacityMin, String installedCapacityMax, CloudCallBeak<StatusOverviewBean> cloudCallBeak) { + public void getStatusOverview(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 -- Gitblit v1.8.0