From a40db3104e6d5d8a5d146ad808e5bb1ad6c8cb07 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 17:53:22 +0800 Subject: [PATCH] 20201120 --- 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