From c7698e163e43cea9e7f8ee45f8e3f91c9265cca4 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 04 十一月 2019 19:11:41 +0800
Subject: [PATCH] 合并了全部的代码

---
 ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs
index 9eef470..c45a493 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
@@ -179,7 +194,8 @@
                 config = new Config { };
             }
         }
-
+        
+        public string Name = string.Empty;
         /// <summary>
         /// 褰撳墠鐧诲綍鐨勫笎鍙�
         /// </summary>
@@ -266,7 +282,7 @@
         public List<string> HomeFilePathList = new List<string> { };
 
         public string HomeId = string.Empty;
-
+ 
         [Newtonsoft.Json.JsonIgnore]
         private House m_Home = null;
         /// <summary>

--
Gitblit v1.8.0