HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-12-14 e90209beae6a4e822cecb18e6889f8bda23f630e
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs
File was renamed from ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/BelongAreaControl.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
namespace Shared.Phone
namespace Shared.Phone.UserCenter
{
    /// <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.GwId);
            var room = HdlRoomLogic.Current.GetRoomByGateway(i_gateway);
            this.DoInitControl(i_caption, room);
        }
@@ -115,7 +115,7 @@
        {
            //标题
            var btnCaption = new NormalViewControl(270, 58, true);
            btnCaption.X = HdlControlResourse.XXLeft;
            btnCaption.X = ControlCommonResourse.XXLeft;
            btnCaption.Gravity = Gravity.CenterVertical;
            btnCaption.Text = i_caption + ":";
            this.AddChidren(btnCaption, ChidrenBindMode.BindEvent);