HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2019-10-29 0f5a53c7b36c27a0f2bec12e6119207edb6860f8
ZigbeeApp/Shared/Phone/UserCenter/Device/PirSensor/PirSensorTargetSelectForm.cs
@@ -99,20 +99,7 @@
                else
                {
                    //没有可以添加的目标
                    var btnPic = new PicViewControl(683, 392);
                    btnPic.UnSelectedImagePath = "Item/NoFunction.png";
                    btnPic.Y = (int)(bodyFrameLayout.Height * 0.382) - Application.GetRealHeight(392 / 2);
                    btnPic.Gravity = Gravity.CenterHorizontal;
                    bodyFrameLayout.AddChidren(btnPic);
                    var btnView = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(50), false);
                    btnView.Y = btnPic.Bottom + Application.GetRealHeight(32);
                    btnView.TextID = R.MyInternationalizationString.uNotHadAddTarget;
                    btnView.TextAlignment = TextAlignment.Center;
                    btnView.TextSize = 12;
                    btnView.TextColor = UserCenterColor.Current.TextGrayColor1;
                    bodyFrameLayout.AddChidren(btnView);
                    return;
                    this.ShowNotDataImage(bodyFrameLayout, Language.StringByID(R.MyInternationalizationString.uNotHadAddTarget));
                }
            });
        }