From f16fd06aa226e9f97a27858624d4ea7cf8975d25 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 07 五月 2024 17:24:38 +0800
Subject: [PATCH] 增加了萤石摄像头
---
HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs | 38 +++++++++-----------------------------
1 files changed, 9 insertions(+), 29 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
index cdf74d0..0295482 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
+++ b/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
- //澶у崕鎽勫儚澶磗dk浠g悊锛圫hared.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);
@@ -127,6 +100,10 @@
bool isFrist = true;
foreach (var device in deviceList)
{
+ if(device.spk == "peephole" || device.spk == "security.door.ezviz")
+ {
+ continue;
+ }
FrameLayout row = new FrameLayout()
{
Height = Application.GetRealHeight(50),
@@ -226,6 +203,9 @@
this.RemoveFromParent();
};
break;
+ case SPK.Ev_Ipcam:
+ UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.SkipAddDeviceActivity(device.spk);
+ break;
}
};
}
--
Gitblit v1.8.0