From fed85eb8733eb50c459f2f75ad469598bd26f7b6 Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期五, 21 七月 2023 16:11:29 +0800 Subject: [PATCH] merge dev-wxw to Dev-Branch --- HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs index a85c1ea..74a8d34 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs @@ -485,11 +485,18 @@ scene.functions.Remove(scenefunction); continue; } - //灏唖pk瀹炰綋閲岄潰鐨刴in max鍊兼斁鍏ュ満鏅姛鑳藉疄浣撻噷锛岃涓嶇劧鏁版嵁浼氫涪澶� 2022-06-21 16:06:45 - 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; + try + { + //灏唖pk瀹炰綋閲岄潰鐨刴in max鍊兼斁鍏ュ満鏅姛鑳藉疄浣撻噷锛岃涓嶇劧鏁版嵁浼氫涪澶� 2022-06-21 16:06:45 + 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++; -- Gitblit v1.8.0