| | |
| | | /// 功能
|
| | | /// </summary>
|
| | | public NormalViewControl btnFunction = null;
|
| | | /// <summary>
|
| | | /// 住宅名称
|
| | | /// </summary>
|
| | | public NormalViewControl btnHouse = null;
|
| | |
|
| | | #endregion
|
| | |
|
| | |
| | | /// </summary>
|
| | | public virtual void ShowFrom()
|
| | | {
|
| | | Phone.Device.Room.RoomManagement.Instance.CanClick = false;
|
| | |
|
| | | UserView.UserPage.Instance.AddChidren(this);
|
| | | this.BackgroundColor = Common.ZigbeeColor.Current.GXCGrayBackgroundColor;
|
| | |
|
| | |
| | | btnMsg.UnSelectedImagePath = "Item/Message.png";
|
| | | this.AddChidren(btnMsg);
|
| | | //住宅名字
|
| | | var btnHouse = new NormalViewControl(300, 95, true);
|
| | | this.btnHouse = new NormalViewControl(300, 95, true);
|
| | | btnHouse.TextSize = 24;
|
| | | btnHouse.X = ControlCommonResourse.XXLeft;
|
| | | btnHouse.Y = Application.GetRealHeight(161);
|
| | |
| | | roomPageView.AddChidren(roomView3);
|
| | | roomView3.Init(room3);
|
| | |
|
| | | roomPageView.PageIndex = 1;
|
| | |
|
| | | //场景和功能的控件
|
| | | this.contrSwitch = new FrameLayout();
|
| | | contrSwitch.Y = roomPageView.Bottom + Application.GetRealHeight(52);
|