From 223875b14fa1f87be66620c9903e5183f9b19c43 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 27 八月 2021 17:01:08 +0800
Subject: [PATCH] 2021-08-27 1.更新Android库,修改裁剪图片方案,支持大图裁剪

---
 HDL_ON/Entity/FunctionList.cs |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index 707c057..d95e1ba 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -5,6 +5,7 @@
 using HDL_ON.Common;
 using HDL_ON.DAL;
 using HDL_ON.DAL.Server;
+using HDL_ON.DriverLayer;
 using Shared;
 
 namespace HDL_ON.Entity
@@ -174,6 +175,7 @@
         /// </summary>
         public List<SecurityAlarm> securities = new List<SecurityAlarm>();
 
+
         /// <summary>
         /// 鍔犺浇鍔熻兘鍒楄〃
         /// </summary>
@@ -184,7 +186,6 @@
         /// <para>false:鐩存帴鏃犳潯浠舵坊鍔�</para></param>
         public void IniFunctionList(string filePath, bool checkRepeat = false)
         {
-            MainPage.Log("鍒濆鍖栧姛鑳芥暟鎹�");
             // todo 澧炲姞璁惧锛屽鍔犲姛鑳借繘鍔熻兘鍒楄〃
             if (filePath.StartsWith("FunctionData_"))
             {
@@ -433,6 +434,17 @@
                             //        break;
                             //}
                         }
+                        if(DB_ResidenceData.Instance.GatewayType == 1)
+                        {
+                            Dictionary<string, string> pairs = new Dictionary<string, string>();
+                            string sendId = Control.Ins.msg_id.ToString();
+                            pairs.Add("id", sendId);
+                            pairs.Add("time_stamp", Utlis.GetTimestamp());
+                            var readSecurityStatusJson = Newtonsoft.Json.JsonConvert.SerializeObject(pairs);
+                            var sendBytes = Control.Ins.ConvertSendBodyData(CommunicationTopic.ct.ReadSecurityStatus, readSecurityStatusJson);
+                            MainPage.Log($"鏈湴閫氳 璇诲彇瀹夐槻鐘舵��:{readSecurityStatusJson}");
+                            new Control_Udp().SendLocalHdlLinkData(sendBytes, sendId);
+                        }
                     }
                     else
                     {

--
Gitblit v1.8.0