From c6b35c3138b944830b5336bf610f918154dd47c7 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期六, 12 十月 2019 15:45:10 +0800 Subject: [PATCH] 合并门锁,完成住宅管理 --- ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs index 9eef470..7354850 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs @@ -98,6 +98,21 @@ return Config.Instance.Account; } } + /// <summary> + /// 褰撳墠闇�瑕佽繛鎺ヤ簯绔痁igbeeMqttBroker鐨勮繛鎺ョ殑瀵嗙爜 + /// </summary> + public string ConnectGuid + { + get + { + if (Phone.UserCenter.UserCenterResourse.UserInfo.AuthorityNo == 2 + || Phone.UserCenter.UserCenterResourse.UserInfo.AuthorityNo == 3) + { + return AdminConnectZigbeeMqttBrokerName; + } + return Config.Instance.Guid; + } + } /// <summary> /// 璐︽埛鐧诲綍鎴愬姛鐨凪qttKey -- Gitblit v1.8.0