陈嘉乐
2021-03-17 3e286ae4d9a23674674f9ad12573e7e7911f2dfb
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>