From 48ba446936b51fffafa7c3600c0dadc6ac0e8c20 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 10 七月 2020 10:52:13 +0800
Subject: [PATCH] 2020-07-10-01

---
 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