gxc
2020-02-28 66a9965c44ecc32a6696abca876ab9d1cd091584
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/GatewayRowControl.cs
@@ -43,7 +43,7 @@
        /// <summary>
        /// 显示IP控件
        /// </summary>
        private NormalViewControl btnIp = null;
        public NormalViewControl btnIp = null;
        /// <summary>
        /// 在线状态
@@ -121,7 +121,11 @@
            frameTable.AddChidren(btnName, ChidrenBindMode.BindEventOnly);
            //房间
            string strIp = HdlGatewayLogic.Current.GetGatewayBaseInfoAttribute(tempWay, "IpAddress").ToString();
            string strIp = string.Empty;
            if (tempWay != null)
            {
                strIp = tempWay.getGatewayBaseInfo.IpAddress;
            }
            this.btnIp = frameTable.AddLeftCaption(strIp, 600, 50, true);
            //这个坐标有点特殊
            btnIp.Y = Application.GetRealHeight(72) + this.chidrenYaxis;