From 505effa88b17ce8c3c7ac5403b76d9e5d0cfc2a5 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 28 十月 2024 11:58:31 +0800
Subject: [PATCH] 谷歌版本问题修复

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs |   27 +--------------------------
 1 files changed, 1 insertions(+), 26 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
index 2bcf880..114ddb0 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
@@ -3,7 +3,6 @@
 using HDL_ON.DAL.Server;
 using HDL_ON.Entity;
 using HDL_ON.UI.CSS;
-using HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock;
 #if __Android__
 using Java.Interop;
 using Android.Content;
@@ -23,7 +22,6 @@
             bodyView = this;
             brand = integratedBrand;
         }
-
 
         public void LoadPage()
         {
@@ -68,7 +66,7 @@
                 {
                     var pm = new HttpServerRequest();
                     var pack = pm.Get3TyBrandBindDeviceList(brand.productPlatform, brand.productBrand);
-                    if (pack.Code == DAL.Server.StateCode.SUCCESS)
+                    if (pack.Code == StateCode.SUCCESS)
                     {
                         var revData = Newtonsoft.Json.JsonConvert.DeserializeObject<Function3tyBrandObj>(pack.Data.ToString());
 
@@ -118,10 +116,6 @@
             bool isFrist = true;
             foreach (var device in deviceList)
             {
-                //if (!this.CheckSupportDevice(device))
-                //{
-                //    continue;
-                //}
                 var row = new RowLayout()
                 {
                     Height = Application.GetRealHeight(50),
@@ -207,21 +201,6 @@
                             {
                                 contentView.BeginHeaderRefreshing();
                             };
-                            break;
-                        case SPK.VideoDoorLock:
-                            {
-                                CommonMethod.Current.MainThread(() =>
-                                {
-                                    //钀ょ煶瑙嗛闂ㄩ攣
-                                    var form = new VideoDoorLockPage(device, btnName, new Button(), CommonMethod.Comerom.sanfan, () =>
-                                    {
-                                        row.RemoveFromParent();
-                                    });
-                                    MainPage.BasePageView.AddChidren(form);
-                                    MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
-                                    form.Show();
-                                });
-                            }
                             break;
                     }
                 };
@@ -373,10 +352,6 @@
         {
 
             if (function == null) return false;
-            if (function.spk == SPK.VideoDoorLock)
-            {
-                return false;
-            }
             return true;
 
         }

--
Gitblit v1.8.0