From 46a177eb1acf7ce91af7fe9ff57af87228de938d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 17 十月 2023 10:03:24 +0800 Subject: [PATCH] IOS库更新 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 4e6e381..fca8e58 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -698,7 +698,7 @@ { if (mHomeGatewayRes.Count > 0) { - DB_ResidenceData.Instance.HomeGateway = mHomeGatewayRes[0]; + DB_ResidenceData.Instance.HomeGateway = mHomeGatewayRes[0];//缃戝叧鐘舵�� DriverLayer.Control.Ins.GatewayOnline_Cloud = mHomeGatewayRes[0].gatewayStatus; DB_ResidenceData.Instance.SaveResidenceData(); return revertObj.Code; @@ -2288,7 +2288,7 @@ d.Add("actions", actionObjs); var requestJson = HttpUtil.GetSignRequestJson(d); - MainPage.Log($"api鍔熻兘鎺у埗锛歿requestJson}"); + MainPage.Log($"api鍙戦�佹帶鍒讹細{requestJson}"); return HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_ControlDevice, requestJson); } /// <summary> @@ -3404,7 +3404,7 @@ /// <param name="deviceId"></param> /// <param name="sound"></param> /// <returns></returns> - public ResponsePackNew SetDoorLockSystemSound(string deviceId,string sound) + public ResponsePackNew SetDoorLockSystemSound(string deviceId,int sound) { var d = new Dictionary<string, object>(); d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id); @@ -3434,7 +3434,7 @@ /// <param name="deviceId"></param> /// <param name="volume"></param> /// <returns></returns> - public ResponsePackNew SetDoorBellTone(string deviceId, string volume) + public ResponsePackNew SetDoorBellTone(string deviceId, int volume) { var d = new Dictionary<string, object>(); d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id); @@ -3649,7 +3649,6 @@ var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetGroupControlInfos, requestJson); return pack; } - /// <summary> /// 鑾峰彇缇ゆ帶璇︽儏 /// </summary> -- Gitblit v1.8.0