黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/BelongAreaControl.cs
File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
namespace Shared.Phone.UserCenter
namespace Shared.Phone
{
    /// <summary>
    /// 所属区域的控件
@@ -54,7 +54,7 @@
        /// <param name="i_gateway">网关对象</param>
        public void InitControl(string i_caption, ZigBee.Device.ZbGateway i_gateway)
        {
            var room = HdlRoomLogic.Current.GetRoomByGateway(i_gateway);
            var room = HdlRoomLogic.Current.GetRoomByGateway(i_gateway.GwId);
            this.DoInitControl(i_caption, room);
        }
@@ -115,7 +115,7 @@
        {
            //标题
            var btnCaption = new NormalViewControl(270, 58, true);
            btnCaption.X = ControlCommonResourse.XXLeft;
            btnCaption.X = HdlControlResourse.XXLeft;
            btnCaption.Gravity = Gravity.CenterVertical;
            btnCaption.Text = i_caption + ":";
            this.AddChidren(btnCaption, ChidrenBindMode.BindEvent);