wxr
2023-01-31 1a0ddfcd1a24ed0a14d76362802c974e3d4c86c8
HDL_ON/Entity/FunctionList.cs
@@ -19,7 +19,7 @@
            try
            {
                _FunctionList._IpCamImou = null;
                _FunctionList.Clear();
                _FunctionList.ClearDatas();
                _FunctionList = null;
            }
            catch (Exception ex)
@@ -452,14 +452,16 @@
        /// <summary>
        /// 清空设备功能列表
        /// </summary>
        public void Clear()
        public void ClearDatas()
        {
            try
            {
                _IpCamImou.Clear();
                _IpCamImou = null;
                _FunctionList.Clear();
                _FunctionList = null;
                if (_IpCamImou != null)
                {
                    _IpCamImou.Clear();
                    _IpCamImou = null;
                }
                _FunctionList = new FunctionList();
            }
            catch (Exception ex)
            {