wxr
2020-03-31 002a3f2e9d2f9579c01f88af12bd8a320003569f
HDL_ON/UI/UI2/FuntionControlView/Light/RelayPage.cs
@@ -9,7 +9,7 @@
    {
        #region 控件集合
        FrameLayout bodyView;
        static RelayPage bodyView;
        /// <summary>
        /// 控制界面加载区域
        /// </summary>
@@ -124,7 +124,7 @@
                BackgroundColor = CSS_Color.PromptingColor2,
                SelectedBackgroundColor= CSS_Color.AuxiliaryColor1,
                Radius = (uint)Application.GetRealWidth(40),
                IsSelected = light.on_off != 0
                IsSelected = light.on_off == "on"
            };
            controlView.AddChidren(btnSwitchIcon);
@@ -136,7 +136,7 @@
                Height = Application.GetMinRealAverage(40),
                UnSelectedImagePath = "Public/PowerClose.png",
                SelectedImagePath = "Public/PowerOpen.png",
                IsSelected = light.on_off != 0
                IsSelected = light.on_off == "on"
            };
            controlView.AddChidren(btnSwitch);