wxr
2023-07-20 8c28c3f43f91510e3a99189243c17717bdee1a0e
HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
@@ -485,12 +485,19 @@
                    scene.functions.Remove(scenefunction);
                    continue;
                }
                try
                {
                //将spk实体里面的min max值放入场景功能实体里,要不然数据会丢失 2022-06-21 16:06:45
                foreach (var tt in scenefunction.status) {
                    foreach (var tt in scenefunction.status)
                    {
                    tt.min = scenefunction.localFunction.GetAttribute(tt.key).min;
                    tt.max = scenefunction.localFunction.GetAttribute(tt.key).max;
                    tt.valueList = scenefunction.localFunction.GetAttribute(tt.key).value;
                }
                }catch(Exception ex)
                {
                    MainPage.Log($"场景加载功能列表异常:{ex.Message}");
                }
                i++;
                var row = new RowLayout()