From 16604a593202f2f87adf71abd57d036fe7da3b52 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 18 十一月 2019 10:39:42 +0800
Subject: [PATCH] 同步了全部的代码

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs
index 13a7e13..d611651 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs
@@ -53,11 +53,12 @@
             rowName.AddBottomLine();
 
             //璁惧鍨嬪彿
+            string strModel = listDevice[0].DriveCode > 0 ? Language.StringByID(R.MyInternationalizationString.uVirtualDriveDevice) : listDevice[0].ModelIdentifier;
             var rowType = new FrameRowControl(listView.rowSpace / 2);
             rowType.UseClickStatu = false;
             listView.AddChidren(rowType);
             rowType.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uModelIdentifier), 300);
-            rowType.AddMostRightView(listDevice[0].ModelIdentifier, 600);
+            rowType.AddMostRightView(strModel, 600);
             rowType.AddBottomLine();
 
             //鍥轰欢鐗堟湰
@@ -89,11 +90,12 @@
             rowMac.AddBottomLine();
 
             //鍒堕�犲晢
+            string strProtuct = listDevice[0].DriveCode > 0 ? "HDL" : listDevice[0].ManufacturerName;
             var rowProtuct = new FrameRowControl(listView.rowSpace / 2);
             rowProtuct.UseClickStatu = false;
             listView.AddChidren(rowProtuct);
             rowProtuct.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uManufacturerName), 300);
-            rowProtuct.AddMostRightView(listDevice[0].ManufacturerName, 600);
+            rowProtuct.AddMostRightView(strProtuct, 600);
 
             listView.AdjustRealHeight(Application.GetRealHeight(23));
         }

--
Gitblit v1.8.0