From 764185112d44c387e16f0483d8da898f8d998944 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 01 四月 2022 09:56:48 +0800
Subject: [PATCH] 大华可视对讲功能优化,自研可视对讲Android接入

---
 HDL_ON/Entity/Function/Function.cs |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs
index 3772dc2..5188fcc 100644
--- a/HDL_ON/Entity/Function/Function.cs
+++ b/HDL_ON/Entity/Function/Function.cs
@@ -556,6 +556,13 @@
                 SaveFunctionFile();
                 if (pack.Code == StateCode.SUCCESS)
                 {
+                    if (UI.RoomPage.bodyView != null)
+                    {
+                        Application.RunOnMainThread(() =>
+                        {
+                            UI.RoomPage.bodyView.ReLoadPage();
+                        });
+                    }
                 }
                 else
                 {
@@ -709,12 +716,8 @@
             sendDataObj.time_stamp = Utlis.GetTimestamp();
             var acd = new AlinkDoorlockStatus();
             acd.sid = sid;
-            acd.user_id = userId;
+            acd.user_id = extStr;
             acd.ext_str = extStr;
-#if DEBUG
-            acd.user_id = "013";
-            acd.ext_str = "999999";
-#endif
             sendDataObj.objects.Add(acd);
             return sendDataObj;
         }
@@ -1246,6 +1249,10 @@
         /// 绌鸿皟
         /// </summary>
         public const string HvacAC = "hvac.ac";
+        /// <summary>
+        /// 姣涚粏绠$┖璋�
+        /// </summary>
+        public const string HvacCac = "hvac.cac";
 
         /// <summary>
         /// 绌鸿皟spk鍒楄〃

--
Gitblit v1.8.0