From bbbfbb1fff6d2520c3f7c85d834b166e813a8a74 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期四, 06 四月 2023 10:34:49 +0800
Subject: [PATCH] 1.更新EZSDK.IOS.dll 2.增加使用app中定位隐私描述 3.更新添加萤石设备storyboard 4.更改萤石门锁页面适配

---
 HDL_ON/Common/ApiUtlis.cs |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index cb5844c..da5ba70 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -140,6 +140,7 @@
                 //    return;
                 //}
 
+                //return;
 
                 try
                 {
@@ -229,11 +230,10 @@
                                 foreach (var newFunction in deviceList.list)
                                 {
                                     newFunction.AssembleStatus();
-                                    newFunction.SaveFunctionFile();
+                                    newFunction.SaveFunctionFile(); 
                                     FunctionList.List.IniFunctionList(newFunction.savePath,true);
                                     MainPage.Log($"============璁惧============{iiii++}");
                                 }
-
 
 
 
@@ -282,6 +282,7 @@
                                     }
                                 }
 
+
                                 //======================鑾峰彇Sip璐﹀彿骞朵笖鍒濆鍖朣DK鍙瀵硅璁惧鍒楄〃====================
                                 //濡傛灉妫�娴嬬嚎绋嬫病鍚姩锛屾墠缁х画涓嬮潰鎿嶄綔 鍥犱负App鏈夊彲鑳藉垰鍚姩椹笂鏀跺埌鎺ㄩ�佷簡锛岀劧鍚庢墠鎵ц鍒拌繖閲�
                                 if (HDLLinphone.Current.CheckIncomingCallThreadIsNull())
@@ -297,6 +298,7 @@
                                     }
                                     else if (isInterphoneType_FREEVIEW)
                                     {
+
                                         //HDLLinphone鍙瀵硅,鑾峰彇Sip璐﹀彿骞跺垵濮嬪寲SDK
                                         HDLCallVideoInfo callVideoInfo = new HDLCallVideoInfo();
                                         callVideoInfo.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
@@ -311,12 +313,25 @@
                                     }
                                 }
 
+
+
                                 //======================鐧诲綍鍏ㄨ閫�====================
                                 if (isInterphoneType_FREEVIEW)
                                 {
+
 #if __IOS__
-                                    //鐧诲綍鍏ㄨ閫�
-                                    Shared.IOS.HDLFVSDK.Video.Init("", DB_ResidenceData.Instance.CurrentRegion.id);
+                                    List<VisitorTempPassword> dataList = new List<VisitorTempPassword>();
+                                    Dictionary<string, object> dictionary = new Dictionary<string, object>();
+                                    dictionary.Add("homeId", Entity.DB_ResidenceData.Instance.CurrentRegion.id);
+                                    var requestJson = HttpUtil.GetSignRequestJson(dictionary);
+                                    ResponsePackNew pack = HttpUtil.RequestHttpsPost(NewAPI.Api_Post_GetExtMemberInfo, requestJson);
+                                    if(pack!= null)
+                                    {
+                                        var data = Newtonsoft.Json.JsonConvert.DeserializeObject<FreeviewMemberInfo>(pack.Data.ToString());
+                                        //鐧诲綍鍏ㄨ閫�
+                                        Shared.IOS.HDLFVSDK.Video.Init("", data.extUserId, DB_ResidenceData.Instance.CurrentRegion.id, "78FF1E4D-FC0A-4E71-9B79-0448E4460BD7", "T0001", "120.77.53.170:9700", "120.77.53.170:21664");
+
+                                    }
 #endif
                                 }
 
@@ -334,12 +349,13 @@
                             complateDevice = true;
                             MainPage.Log($"============璁惧============瀹屾垚" + FunctionList.List.Functions.Count);
                         }
-                    //})
-                    //{ IsBackground = true }.Start();
+                        //})
+                        //{ IsBackground = true }.Start();
 
-                    ////===================鍦烘櫙==========================
-                    //new System.Threading.Thread(() =>
-                    //{
+                        ////===================鍦烘櫙==========================
+                        //new System.Threading.Thread(() =>
+                        //{
+
                         try
                         {
                             complateScene = false;

--
Gitblit v1.8.0