HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs
@@ -34,6 +34,7 @@ }; //获取自动化列表 GetLogicList(); // for (int i = Logic.LogicList.Count-1; i >= 0; i--)降序排列 for (int i = 0; i < Logic.LogicList.Count; i++) { var currLogic = Logic.LogicList[i]; @@ -69,7 +70,9 @@ Send.switchLogic(currLogic); }; if (Logic.LogicList.Count-1==i) { //if (i==0)降序排列 if (Logic.LogicList.Count - 1 == i) { ///最后一个距离最底部12,界面显示效果作用; vv.AddChidren(new FrameLayout { Height = Application.GetRealHeight(12) }); }