From 9cc8fd11b13813adbdd3c6c31554e5c0bebf4026 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 21 八月 2020 19:53:49 +0800 Subject: [PATCH] 发布到商店的版本 --- ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs index e9cd431..13eee70 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs @@ -65,14 +65,7 @@ rowSerial.UseClickStatu = false; listView.AddChidren(rowSerial); rowSerial.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uSerialNumber), 300); - if (i_gateway.getGwInfo == null) - { - rowSerial.AddMostRightView("000000000000", 600); - } - else - { - rowSerial.AddMostRightView(string.IsNullOrEmpty(i_gateway.getGwInfo.GWSN) == false ? i_gateway.getGwInfo.GWSN : "000000000000", 600); - } + rowSerial.AddMostRightView(string.IsNullOrEmpty(i_gateway.GwSerialNum) == false ? i_gateway.GwSerialNum : "000000000000", 600); rowSerial.AddBottomLine(); //缃戝叧ID @@ -80,7 +73,7 @@ rowGatewayID.UseClickStatu = false; listView.AddChidren(rowGatewayID); rowGatewayID.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uGatewayID), 300); - rowGatewayID.AddMostRightView(HdlGatewayLogic.Current.GetGatewayId(i_gateway), 600); + rowGatewayID.AddMostRightView(i_gateway.GwId, 600); rowGatewayID.AddBottomLine(); //缃戝叧IP @@ -88,7 +81,7 @@ rowGatewayIP.UseClickStatu = false; listView.AddChidren(rowGatewayIP); rowGatewayIP.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uGatewayIP), 300); - rowGatewayIP.AddMostRightView(i_gateway.getGatewayBaseInfo.IpAddress, 600); + rowGatewayIP.AddMostRightView(i_gateway.GwIP, 600); rowGatewayIP.AddBottomLine(); //鍗忚鍣∕AC @@ -120,7 +113,7 @@ rowProtuct.UseClickStatu = false; listView.AddChidren(rowProtuct); rowProtuct.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uManufacturerName), 300); - rowProtuct.AddMostRightView("HDL", 600); + rowProtuct.AddMostRightView("骞垮窞娌充笢绉戞妧鏈夐檺鍏徃", 600); listView.AdjustRealHeight(Application.GetRealHeight(23)); -- Gitblit v1.8.0