From 0f13be8b24ef37fe16cd34c8411a907f93b7f304 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 28 十一月 2023 09:35:42 +0800
Subject: [PATCH] Merge branch 'Wxr-V2.4.2' into Google-2023-11-17-1

---
 HDL_ON/Common/ApiUtlis.cs |   59 ++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 30 insertions(+), 29 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index c04aa5a..cb434bc 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -337,33 +337,33 @@
 
                                 //======================鑾峰彇Sip璐﹀彿骞朵笖鍒濆鍖朣DK鍙瀵硅璁惧鍒楄〃====================
                                 //濡傛灉妫�娴嬬嚎绋嬫病鍚姩锛屾墠缁х画涓嬮潰鎿嶄綔 鍥犱负App鏈夊彲鑳藉垰鍚姩椹笂鏀跺埌鎺ㄩ�佷簡锛岀劧鍚庢墠鎵ц鍒拌繖閲�
-                                if (HDLLinphone.Current.CheckIncomingCallThreadIsNull())
-                                {
+                                //if (HDLLinphone.Current.CheckIncomingCallThreadIsNull())
+                                //{
                                     
-                                    //褰撳墠浣忓畢鏄疕DL鍙瀵硅绫诲瀷鐨勮澶�
-                                    if (isInterphoneType_HDL)
-                                    {
-                                        //HDLLinphone鍙瀵硅,鑾峰彇Sip璐﹀彿骞跺垵濮嬪寲SDK
-                                        HDLCallVideoInfo callVideoInfo = new HDLCallVideoInfo();
-                                        callVideoInfo.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
-                                        callVideoInfo.InterphoneType = InterphoneType.HDL.ToString();
-                                        HDLLinphone.Current.GetHDLSipInfoAndInitSDK(callVideoInfo);
-                                    }
-                                    else if (isInterphoneType_FREEVIEW)
-                                    {
-                                        //HDLLinphone鍙瀵硅,鑾峰彇Sip璐﹀彿骞跺垵濮嬪寲SDK
-                                        HDLCallVideoInfo callVideoInfo = new HDLCallVideoInfo();
-                                        callVideoInfo.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
-                                        callVideoInfo.InterphoneType = InterphoneType.FREEVIEW.ToString();
-                                        HDLLinphone.Current.GetHDLSipInfoAndInitSDK(callVideoInfo);
-                                    }
-                                    else
-                                    {
-                                        Utlis.WriteLine("褰撳墠浣忓畢涓嶆敮鎸丠DL鍙瀵硅,閫�鍑虹櫥褰曟墍鏈夎处鍙�");
-                                        //褰撳墠浣忓畢涓嶆敮鎸丠DL鍙瀵硅
-                                        HDLLinphone.Current.LogoutAllAccount();
-                                    }
-                                }
+                                //    //褰撳墠浣忓畢鏄疕DL鍙瀵硅绫诲瀷鐨勮澶�
+                                //    if (isInterphoneType_HDL)
+                                //    {
+                                //        //HDLLinphone鍙瀵硅,鑾峰彇Sip璐﹀彿骞跺垵濮嬪寲SDK
+                                //        HDLCallVideoInfo callVideoInfo = new HDLCallVideoInfo();
+                                //        callVideoInfo.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
+                                //        callVideoInfo.InterphoneType = InterphoneType.HDL.ToString();
+                                //        HDLLinphone.Current.GetHDLSipInfoAndInitSDK(callVideoInfo);
+                                //    }
+                                //    else if (isInterphoneType_FREEVIEW)
+                                //    {
+                                //        //HDLLinphone鍙瀵硅,鑾峰彇Sip璐﹀彿骞跺垵濮嬪寲SDK
+                                //        HDLCallVideoInfo callVideoInfo = new HDLCallVideoInfo();
+                                //        callVideoInfo.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
+                                //        callVideoInfo.InterphoneType = InterphoneType.FREEVIEW.ToString();
+                                //        HDLLinphone.Current.GetHDLSipInfoAndInitSDK(callVideoInfo);
+                                //    }
+                                //    else
+                                //    {
+                                //        Utlis.WriteLine("褰撳墠浣忓畢涓嶆敮鎸丠DL鍙瀵硅,閫�鍑虹櫥褰曟墍鏈夎处鍙�");
+                                //        //褰撳墠浣忓畢涓嶆敮鎸丠DL鍙瀵硅
+                                //        HDLLinphone.Current.LogoutAllAccount();
+                                //    }
+                                //}
 
 
 
@@ -535,11 +535,12 @@
 
                         //======================瀹夐槻====================
                         GetSecurityList();
+
+                        //===================璇诲彇閫昏緫鍒楄〃==========================
+                        Logic.LogicList.Clear();//涓婚〉涓嬫媺寮哄埗鍒锋柊鑷姩鍖栧垪琛�
+                        MainView.GetLogicList();//璇诲彇鑷姩鍖栧垪琛�
                     })
                     { IsBackground = true }.Start();
-
-                    //===================璇诲彇閫昏緫鍒楄〃==========================
-                    Logic.LogicList.Clear();//涓婚〉涓嬫媺寮哄埗鍒锋柊鑷姩鍖栧垪琛�
 
                     //======================娉ㄥ唽鎺ㄩ��====================
                     httpRequest.RegisteredPush();

--
Gitblit v1.8.0