From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 06 七月 2021 09:39:03 +0800 Subject: [PATCH] 2021-07-06 1.更新 --- HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs index 93342c8..8bb2fcd 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs @@ -25,7 +25,7 @@ { var page = new AddDevciePage(brand); MainPage.BasePageView.AddChidren(page); - page.LoadPage(); + page.LoadPage(contentView); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; new TopViewDiv(bodyView, Language.StringByID(StringId.Devices)).LoadTopView_AddIcon("3ty", action); @@ -46,6 +46,8 @@ contentView.EndHeaderRefreshing(); Load3tyBrandDeviceList(); }; + + //contentView.BeginHeaderRefreshing(); } void Load3tyBrandDeviceList() @@ -55,7 +57,7 @@ new System.Threading.Thread(() => { try { - var pm = new DAL.Server.HttpServerRequest(); + var pm = new HttpServerRequest(); var pack = pm.Get3TyBrandBindDeviceList(brand.productPlatform, brand.productBrand); if (pack.Code == DAL.Server.StateCode.SUCCESS) { @@ -150,7 +152,7 @@ switch (device.spk) { case SPK.IrModule: - new UI2.PersonalCenter.PirDevice.Method().MainView(this, device,()=> { }); + new UI2.PersonalCenter.PirDevice.Method().MainView(this, device,()=> {}); break; } }; -- Gitblit v1.8.0