From 9470ac56dd964de9c10ae73fe1a068e21aef2fde Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 08 三月 2021 19:09:34 +0800
Subject: [PATCH] 2021-3-8-5

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
index 077b5f8..caf97eb 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
@@ -196,11 +196,11 @@
                     var library = libraryList[index];
                     var control = GetControl(spk, testBtn.TextID, library);
                     Method method = new Method();
-                    method.ThreadAddControl(control, this,(control1) => {
+                    method.ThreadAddControl(control, this,(cont) => { 
                         MainPage.BasePageView.RemoveViewByTag("PirView");
                         AddControlComplete addControlComplete = new AddControlComplete();
                         MainPage.BasePageView.AddChidren(addControlComplete);
-                        addControlComplete.Show(control1,true);
+                        addControlComplete.Show(cont,true);
                         MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
                     });
 
@@ -288,8 +288,6 @@
             for (int arrayStr = 0; arrayStr < strings.Length; arrayStr++) 
             {
                 //var intValue = Convert.ToInt32(strings[arrayStr],16);
-                //intValue
-                //control.library1.Add((uint)intValue);
                 control.library.Add(strings[arrayStr].Replace("0x",""));
             }
 

--
Gitblit v1.8.0