From c207cd8df8a432d044bbc9e0da7f05d200769ef1 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 02 九月 2022 16:41:45 +0800 Subject: [PATCH] 合并光伏储能代码 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index a01cdae..23b024a 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -2984,5 +2984,27 @@ var requestJson = HttpUtil.GetSignRequestJson(d); return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetCustomerInfo, requestJson); } + + + + + + + + #region 鍏変紡鍌ㄨ兘 + /// <summary> + /// 鑾峰彇浣忓畢涓嬮�嗗彉鍣ㄥ垪琛� + /// </summary> + /// <returns></returns> + public ResponsePackNew GetInverterList() + { + 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_List, requestJson); + return pack; + } + #endregion + } } \ No newline at end of file -- Gitblit v1.8.0