gxc
2019-12-23 ddb46a700775aacfb6cc82d9586302a38c8fa0a7
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
                            {