From 89e5ee13906a80f5357e078301169fabbf9103c6 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 01 四月 2021 10:28:23 +0800
Subject: [PATCH] 2021-4-1-5

---
 HDL_ON/Common/ApiUtlis.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 2c87fbc..364561b 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -185,6 +185,7 @@
                         //澶勭悊鍓╀笅鐨勬柊澧炲姛鑳�
                         foreach (var newFunction in deviceList.list) 
                         {
+                            MainPage.Log(newFunction.savePath);
                             newFunction.SaveFunctionFile();
                             FunctionList.List.IniFunctionList(newFunction.savePath);
                         }
@@ -276,6 +277,13 @@
 
                     //===================璇诲彇閫昏緫鍒楄〃==========================
                     UI.UI2.Intelligence.Automation.MainView.GetLogicList();
+                    //===================璇诲彇鍙瀵硅鏁版嵁==========================
+                    var flVideoInfo = HttpRequest.CheckFlVideo();
+                    if(flVideoInfo.Code == StateCode.SUCCESS)
+                    {
+                        FunctionList.List.videoIntercom = Newtonsoft.Json.JsonConvert.DeserializeObject<UI.UI2.FuntionControlView.Video.VideoMethod.VideoClouds>(flVideoInfo.Data.ToString());
+                    }
+
                 }
                 catch (Exception ex)
                 {

--
Gitblit v1.8.0