From 39e83c7df7608b29a3f359bcc6d9ca9b7ff095f5 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期二, 17 五月 2022 13:54:39 +0800 Subject: [PATCH] 增加预编译条件 --- HDL_ON/Common/ApiUtlis.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs index ae6c314..35d8c7d 100644 --- a/HDL_ON/Common/ApiUtlis.cs +++ b/HDL_ON/Common/ApiUtlis.cs @@ -337,8 +337,10 @@ //======================鐧诲綍鍏ㄨ閫�==================== if (isInterphoneType_FREEVIEW) { +#if __IOS__ //鐧诲綍鍏ㄨ閫� Shared.IOS.HDLFVSDK.Video.Init("", DB_ResidenceData.Instance.CurrentRegion.id); +#endif } @@ -408,12 +410,12 @@ { if (DB_ResidenceData.Instance.CurrentRegion != null) { - #region 璇诲彇鏈湴鏁版嵁 +#region 璇诲彇鏈湴鏁版嵁 //鎼滅储缃戝叧 DriverLayer.Control.Ins.SearchLoaclGateway(); //閲嶆柊杩炴帴mqtt DAL.Mqtt.MqttClient.DisConnectRemote("鍒锋柊鏁版嵁锛岄噸杩瀖qtt",false); - #endregion +#endregion } } -- Gitblit v1.8.0