黄学彪
2019-10-10 2ed75b8b337048e5d75e6d9ec8307633134f02fd
ZigbeeApp/Shared/Phone/UserCenter/Safety/AddAlarmTargetTypeListForm.cs
@@ -60,7 +60,7 @@
        /// </summary>
        private void SetMiddleInfo()
        {
            new System.Threading.Thread(() =>
            HdlThreadLogic.Current.RunThread(() =>
            {
                //获取设备的所有类型,并整理成每一行的数据
                this.GetAllListData();
@@ -90,8 +90,7 @@
                        this.AddRowLaout(listAllDeviceInfo[i], i != count);
                    }
                });
            })
            { IsBackground = true }.Start();
            });
        }
        #endregion
@@ -193,7 +192,7 @@
                    //设备收集
                    var info = new uDeviceInfo
                    {
                        listRoomName = Shared.Common.Room.CurrentRoom.GetRoomListNameByDevice(device),
                        RoomName = Shared.Common.Room.CurrentRoom.GetRoomNameByDevice(device),
                        Device = device,
                        MainKeys = device.DeviceAddr + device.DeviceEpoint.ToString()
                    };
@@ -237,10 +236,12 @@
        /// <summary>
        /// 自身的上层界面关闭后,它自身处于最上层时,触发的事件
        /// </summary>
        public override void FormActionAgainEvent()
        public override int FormActionAgainEvent()
        {
            //重新刷新界面
            this.InitMiddleFrame();
            return 1;
        }
        #endregion