wxr
2020-11-24 33470790ac0069c7734fb1a5b8b07350950c6dfe
HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -111,7 +111,7 @@
                    Y = Application.GetRealHeight(46),
                    Width = Application.GetRealWidth(6),
                    Height = Application.GetRealWidth(6),
                    BackgroundColor = CSS_Color.MainColor,
                    BackgroundColor = CSS_Color.LinkTipFail,
                    Radius = (uint)Application.GetRealWidth(3),
                };
                topView.AddChidren(btnLinkStateTip);
@@ -136,12 +136,8 @@
                {
                    System.Threading.Tasks.Task.Run(() =>
                        {
                            DriverLayer.Control.ins.ChangeCommunicationMode(DriverLayer.CommunicationMode.local_BusUdp);
                            UdpSocket._BusSocket.SearchNetDeviceAction = (revIp) =>
                            {
                                MainPage.Log($"搜索到网络设备:{revIp}");
                            };
                            DriverLayer.Control.ins.myUdp.SearchLocalGateway();
                            DB_ResidenceData.residenceData.GatewayType = 0;
                            DriverLayer.Control.Ins.SearchLoaclGateway();
                        });
                };
#endif
@@ -349,6 +345,13 @@
            {
                MainPage.Log($"HomePage LoadPage Error : {ex.Message}");
            }
            System.Threading.Tasks.Task.Run(() =>
            {
                DB_ResidenceData.residenceData.GatewayType = 0;
                DriverLayer.Control.Ins.SearchLoaclGateway();
            });
        }
        /// <summary>