HDL Home App 第二版本 旧平台金堂用 正在使用
hxb
2022-08-30 25429f085093d89d543a0b90e30d0d62d1b7dac9
ZigbeeApp/Shared/Phone/Device/Logic/SkipView.cs
@@ -102,8 +102,8 @@
            //图标控件
            var sigBtn = new Button
            {
                Width = Application.GetMinRealAverage(84),
                Height = Application.GetMinRealAverage(84),
                Width = Application.GetRealWidth(84),
                Height = Application.GetRealWidth(84),
                UnSelectedImagePath = "ZigeeLogic/sign.png",
                X = Application.GetRealWidth(58),
                Gravity = Gravity.CenterVertical,
@@ -112,8 +112,8 @@
            //推荐模板文本控件
            var recommendtextBtn = new Button
            {
                Width = Application.GetMinRealAverage(300),
                Height = Application.GetMinRealAverage(84),
                Width = Application.GetRealWidth(300),
                Height = Application.GetRealHeight(84),
                X = sigBtn.Right + Application.GetRealWidth(35),
                TextAlignment = TextAlignment.CenterLeft,
                //Text = "推荐模板",
@@ -127,7 +127,7 @@
            var recommendswitchBtn = new Button
            {
                Width = Application.GetRealWidth(104),
                Height = Application.GetRealHeight(63),
                Height = Application.GetRealWidth(63),
                UnSelectedImagePath = "ZigeeLogic/logicclose.png",
                SelectedImagePath = "ZigeeLogic/logicopen.png",
                X = bjFrameLayout.Width - Application.GetRealWidth(104 + 58),
@@ -172,14 +172,14 @@
                        var frameLayout = new FrameLayout
                        {
                            Width = Application.GetMinRealAverage(369 + 46),
                            Height = Application.GetMinRealAverage(246),
                            Width = Application.GetRealWidth(369 + 46),
                            Height = Application.GetRealHeight(246),
                        };
                        scenehorizontalScrol.AddChidren(frameLayout);
                        var logiciocnBtn = new Button
                        {
                            Width = Application.GetMinRealAverage(369),
                            Height = Application.GetMinRealAverage(246),
                            Width = Application.GetRealWidth(369),
                            Height = Application.GetRealWidth(246),
                            UnSelectedImagePath = "ZigeeLogic/" + i + ".png",
                            Tag = i,
                        };
@@ -187,8 +187,8 @@
                        var logicnameBtn = new Button
                        {
                            Width = Application.GetMinRealAverage(250),
                            Height = Application.GetMinRealAverage(80),
                            Width = Application.GetRealWidth(250),
                            Height = Application.GetRealHeight(80),
                            X = Application.GetRealWidth(23),
                            Y = Application.GetRealHeight(246 - 23 - 80),
                            TextAlignment = TextAlignment.CenterLeft,
@@ -358,8 +358,8 @@
                var noIconBtn = new Button
                {
                    Y = Application.GetRealHeight(294 - 55),
                    Width = Application.GetMinRealAverage(757),
                    Height = Application.GetMinRealAverage(435),
                    Width = Application.GetRealWidth(757),
                    Height = Application.GetRealWidth(435),
                    UnSelectedImagePath = "Item/NoFunction.png",
                    X = Application.GetRealWidth(104),
                };
@@ -448,8 +448,8 @@
                var logicswitchBtn = new Button
                {
                    Width = Application.GetMinRealAverage(104),
                    Height = Application.GetMinRealAverage(63),
                    Width = Application.GetRealWidth(104),
                    Height = Application.GetRealWidth(63),
                    UnSelectedImagePath = "ZigeeLogic/logicclose.png",
                    SelectedImagePath = "ZigeeLogic/logicopen.png",
                    X = logicRowlayout.Width - Application.GetRealWidth(104 + 58),
@@ -627,8 +627,8 @@
                var typeIconBtn = new Button
                {
                    Width = Application.GetMinRealAverage(58),
                    Height = Application.GetMinRealAverage(58),
                    Width = Application.GetRealWidth(58),
                    Height = Application.GetRealWidth(58),
                    Gravity = Gravity.Center,
                };
@@ -639,7 +639,7 @@
                    Y = typebjBtn.Y + Application.GetRealHeight(35),
                    X = Application.GetRealWidth(58) + Application.GetRealWidth((12 + 82 + 12) + (12 + 45 + 82 + 12) * i),
                    Width = Application.GetRealWidth(48),
                    Height = Application.GetRealHeight(15),
                    Height = Application.GetRealWidth(15),
                    UnSelectedImagePath = "ZigeeLogic/connect.png",
                };
                logicRowlayout.AddChidren(connectIconBtn);