xm
2020-04-28 dfd3bdc07c49fab66b38382e0bbe7c91bdf4f15b
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;