黄学彪
2020-09-18 c7df85937f73fb347ee0b19e9c052d2d00a6df6c
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs
@@ -7,7 +7,7 @@
    /// <summary>
    /// 安防管理主页的控件
    /// </summary>
    public class SafetyMasterControl : FrameLayout
    public class SafetyMasterControl : NormalFrameLayout
    {
        #region ■ 变量声明___________________________
@@ -156,7 +156,7 @@
                return;
            }
            Application.RunOnMainThread(() =>
            HdlThreadLogic.Current.RunMain(() =>
            {
                //根据布防模式,设置图标的选择状态
                this.SetIconStatuByGarrisonMode(mode);
@@ -199,7 +199,7 @@
                return;
            }
            Application.RunOnMainThread(() =>
            HdlThreadLogic.Current.RunMain(() =>
            {
                //根据布防模式,设置图标的选择状态
                this.SetIconStatuByGarrisonMode(mode);
@@ -230,7 +230,7 @@
            {
                return;
            }
            Application.RunOnMainThread(() =>
            HdlThreadLogic.Current.RunMain(() =>
            {
                //根据布防模式,设置图标的选择状态
                this.SetIconStatuByGarrisonMode(GarrisonMode.RemoveGarrison);
@@ -287,7 +287,7 @@
                //没必要再初始化界面
                return;
            }
            Application.RunOnMainThread(() =>
            HdlThreadLogic.Current.RunMain(() =>
            {
                //清空全部控件
                this.RemoveAll();
@@ -355,13 +355,13 @@
                btnBack.Gravity = Gravity.CenterHorizontal;
                btnBack.Radius = (uint)backHeight / 2;
                btnBack.BackgroundColor = UserCenterColor.Current.BodyFrameLayout;
                this.AddChidren(btnBack, ChidrenBindMode.BindEventOnly);
                this.AddChidren(btnBack, ChidrenBindMode.BindEvent);
                //图标
                btnIcon = new IconViewControl(81);
                btnIcon.Y = Application.GetRealHeight(26);
                btnIcon.Gravity = Gravity.CenterHorizontal;
                this.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);
                this.AddChidren(btnIcon, ChidrenBindMode.BindEvent);
                //文本
                btnText = new NormalViewControl(this.Width, Application.GetRealHeight(58), false);