From 88a66f8374d63fbe9403258a9faa0fdcacf96571 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 30 九月 2022 11:11:28 +0800 Subject: [PATCH] 获取云端数据code review --- HDL_ON/DAL/Server/HttpServerRequest.cs | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index e1833f4..2ac0547 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -205,8 +205,6 @@ } #region 娉ㄥ唽銆佺櫥褰曢儴鍒� - - /// <summary> /// 閫氱敤 鍙戦�侀獙璇佺爜鏂规硶 /// </summary> @@ -3005,6 +3003,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