From 94d6591af7870ba0f1f7797310c07581d6fcd0b4 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 04 十一月 2022 16:27:14 +0800 Subject: [PATCH] 2022年11月04日16:26:44 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index e1833f4..e39af1d 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -205,8 +205,6 @@ } #region 娉ㄥ唽銆佺櫥褰曢儴鍒� - - /// <summary> /// 閫氱敤 鍙戦�侀獙璇佺爜鏂规硶 /// </summary> @@ -1373,6 +1371,9 @@ /// </summary> public void GetCityWeatherInfo(string lon, string lat) { + MainPage.cityInfo.lon = lon; + MainPage.cityInfo.lat = lat; + System.Threading.Tasks.Task.Run(() => { while (true) @@ -3005,6 +3006,18 @@ var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetInverter_List, requestJson); return pack; } + /// <summary> + /// 鑾峰彇浣忓畢涓嬪厜浼忕粺璁$殑鏁版嵁 + /// </summary> + /// <returns></returns> + public ResponsePackNew GetInverterStatisticsInfo() + { + Dictionary<string, object> d = new Dictionary<string, object>(); + d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id); + var requestJson = HttpUtil.GetSignRequestJson(d); + var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetInverter_StatisticsInfo, requestJson); + return pack; + } #endregion } -- Gitblit v1.8.0