WJC
2020-03-17 f6e34a69f1d1e0b0b3a6252fe20acddca7fe56e5
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs
@@ -20,7 +20,7 @@
        /// </summary>
        public Common.SceneUI Scene
        {
            get { return Common.Room.CurrentRoom.GetSceneUIBySceneId(SceneId); }
            get { return HdlSceneLogic.Current.GetSceneUIBySceneId(SceneId); }
        }
        /// <summary>
        /// 选择控件
@@ -87,20 +87,11 @@
            btnIcon.UnSelectedImagePath = "Scene/SceneIcon.png";
            //场景
            var btnScene = this.AddLeftCaption(SceneTemp.Name, 850, 60);
            btnScene.TextSize = 15;
            //这个坐标有点特殊
            btnScene.Y = Application.GetRealHeight(12) + this.chidrenYaxis;
            this.AddChidren(btnScene, ChidrenBindMode.BindEventOnly);
            this.AddTopView(SceneTemp.Name, 850);
            //房间
            string roomName = Common.Room.CurrentRoom.GetRoomNameBySceneId(SceneId);
            var btnRoom = this.AddLeftCaption(roomName, 850, 50, true);
            //这个坐标有点特殊
            btnRoom.Y = Application.GetRealHeight(72) + this.chidrenYaxis;
            btnRoom.TextSize = 12;
            btnRoom.TextColor = UserCenterColor.Current.TextGrayColor1;
            this.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly);
            string roomName = HdlRoomLogic.Current.GetRoomNameBySceneId(SceneId);
            this.AddBottomView(roomName, 850);
            btnSelect = this.AddMostRightEmptyIcon(58, 58);
            btnSelect.Visible = false;