wjc
2022-11-04 2ddd276a8a85ed2d102d5796aba1b89ab60b1629
2022年11月04日14:38:19
2个文件已修改
8 ■■■■■ 已修改文件
HDL_ON/Common/ApiUtlis.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/Common/ApiUtlis.cs
@@ -5,6 +5,7 @@
using HDL_ON.DAL.Server;
using HDL_ON.Entity;
using HDL_ON.UI.UI2.FuntionControlView.Video;
using HDL_ON.UI.UI2.Intelligence.Automation;
using Newtonsoft.Json;
using Shared;
@@ -320,7 +321,8 @@
                    { IsBackground = true }.Start();
                    //===================读取逻辑列表==========================
                    UI.UI2.Intelligence.Automation.MainView.GetLogicList(true);
                    Logic.LogicList.Clear();//主页下拉强制刷新自动化列表
                    UI.UI2.Intelligence.Automation.MainView.GetLogicList();
                    //===================读取可视对讲数据==========================
                    //判断是否有可视对讲数据,有则显示可视对讲icon
HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs
@@ -258,9 +258,9 @@
        /// <summary>
        /// 获取逻辑列表
        /// </summary>
        public static void GetLogicList(bool needRefresh = false)//增加强制刷新
        public static void GetLogicList()
        {
            if (Logic.LogicList.Count != 0 || !needRefresh)
            if (Logic.LogicList.Count != 0)
            {
                //自动化列表为0才去获取自动化列表;
                return;