From a2d26f15b940c853faaf6d6959b16a6d919cb800 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 27 十一月 2019 19:26:30 +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