xm
2020-07-31 ecba45c93391066bc30c7bd602c3a7683fbb99a7
ZigbeeApp/Shared/Phone/Device/Logic/SkipView.cs
@@ -10,7 +10,6 @@
{
    public class SkipView:FrameLayout
    {
        /// <summary>
        /// 其它界面跳进来的入口
        /// </summary>
@@ -74,19 +73,6 @@
            //functionSceneAutoBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor;
            #region   ---推荐模板的组件
            //推荐模板背景控件
            var bjFrameLayout1 = new FrameLayout
            {
                Width = Application.GetRealWidth(1080 - 58),
                Height = Application.GetRealHeight(50),
                BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor,
                X = Application.GetRealWidth(58),
                //Radius = (uint)Application.GetRealHeight(50),
                Y = Application.GetRealHeight(30),
            };
            functionSceneAutoBodyView.AddChidren(bjFrameLayout1);
            var bjFrameLayout = new FrameLayout
            {
                Width = Application.GetRealWidth(1080 - 58),
@@ -95,10 +81,10 @@
                X = Application.GetRealWidth(58),
                //Radius = (uint)Application.GetRealHeight(50),
                Y = Application.GetRealHeight(30),
            };
            functionSceneAutoBodyView.AddChidren(bjFrameLayout);
            bjFrameLayout1.SetCornerWithSameRadius(Application.GetRealHeight(17), HDLUtils.RectCornerTopLeft);
            bjFrameLayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft|HDLUtils.RectCornerBottomLeft);
            bjFrameLayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerBottomLeft);
            //图标控件
            var sigBtn = new Button
            {
@@ -255,7 +241,7 @@
            {
                if (!Config.Instance.Home.IsVirtually)
                {//虚拟的不获取网关逻辑列表
                 //重新刷新logic列表
                    //重新刷新logic列表
                    If_once = true;
                    Common.Logic.LogicList.Clear();
                    Read(logicScrolView, no);
@@ -320,7 +306,6 @@
                                    Common.Logic.LogicList.Add(logic);
                                }
                            }
                        }
                    }
                }
@@ -334,7 +319,6 @@
            CommonPage.Loading.Hide();
        }
        static RowLayout selectedRow = new RowLayout() { Tag = "0" };//记录左滑状态
        /// <summary>
        /// 加载自动化列表界面
        /// </summary>
@@ -883,8 +867,6 @@
            }
            return false;
        }
    }
}