黄学彪
2020-04-26 18a7f9f40e5fab3bee5d4ac3d8fd0273dea052d6
ZigbeeApp/Shared/Phone/MainPage/ListRoomViewFrom.cs
old mode 100755 new mode 100644
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using Shared.Common;
using Shared.Phone.Device.Category;
using Shared.Phone.Device.CommonForm;
using Shared.Phone.UserCenter;
using Shared.Phone.UserView;
@@ -66,9 +65,6 @@
            //初始化中部控件
            this.InitBodyFrameLayout();
            //设置头部信息
            base.SetTitleText(Language.StringByID(R.MyInternationalizationString.RoomList));
            //初始化中部信息
            this.InitMiddleFrame();
        }
@@ -79,7 +75,11 @@
        private void InitTopFrame()
        {
            //初始化头部控件
            this.InitTopFrameLayout();
            this.InitTopFrameLayout();
            //设置头部信息
            base.SetTitleText(Language.StringByID(R.MyInternationalizationString.RoomList));
            //重置返回按键的事件
            var btnBack = this.GetBackButton();
            btnBack.ButtonClickEvent = null;
@@ -90,7 +90,10 @@
            };
            //获取楼层
            this.curFloorId = Config.Instance.Home.CurrentFloorId;
            if (this.curFloorId == string.Empty)
            {
                this.curFloorId = Config.Instance.Home.CurrentFloorId;
            }
            var dicFloor = HdlRoomLogic.Current.GetFloorSortList();
            if (dicFloor.Count == 0)
            {
@@ -112,7 +115,7 @@
            btnIconContr.ButtonClickEvent += (sender, e) =>
            {
                //楼层菜单
                var floors = new SelectFloor();
                var floors = new Category.SelectFloorForm();
                AddChidren(floors);
                floors.changeFloor = false;
                floors.CurFloorId = curFloorId;