From dce6c3481a37216292724013ff9d2b75ceb82f86 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 10 六月 2020 15:47:28 +0800 Subject: [PATCH] 添加小度的代码 --- ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayGeneralInformationForm.cs index e9cd431..55cce79 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 -- Gitblit v1.8.0