黄学彪
2020-03-23 cc0d80c7d86c6d0167269b3408c4b30c24ce84e9
ZigbeeApp/Shared/Phone/UserView/UserHomeView.cs
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Timers;
using Shared.Common;
using Shared.Phone.Device.AC;
using Shared.Phone.Device.CommonForm;
using Shared.Phone.Device.DeviceLogic;
using Shared.Phone.UserCenter;
@@ -12,7 +10,7 @@
namespace Shared.Phone.UserView
{
    /// <summary>
    /// 主页
    /// 主页(此东西被舍弃,除了它里面的静态方法)
    /// </summary>
    public class UserHomeView : EditorCommonForm
    {
@@ -188,9 +186,9 @@
                roomPageView.Height = Application.GetRealHeight(478);
                this.AddChidren(roomPageView);
                //突出边距
                roomPageView.TCBJ = Application.GetRealWidth(181);
                roomPageView.TCBJ = Application.GetRealWidth(124);
                //两个page之间的间距
                roomPageView.JMBJ = Application.GetRealWidth(0);
                roomPageView.JMBJ = Application.GetRealWidth(58);
                //当前房间
                var rList = HdlRoomLogic.Current.GetRoomsByCurrentFloorIdAppendLoveRoom();
@@ -200,10 +198,6 @@
                    roomPageView.AddChidren(roomView);
                    roomView.Init(room);
                    roomView.HideName(true);
                    roomView.action += () =>
                    {
                        this.ShowForm();
                    };
                }
                //设置房间的初始选择
                var curIndex = rList.FindIndex((obj) => obj.Id == HdlRoomLogic.Current.CurrentRoom.Id);