From 6d73bf6e816570291865674bef8bce8972e4de3f Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 01 十二月 2021 16:32:57 +0800 Subject: [PATCH] 2021-12-01-01 --- HDL_ON/Common/ApiUtlis.cs | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs index 65338b6..5ef087c 100644 --- a/HDL_ON/Common/ApiUtlis.cs +++ b/HDL_ON/Common/ApiUtlis.cs @@ -56,7 +56,9 @@ return result; } - + /// <summary> + /// 涓嬭浇鏁版嵁瀹屾垚鏍囪 + /// </summary> public bool DownloadDataComplete = true; /// <summary> /// 涓嬭浇鏁版嵁 @@ -168,7 +170,7 @@ for (int i = 0; i < FunctionList.List.GetDeviceFunctionList().Count;) { var localFunction = FunctionList.List.GetDeviceFunctionList()[i]; - if (localFunction.Spk_Prefix == FunctionCategory.Music || string.IsNullOrEmpty(localFunction.Spk_Prefix)) + if (SPK.MusicSpkList().Contains(localFunction.spk)) { i++; continue; @@ -277,19 +279,11 @@ UI.UI2.PersonalCenter.PirDevice.PirSend.LcSubAccessToken = video.subAccountToken; } else if (video.interphoneType == InterphoneType.HDL.ToString()) { isInterphoneType_HDL = true; - } - else if(video.interphoneType == InterphoneType.HDL.ToString()) - { DB_ResidenceData.Instance.SupportFacePass = true; - DB_ResidenceData.Instance.SaveResidenceData(); + DB_ResidenceData.Instance.SaveResidenceData(); } } } - - - //======================瀹夐槻==================== - GetSecurityList(); - //======================SIP璐﹀彿==================== //======================鑾峰彇Sip璐﹀彿骞朵笖鍒濆鍖朣DK鍙瀵硅璁惧鍒楄〃==================== //濡傛灉妫�娴嬬嚎绋嬫病鍚姩锛屾墠缁х画涓嬮潰鎿嶄綔 鍥犱负App鏈夊彲鑳藉垰鍚姩椹笂鏀跺埌鎺ㄩ�佷簡锛岀劧鍚庢墠鎵ц鍒拌繖閲� @@ -307,7 +301,10 @@ HDLLinphone.Current.LogoutAllAccount(); } } - + + //======================瀹夐槻==================== + GetSecurityList(); + } catch (Exception ex) { @@ -379,6 +376,7 @@ //閲嶆柊杩炴帴mqtt DAL.Mqtt.MqttClient.DisConnectRemote("鍒锋柊鏁版嵁锛岄噸杩瀖qtt",false); #endregion + } } }) -- Gitblit v1.8.0