From 7a11998bb4d64d8fce3aef1ed7918553832baf02 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 16 三月 2021 13:25:35 +0800 Subject: [PATCH] 2021-3-16-2 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs index f598e88..484c1fa 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs @@ -9,7 +9,7 @@ { public AddControl() { - Tag = "Pir"; + Tag = "PirView"; } public void Show(Control control) { @@ -151,7 +151,6 @@ view.RemoveFromParent(); } } - //MainPage.BasePageView.RemoveViewByTag("Pir"); AddControlComplete addControlComplete = new AddControlComplete(); MainPage.BasePageView.AddChidren(addControlComplete); addControlComplete.Show(control,false); @@ -234,7 +233,7 @@ try { //鍙戦�佹寜閿垹闄わ紱 - responsePackNew = PirSend.CodeRemove(obj); + responsePackNew = PirSend.CodeRemove(obj, control.deviceId); } catch { } finally @@ -254,7 +253,7 @@ } else { Method method = new Method(); - method.ErrorShow(responsePackNew); + method.ErrorShow(responsePackNew,""); } }); -- Gitblit v1.8.0