From f9f9b0030fdd2691632569b7dcad9d0ddca5e4cf Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 23 十二月 2020 09:28:54 +0800 Subject: [PATCH] 2020-12-23 1.调整mqtt挤下线,跑ui线程。2.LoadEvent_CheckLinkStatus方法调整 --- HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs old mode 100644 new mode 100755 index 16782af..380a351 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs @@ -82,6 +82,7 @@ Height = Application.GetRealHeight(44 * 5), }; var roomList = LogicMethod.GetGatewayRoomList(Language.StringByID(StringId.allAreas)); + if (roomList.Count > 5) { bghFrameLyout.Height = Application.GetRealHeight(21 + 44 * 5); @@ -157,7 +158,7 @@ FrameLayout bghFrameLyout = new FrameLayout { - X = Application.GetRealWidth(10), + X = Application.GetRealWidth(118), Y = Application.GetRealHeight(103), Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(21 + 44), -- Gitblit v1.8.0