黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetStatuSelectSwitchForm.cs
@@ -81,7 +81,7 @@
            //头部信息
            var btnTitle = new NormalViewControl(frameTransparent.Width, Application.GetRealHeight(70), false);
            btnTitle.Y = Application.GetRealHeight(28);
            btnTitle.Text = Common.LocalDevice.Current.GetDeviceEpointName(device);
            btnTitle.Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(device);
            btnTitle.TextColor = UserCenterColor.Current.TextColor4;
            btnTitle.TextSize = 16;
            btnTitle.TextAlignment = TextAlignment.Center;
@@ -109,7 +109,7 @@
            rowRound.AddChidren(btnFinish);
            //线
            var btnLine1 = new NormalViewControl(frameTransparent.Width, ControlCommonResourse.BottomLineHeight, false);
            var btnLine1 = new NormalViewControl(frameTransparent.Width, HdlControlResourse.BottomLineHeight, false);
            btnLine1.Y = Application.GetRealHeight(138);
            btnLine1.BackgroundColor = UserCenterColor.Current.ButtomLine;
            frameTransparent.AddChidren(btnLine1);
@@ -133,8 +133,8 @@
            //开
            var rowOpen = new FrameRowControl();
            rowOpen.Y = Application.GetRealHeight(69);
            rowOpen.LeftOffset = Application.GetRealWidth(81) - ControlCommonResourse.XXLeft;
            rowOpen.RightOffset = ControlCommonResourse.XXLeft - Application.GetRealWidth(81);
            rowOpen.LeftOffset = Application.GetRealWidth(81) - HdlControlResourse.XXLeft;
            rowOpen.RightOffset = HdlControlResourse.XXLeft - Application.GetRealWidth(81);
            detailBackFrame.AddChidren(rowOpen);
            var btnOpen = rowOpen.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uSimpleOpen), 400);
            btnOpen.TextColor = UserCenterColor.Current.TextGrayColor3;
@@ -147,8 +147,8 @@
            //关
            var rowClose = new FrameRowControl();
            rowClose.Y = rowOpen.Bottom + Application.GetRealHeight(12);
            rowClose.LeftOffset = Application.GetRealWidth(81) - ControlCommonResourse.XXLeft;
            rowClose.RightOffset = ControlCommonResourse.XXLeft - Application.GetRealWidth(81);
            rowClose.LeftOffset = Application.GetRealWidth(81) - HdlControlResourse.XXLeft;
            rowClose.RightOffset = HdlControlResourse.XXLeft - Application.GetRealWidth(81);
            detailBackFrame.AddChidren(rowClose);
            var btnClose = rowClose.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uSimpleClose), 400);
            btnClose.TextColor = UserCenterColor.Current.TextGrayColor3;