From c8181d684c1e242c94b449e00dcd2c138c6587d3 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 18 三月 2021 17:20:32 +0800 Subject: [PATCH] 2021-3-18-1 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs index 9d51783..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> -- Gitblit v1.8.0