From 8123d0298c0fed448bddc956059126a4875782c2 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 23 三月 2021 18:02:38 +0800 Subject: [PATCH] 2021-3-23-2 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs index cc1bc8e..cfacb7f 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs @@ -12,6 +12,7 @@ } public void Show(Control control) { + #region 鐣岄潰甯冨眬 this.BackgroundColor = CSS.CSS_Color.viewMiddle; PirDevice.View.TopView topView = new View.TopView(); @@ -122,17 +123,14 @@ } //new寮曞鐣岄潰 View.ReplicationView replication = new View.ReplicationView(); - // MainPage.BasePageView.AddChidren(replication); replication.Show(this); - // MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - //娣诲姞鏁版嵁瀵硅薄 Entity.AttributesStatus buttonObj = new Entity.AttributesStatus(); buttonObj.key = "key" + control.status.Count.ToString(); buttonObj.value = texts; - PirSend.CodeStudy(control, buttonObj, (responsePackNew) => + PirSend.CodeStudy(control.deviceId, buttonObj, (responsePackNew) => { if (responsePackNew != null && responsePackNew.Code == "0" && responsePackNew.Data.ToString() != "") { @@ -191,5 +189,7 @@ }; } + + } } -- Gitblit v1.8.0