黄学彪
2020-04-29 b68cdc7e103a00d5df73e4b75603be8da1815b4a
ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomSettionForm.cs
@@ -68,7 +68,7 @@
            bodyFrameLayout.AddChidren(tabControl);
            tabControl.SelectTabEvent += (tabIndex) =>
            {
                if (tabIndex == 1)
                if (tabIndex == 0)
                {
                    //显示场景列表
                    this.ShowSceneList();
@@ -79,7 +79,11 @@
                    this.ShowFunctionList();
                }
            };
            tabControl.InitControl();
            var listTitle = new List<string>();
            //场景,功能
            listTitle.Add(Language.StringByID(R.MyInternationalizationString.uScence));
            listTitle.Add(Language.StringByID(R.MyInternationalizationString.uFunction));
            tabControl.InitControl(listTitle);
        }
        #endregion
@@ -175,8 +179,12 @@
                    }
                }
                listView.AdjustRealHeight(Application.GetRealHeight(23));
                //开启设备在线监测
                this.StartCheckDeviceOnline(listView, listGwId, dicData);
                //如果不是虚拟住宅
                if (Common.Config.Instance.Home.IsVirtually == false)
                {
                    //开启设备在线监测
                    this.StartCheckDeviceOnline(listView, listGwId, dicData);
                }
            });
        }