From e76381c3393d284f3f8ab61930cb6b71f18b2d6b Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 13 八月 2024 14:43:43 +0800 Subject: [PATCH] 金茂定制热水器,光伏储能,UI完成 --- HDL_ON/DAL/Server/HttpServerRequest.cs | 19 +++++++------------ 1 files changed, 7 insertions(+), 12 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs index 3b78fb1..c4aab5a 100644 --- a/HDL_ON/DAL/Server/HttpServerRequest.cs +++ b/HDL_ON/DAL/Server/HttpServerRequest.cs @@ -22,13 +22,10 @@ var sss = Newtonsoft.Json.Linq.JObject.FromObject("sss"); var xxx = homeJsonStr.GetValue("xxx").ToString(), - - Dictionary<string, object> d = new Dictionary<string, object>(); - d.Add("Id", fId); - var jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(d); - - - */ + Dictionary<string, object> d = new Dictionary<string, object>(); + d.Add("Id", fId); + var jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(d); + */ string severAddress = "https://global.hdlcontrol.com/ProposedProductionApi"; @@ -710,7 +707,7 @@ if (mHomeGatewayRes.Count > 0) { DB_ResidenceData.Instance.HomeGateway = mHomeGatewayRes[0];//缃戝叧鐘舵�� - DriverLayer.Control.Ins.GatewayOnline_Cloud = mHomeGatewayRes[0].gatewayStatus; + HDL_ON.DriverLayer.Control.Ins.GatewayOnline_Cloud = mHomeGatewayRes[0].gatewayStatus; DB_ResidenceData.Instance.SaveResidenceData(); return revertObj.Code; } @@ -776,7 +773,7 @@ var mHomeGatewayRes = Newtonsoft.Json.JsonConvert.DeserializeObject<HomeGatewayInfo>(revertObj.Data.ToString()); if (mHomeGatewayRes != null) { - DriverLayer.Control.Ins.GatewayOnline_Cloud = mHomeGatewayRes.gatewayStatus; + HDL_ON.DriverLayer.Control.Ins.GatewayOnline_Cloud = mHomeGatewayRes.gatewayStatus; } } return revertObj.Code; @@ -1202,7 +1199,6 @@ deviceName = OnAppConfig.Instance.PhoneName, deviceType = deviceType, produce = isProduce, - }; mAddpushinfoObj.languageType = Utlis.GetPostLanguageType(); @@ -1229,7 +1225,6 @@ return true; } } - } else { @@ -1538,7 +1533,7 @@ } #endregion -#region 鑾峰彇澶╂皵閮ㄥ垎 + #region 鑾峰彇澶╂皵閮ㄥ垎 /// <summary> /// 鑾峰彇鎸囧畾缁忕含搴︾殑鍩庡競淇℃伅澶╂皵淇℃伅 /// </summary> -- Gitblit v1.8.0