From e6a26ee148587327478d9a82624a820c907b6e16 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 04 十一月 2020 14:58:15 +0800 Subject: [PATCH] 20201104 --- HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs index 363da7c..621d0e1 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs @@ -1,4 +1,5 @@ 锘縰sing System; +using HDL_ON.DriverLayer; using HDL_ON.Entity; using HDL_ON.UI.CSS; using Shared; @@ -22,6 +23,7 @@ Button btnSceneTilte; #region 鍦烘櫙搴曢儴鍒囨崲鏄剧ず鍖哄煙 + FrameLayout topView; /// <summary> /// 鍦烘櫙鍖哄煙锛岄《閮ㄥ尯鍩� /// </summary> @@ -60,7 +62,7 @@ { bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; #region top - FrameLayout topView = new FrameLayout() + topView = new FrameLayout() { Height = Application.GetRealHeight(64), BackgroundColor = CSS_Color.TopViewColor, @@ -188,6 +190,8 @@ /// </summary> void LoadSceneFunctionControlZone() { + //topView.AddChidren(btnAddIcon); + sceneFunctionView.RemoveAll(); var rowView = new FrameLayout(); try @@ -360,6 +364,9 @@ /// </summary> void LoadAutomationPageView() { + //btnAddIcon.RemoveFromParent(); + + automationPage = new FrameLayout(); contentPageView.AddChidren(automationPage); @@ -480,7 +487,7 @@ { string msg = function.name + Language.StringByID(StringId.AlreadyOpened); new PublicAssmebly().TipMsgAutoClose(msg, true); - Control.Send(function); + Control.ins.ControlScene(function as Scene); }; btnCoverd.MouseUpEventHandler = eventHandler; btnName.MouseUpEventHandler = eventHandler; -- Gitblit v1.8.0