From 3e286ae4d9a23674674f9ad12573e7e7911f2dfb Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 17 三月 2021 18:00:48 +0800 Subject: [PATCH] 备份代码 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs index 9ef310f..1e1bb3c 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs @@ -12,7 +12,20 @@ public class PirSend { - + /// <summary> + /// 缃戝叧ID(鑾峰彇鍢変箰缃戝叧ID) + /// </summary> + public static string GatewayId + { + get + { + if (Entity.DB_ResidenceData.Instance.HomeGateway == null) + { + return DriverLayer.Control.Ins.GatewayId; + } + return Entity.DB_ResidenceData.Instance.HomeGateway.gatewayId; + } + } /// <summary> /// 浣忓畢ID /// </summary> @@ -247,7 +260,7 @@ url = "/smart-footstone/app/ir/code/list"; jObject.Add("brandId", id); } - responsePackNew = RequestServerhomeId(jObject, url); + responsePackNew = RequestServerhomeId(jObject, url,5); } catch { } finally -- Gitblit v1.8.0