From 6d3ba9484472d090532434e53667c096652149ce Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 25 九月 2020 09:56:14 +0800 Subject: [PATCH] 202009251 --- HDL_ON/UI/UI2/1-HomePage/HomePage.cs | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs index 2fdd1b4..c4065f0 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs @@ -138,6 +138,9 @@ // async () => { await Mqtt_A_Protocol.StartMqtt(); // }); //}; + btnResidenceName.MouseUpEventHandler = (sender, e) => { + Control.SearchLocalGateway(); + }; #endif environmentalView = new FrameLayout() @@ -386,11 +389,11 @@ { if (!function.collection) continue; - if (function.roomIdList.Count == 0)//濡備綍鍦ㄦ埧闂村凡缁忕Щ闄や簡杩欎釜鍔熻兘锛屽垯鏀惰棌鐣岄潰涔熶笉浼氬啀鏄剧ず - { - function.collection = false; - continue; - } + //if (function.roomIdList.Count == 0)//濡備綍鍦ㄦ埧闂村凡缁忕Щ闄や簡杩欎釜鍔熻兘锛屽垯鏀惰棌鐣岄潰涔熶笉浼氬啀鏄剧ず + //{ + // function.collection = false; + // continue; + //} } if (index % 2 == 0) { -- Gitblit v1.8.0