From ddb46a700775aacfb6cc82d9586302a38c8fa0a7 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期一, 23 十二月 2019 09:13:37 +0800
Subject: [PATCH] 2019.12.23

---
 ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs b/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs
index 454b8cb..9c011fd 100644
--- a/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs
@@ -88,6 +88,8 @@
         /// sceneScrolView
         /// </summary>
         private VerticalScrolViewLayout sceneScrolView ;
+
+
         #endregion
 
         #region 鈼� 鎺ュ彛____________________________
@@ -924,14 +926,25 @@
             }
             else
             {
+                var dList = new List<DeviceUI> { };
+                foreach(var device in deviceList)
+                {
+                    var info = Common.LocalDevice.Current.GetNotHdlMyDeviceEnumInfo(new List<CommonDevice> { device.CommonDevice });
+                    if (info.BeloneType == DeviceBeloneType.A骞叉帴鐐� || info.BeloneType == DeviceBeloneType.A涓户鍣�)
+                    {
+                        continue;
+                    }
+                    dList.Add(device);
+                }
+
                 deviceVerticalScrolViewLayout = new VerticalScrolViewLayout { };
                 functionSceneBodyView.AddChidren(deviceVerticalScrolViewLayout);
-                for (int i = 0; i < deviceList.Count; i++)
+                for (int i = 0; i < dList.Count; i++)
                 {
-                    var device = deviceList[i];
+                    var device = dList[i];
                     //new System.Threading.Thread(() =>
                     //{
-                        Application.RunOnMainThread(() =>
+                    Application.RunOnMainThread(() =>
                         {
                             try
                             {

--
Gitblit v1.8.0