From 8108700f67ddbe1724ee0b1000d9e55a844f6f28 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 30 十一月 2021 15:32:42 +0800
Subject: [PATCH] 提测版本
---
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