黄学彪
2020-03-23 cc0d80c7d86c6d0167269b3408c4b30c24ce84e9
ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionGatewayListForm.cs
@@ -24,13 +24,18 @@
        /// <summary>
        /// 画面显示(底层会固定调用此方法,借以完成画面创建)
        /// </summary>
        /// <param name="i_GatewayDiv">网关区分,1:本地网关 2:广播搜到的网关</param>
        /// <param name="i_GatewayDiv">网关区分,1:本地网关 2:缓存中的网关 3:广播搜到的网关</param>
        public void ShowForm(int i_GatewayDiv)
        {
            if (i_GatewayDiv == 1)
            {
                //设置标题信息
                base.SetTitleText("本地网关");
            }
            else if (i_GatewayDiv == 2)
            {
                //设置标题信息
                base.SetTitleText("缓存中的网关");
            }
            else
            {
@@ -73,10 +78,18 @@
                //获取本地全部网关对象
                listway = HdlGatewayLogic.Current.GetAllLocalGateway();
            }
            else
            else if (i_GatewayDiv == 2)
            {
                listway = ZbGateway.GateWayList;
            }
            else
            {
                listway = new List<ZbGateway>();
                foreach (var way in UserCenterResourse.DicReceiveGatewayTest.Values)
                {
                    listway.Add(way);
                }
            }
            for (int i = 0; i < listway.Count; i++)
            {
                //添加行