From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs index 2575716..0276008 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs @@ -63,7 +63,7 @@ } else { - rowName.AddMostRightView(Language.StringByID(myInfoType.ConcreteTextId), 600); + rowName.AddMostRightView(myInfoType.ConcreteText, 600); } rowName.AddBottomLine(); @@ -129,11 +129,15 @@ rowMac.AddBottomLine(); //鍒堕�犲晢 - string strProtuct = listDevice[0].DriveCode > 0 ? "HDL" : listDevice[0].ManufacturerName; + string strProtuct = listDevice[0].ManufacturerName; + if (listDevice[0].DriveCode > 0 || Common.LocalDevice.Current.IsHdlDevice(listDevice[0]) == true) + { + strProtuct = "骞垮窞娌充笢绉戞妧鏈夐檺鍏徃"; + } var rowProtuct = new FrameRowControl(listView.rowSpace / 2); rowProtuct.UseClickStatu = false; listView.AddChidren(rowProtuct); - rowProtuct.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uManufacturerName), 400); + rowProtuct.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uManufacturerName), 600); rowProtuct.AddMostRightView(strProtuct, 600); listView.AdjustRealHeight(Application.GetRealHeight(23)); -- Gitblit v1.8.0