From b9cb076fe6127160c96c35bf9c8cebcffe1d5ccd Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 10 一月 2020 17:35:23 +0800 Subject: [PATCH] 2020.1.10 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs index 8ec6bff..7e77e24 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs @@ -65,9 +65,9 @@ string unSelectPic = string.Empty; string selectPic = string.Empty; - Common.LocalDevice.Current.GetDeviceBeloneIcon(listUpdateDevice, ref unSelectPic, ref selectPic); + Common.LocalDevice.Current.GetDeviceObjectIcon(listUpdateDevice, ref unSelectPic, ref selectPic); - new System.Threading.Thread(() => + HdlThreadLogic.Current.RunThread(() => { string ImagType = oTADevice.ImgTypeId.ToString(); Application.RunOnMainThread(() => @@ -82,8 +82,7 @@ this.AddRowlayout(data, unSelectPic, selectPic); } }); - }) - { IsBackground = true }.Start(); + }); } /// <summary> @@ -111,7 +110,7 @@ rowlayout.ButtonClickEvent += (sender, e) => { string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(this.listUpdateDevice[0]); - if (FirmwareUpdateResourse.dicDeviceUpdateList.ContainsKey(mainKeys) == true) + if (FirmwareUpdateResourse.dicUpdateList.ContainsKey(mainKeys) == true) { this.CloseForm(); return; -- Gitblit v1.8.0