From fd3c74df4d30a88d490d0c5b469df821f1bb2d78 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期二, 04 八月 2020 14:53:25 +0800 Subject: [PATCH] 更换新接口之前的备份 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs index 05a533d..b63e4ef 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceHistoryFirmwareVersionForm.cs @@ -65,12 +65,12 @@ 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); HdlThreadLogic.Current.RunThread(() => { string ImagType = oTADevice.ImgTypeId.ToString(); - Application.RunOnMainThread(() => + HdlThreadLogic.Current.RunMain(() => { foreach (var data in listData) { @@ -99,11 +99,13 @@ var btnIcon = rowlayout.AddLeftIcon(); btnIcon.UnSelectedImagePath = unSelPath; //鎸囧畾鐨勮澶� - rowlayout.AddLeftCaption(info.ShowName, 800); + rowlayout.AddTopView(info.ShowName, 800); //鍚戝彸鐨勫浘鏍� rowlayout.AddRightArrow(); //鍥轰欢淇℃伅 - rowlayout.AddMostRightView(Common.LocalDevice.Current.AppendVersion(info.FirmwareVersion), 300); + string firmwareText = Common.LocalDevice.Current.AppendVersion(info.FirmwareVersion); + firmwareText += " " + UserCenterLogic.ConvertUtcTimeToLocalTime(info.CreatedOnUtc).ToString("yyyy/MM/dd HH:mm:ss"); + rowlayout.AddBottomView(firmwareText, 800); //搴曠嚎 rowlayout.AddBottomLine(); -- Gitblit v1.8.0