wxr
2022-11-15 02498f7744e6fdc413e518f96b25f3635540dc6b
HDL_ON/Entity/FunctionList.cs
@@ -360,6 +360,8 @@
                switch (brandType)
                {
                    case SPK.BrandType.Hdl:
                        try
                        {
                        foreach (var function in Functions)
                        {
                            if (!SPK.Get3tySpk(SPK.BrandType.All3tyBrand).Contains(function.spk))
@@ -367,10 +369,14 @@
                                resultFunctions.Add(function);
                            }
                        }
                        }
                        catch { }
                        break;
                    case SPK.BrandType.Tuya:
                        lock (Functions)
                        {
                            try
                        {
                            foreach (var function in Functions)
                            {
@@ -380,6 +386,8 @@
                                }
                            }
                        }
                            catch { }
                        }
                        break;
                }
                return resultFunctions;