wxr
2024-05-23 6c71e8a178d9cb83a178f08e3411090fe8da505d
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;
@@ -208,21 +207,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 +357,6 @@
        {
            if (function == null) return false;
            if (function.spk == SPK.VideoDoorLock)
            {
                return false;
            }
            return true;
        }