From 47fd8d410a0a85832758751b1f25b77e02ae3d58 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期五, 25 十一月 2022 18:20:21 +0800
Subject: [PATCH] 2022年11月25日18:19:37

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

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
index 6db4e38..6fee150 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
@@ -3,7 +3,9 @@
 using HDL_ON.DAL.Server;
 using HDL_ON.Entity;
 using HDL_ON.UI.CSS;
+#if __Android__
 using Java.Interop;
+#endif
 using Shared;
 namespace HDL_ON.UI
 {
@@ -351,7 +353,7 @@
 
 
 
-
+#if __Android__
     public class AddLcCam : Java.Lang.Object, Com.CallBack.IAddCamera
     {
 
@@ -412,5 +414,15 @@
         {
         }
     }
+#else
+    public class AddLcCam
+    {
+        public Action backAction;
 
+        public void Back()
+        {
+            backAction?.Invoke();
+        }
+    }
+#endif
 }

--
Gitblit v1.8.0