From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001 From: lss <316519258@qq.com> Date: 星期五, 12 六月 2020 09:22:04 +0800 Subject: [PATCH] 2020.06.12 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs index 1ec0c90..2575716 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs @@ -51,11 +51,20 @@ bodyFrameLayout.AddChidren(listView); //璁惧鍚嶇О + var myInfoType = Common.LocalDevice.Current.GetMyDeviceEnumInfo(listDevice); var rowName = new FrameRowControl(listView.rowSpace / 2); rowName.UseClickStatu = false; listView.AddChidren(rowName); - rowName.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uDeviceName), 400); - rowName.AddMostRightView(Common.LocalDevice.Current.GetDeviceObjectText(listDevice), 600); + rowName.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uDeviceName), 400); + if (Common.LocalDevice.Current.IsMiniLight(listDevice[0]) == true) + { + //mini澶滅伅 + rowName.AddMostRightView(Language.StringByID(R.MyInternationalizationString.uMiniNightLight), 600); + } + else + { + rowName.AddMostRightView(Language.StringByID(myInfoType.ConcreteTextId), 600); + } rowName.AddBottomLine(); //璁惧鍨嬪彿 -- Gitblit v1.8.0