ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayLogic.cs
@@ -178,6 +178,10 @@ //将网关的数据设置到本地缓存中 this.SetGatewayDataToLocalMemmory(gateway, result); } if (gateway.HomeId == string.Empty) { gateway.HomeId = Config.Instance.Home.Id; } return gateway; } catch (Exception ex) @@ -1525,7 +1529,7 @@ var tempWay = ZbGateway.GateWayList.Find(obj => (obj != null) && (obj.GwId == gateway.GwId)); if (tempWay == null) { ZbGateway.GateWayList.Add(tempWay); ZbGateway.GateWayList.Add(gateway); } } }