From c0c734d7a84cf7105401878ffc4b64cbb67621d1 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 01 十一月 2024 15:02:24 +0800
Subject: [PATCH] 更新极光Sdk531

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
index 0295482..eab0505 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
@@ -11,13 +11,14 @@
 #endif
 namespace HDL_ON.UI
 {
-
-
     public class AddDevciePage : FrameLayout
     {
         FrameLayout bodyView;
         IntegratedBrand brand;
         VerticalRefreshLayout contentView;
+
+
+        public Action addDeviceCallback = null;
 
         public AddDevciePage(IntegratedBrand integratedBrand)
         {
@@ -100,10 +101,10 @@
             bool isFrist = true;
             foreach (var device in deviceList)
             {
-                if(device.spk == "peephole" || device.spk == "security.door.ezviz")
-                {
-                    continue;
-                }
+                //if(device.spk == "peephole" || device.spk == "security.door.ezviz")
+                //{
+                //    continue;
+                //}
                 FrameLayout row = new FrameLayout()
                 {
                     Height = Application.GetRealHeight(50),
@@ -204,7 +205,10 @@
                             };
                             break;
                         case SPK.Ev_Ipcam:
-                            UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.SkipAddDeviceActivity(device.spk);
+                        case SPK.VideoDoorLock:
+                        case SPK.PeepholeEz:
+                        case SPK.Peephole:
+                            UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.SkipAddDeviceActivity(device.spk,addDeviceCallback);
                             break;
                     }
                 };

--
Gitblit v1.8.0