黄学彪
2020-04-13 3793a9a38ac6c4c4111c2bba3a35a71c30601e82
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;