From c207cd8df8a432d044bbc9e0da7f05d200769ef1 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 02 九月 2022 16:41:45 +0800 Subject: [PATCH] 合并光伏储能代码 --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index 3873cb5..f32c15f 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -1196,6 +1196,18 @@ }; inverterListView.AddChidren(btnOperationDataTotalData); + var clickButton = new Button(); + inverterListView.AddChidren(clickButton); + + clickButton.MouseUpEventHandler = (sender2, e2) => { + var h5BasePage = new FrameLayout(); + MainPage.BasePageView.AddChidren(h5BasePage); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + + h5BasePage.AddChidren(Inverter.Ins.H5Page); + Inverter.Ins.ShowWebviewFormUrl("h5/index"); + }; + index++; } -- Gitblit v1.8.0