From e1a8f2f7e4d850beedeb1469610b878c1427e976 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 15 十二月 2021 09:01:53 +0800
Subject: [PATCH] 更新

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
index 6c1e70f..9b788f2 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
@@ -853,13 +853,18 @@
     /// <param name="out_lat">APP GPS绾害</param>
     private void AutomatedGeofenceStatusReporting(double out_lng, double out_lat)
     {
+      if (IsOthreShare)
+      {
+        //涓嶆槸涓昏处鍙风洿鎺ヨ繑鍥�
+        return;
+      }
       List<LogicData> logicDataList = new List<LogicData>();
       logicDataList.Clear();
       System.Threading.Tasks.Task.Run(() =>
       {
         try
         {
-          //鑾峰彇閫昏緫ID鍒楄〃<澶囨敞:濡傛灉鍙拡瀵瑰綋鍓嶆墜鏈虹殑璇濓紝鍙互鐩存帴鎷跨紦瀛樻暟鎹嚜鍔ㄥ寲鍒楄〃閬嶅巻>
+          //鑾峰彇閫昏緫ID鍒楄〃锛岀洰鍓嶉拡瀵规墍鏈�<澶囨敞:濡傛灉鍙拡瀵瑰綋鍓嶆墜鏈虹殑璇濓紝鍙互鐩存帴鎷跨紦瀛樻暟鎹嚜鍔ㄥ寲鍒楄〃閬嶅巻>
           var idStr = Send.GetLogicIdList();
           if (idStr.Code == "0" && idStr.Data != null && idStr.Data.ToString() != "")
           {
@@ -900,6 +905,7 @@
                 //绂诲紑
                 direction = "leave";
               }
+              ///閬嶅巻缂撳瓨鍒楄〃<涓嶄负绌鸿鏄庢暟鎹凡缁忔帹閫佽繃锛屼笉鍐嶆帹閫�>
               var isPush = pushList.Find((o) => o.homeId == HomeId && o.userId == UserInfo.Current.ID && o.userLogicId == logicDate.userLogicId && o.arriveOnLeave == direction);
               if (isPush == null)
               {

--
Gitblit v1.8.0