From adb12dcdbb2ddaeac687c3aa9e57bb7ed459ab7e Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 24 六月 2020 15:26:46 +0800
Subject: [PATCH] 2020.06.24.01

---
 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