wxr
2024-04-16 5d433e8ec75b2c486fbcbe672f45dc9527964b68
HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
@@ -8,7 +8,6 @@
using HDL_ON.UI.CSS;
using Shared;
#if __IOS__
using Shared.IOS.HDLCNVRSDK;
#endif
namespace HDL_ON.UI
{
@@ -16,32 +15,6 @@
    public class AddDevciePage : FrameLayout
    {
#if __ANDROID__
    public class dddxx { }
#else
        //大华摄像头sdk代理(Shared.IOS.HDLCNVRSDK)
        hdlLCNVRSDKDelegate hdlLCNVRDelegate;
        public class hdlLCNVRSDKDelegate : HDLLCNVRSDKDelegate
        {
            Action act;
            public hdlLCNVRSDKDelegate(Action action)
            {
                act = action;
            }
            public override void AddDeviceFailWithErrorCode(string errorCode)
            {
            }
            public override void BackFromAddDeviceView()
            {
                act?.Invoke();
            }
        }
#endif
        FrameLayout bodyView;
        IntegratedBrand brand;
        VerticalRefreshLayout contentView;
@@ -62,8 +35,8 @@
            contentView = new VerticalRefreshLayout()
            {
                Y = Application.GetRealHeight(64+10),
                Height = Application.GetRealHeight(667 - 64-10),
                Y = Application.GetRealHeight(64 + 10),
                Height = Application.GetRealHeight(667 - 64 - 10),
                VerticalScrollBarEnabled = false,
            };
            bodyView.AddChidren(contentView);