From bcc1155365489498f171a245d26818be0aa526d0 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 25 三月 2021 18:40:59 +0800
Subject: [PATCH] 2021-03-25 1.完善丰林接口对接。

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |   17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index 4e4505a..2290c5f 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -615,7 +615,7 @@
                             LoadEvent_SwitchFunction(btnLightPower, item, functionView);
                         };
                         functionPageTitleId = StringId.Lights;
-
+                      
                         #endregion
                         break;
                     case ShowFunction.AC:
@@ -755,20 +755,7 @@
                         btnName.TextID = StringId.SecurityMonitoring;
                         btnFunctionViewBg.MouseUpEventHandler = (sender, e) =>
                         {
-#if __IOS__
-                            EZSDK.IOS.EZSDK.Go2EZvizMonitor();
-#else  //瀹夊崜鎽勫儚澶�
-                            ((BaseActivity)Shared.Application.Activity).SetCamera(b =>
-                            {
-                                if (b)
-                                {
-                                    Android.Content.Intent intent = new Android.Content.Intent();
-                                    intent.SetComponent(new Android.Content.ComponentName(Shared.Application.Activity, "com.videogo.MainActivity"));
-                                    Shared.Application.Activity.StartActivity(intent);
-                                }
-                            });
-
-#endif
+                            HDLCommon.Current.Go2EZvizMonitor(bodyView);
                         };
                         break;
                     case ShowFunction.Sensor:

--
Gitblit v1.8.0