From f4b178e64fd43262872fe9d443aa9da6048ceaac Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 17:57:29 +0800 Subject: [PATCH] Merge branch 'CJL' --- HDL_ON/UI/UI2/1-HomePage/HomePage.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs index cba96cc..d1b4a85 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs @@ -135,13 +135,13 @@ btnResidenceName.MouseUpEventHandler = (sender, e) => { System.Threading.Tasks.Task.Run(() => - { + { DriverLayer.Control.ins.ChangeCommunicationMode(DriverLayer.CommunicationMode.local_BusUdp); UdpSocket._BusSocket.SearchNetDeviceAction = (revIp) => { MainPage.Log($"鎼滅储鍒扮綉缁滆澶囷細{revIp}"); }; - DriverLayer.Control.ins.myUdp.ReadGatewayIP(); + DriverLayer.Control.ins.myUdp.SearchLocalGateway(); }); }; #endif -- Gitblit v1.8.0