| | |
| | | |
| | | EventHandler<MouseEventArgs> skipEvent= (sender, e) => |
| | | { |
| | | var ssf = new SceneFunctionInfoEditPage(scene, scenefunction.localFunction.ConvertSceneFunction(), refreshFunctionRowAction); |
| | | MainPage.BasePageView.AddChidren(ssf); |
| | | ssf.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | try |
| | | { |
| | | var ssf = new SceneFunctionInfoEditPage(scene, scenefunction.localFunction.ConvertSceneFunction(), refreshFunctionRowAction); |
| | | MainPage.BasePageView.AddChidren(ssf); |
| | | ssf.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }catch(Exception ex) |
| | | { |
| | | MainPage.Log($"load SceneFunctionInfoEditPage error : {ex.Message}"); |
| | | } |
| | | }; |
| | | |
| | | btnFunctionName.MouseUpEventHandler = skipEvent; |
| | |
| | | var perAngle = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Angle); |
| | | if (perAngle != null) |
| | | { |
| | | sceneFunctionInfo += " "+ perState.value + "°"; |
| | | sceneFunctionInfo += " "+ perAngle.value + "°"; |
| | | } |
| | | |
| | | var perColorful = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Colorful); |