From e2ffb5fce53119f5cb36e3b2466becbefa096842 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 18:09:13 +0800 Subject: [PATCH] Revert "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 d1b4a85..cba96cc 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.SearchLocalGateway(); + DriverLayer.Control.ins.myUdp.ReadGatewayIP(); }); }; #endif -- Gitblit v1.8.0