HDL Home App 第二版本 旧平台金堂用 正在使用
wjc
2022-12-01 351bdda734832d821a9764b0cde8be5d83c4ec50
ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs
@@ -31,37 +31,37 @@
            var middle = new FrameLayout
            {
                Y = view.topRowLayout.Bottom,
                Height = Application.GetRealHeight(1920 - 184),
                Height = Application.GetRealHeight(Method.H - 184),
                BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
            };
            this.AddChidren(middle);
            var blancolorFl = new FrameLayout
            {
                Width = Application.GetMinRealAverage(200),
                Height = Application.GetMinRealAverage(200),
                Width = Application.GetRealWidth(200),
                Height = Application.GetRealWidth(200),
                Y = Application.GetRealHeight(130),
                BackgroundColor = 0xFFFFFFFF,
                Radius = (uint)Application.GetMinRealAverage(100),
                Radius = (uint)Application.GetRealWidth(100),
                X = Application.GetRealWidth(440),
            };
            middle.AddChidren(blancolorFl);
            var colorBtn = new Button
            {
                Width = Application.GetMinRealAverage(200-24),
                Height =Application.GetMinRealAverage(200-24),
                X = Application.GetMinRealAverage(12),
                Y = Application.GetMinRealAverage(12),
                Width = Application.GetRealWidth(200-24),
                Height =Application.GetRealWidth(200-24),
                X = Application.GetRealWidth(12),
                Y = Application.GetRealWidth(12),
                BackgroundColor = 0xFFFEF1ED,
                Radius = (uint)Application.GetMinRealAverage(88),
            };
            blancolorFl.AddChidren(colorBtn);
            var btnicon = new Button
            {
                X = Application.GetMinRealAverage(58),
                Y = Application.GetMinRealAverage(58),
                Width = Application.GetMinRealAverage(84),
                Height = Application.GetMinRealAverage(84),
                X = Application.GetRealWidth(58),
                Y = Application.GetRealWidth(58),
                Width = Application.GetRealWidth(84),
                Height = Application.GetRealWidth(84),
                UnSelectedImagePath = "ZigeeLogic/delay.png",
            };
            blancolorFl.AddChidren(btnicon);