From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 17 十二月 2020 09:07:13 +0800 Subject: [PATCH] 新云端Ver1.3 --- ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/BelongAreaControl.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs b/ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/BelongAreaControl.cs similarity index 98% rename from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs rename to ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/BelongAreaControl.cs index ac2cda2..d852e8e 100644 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs +++ b/ZigbeeApp/Shared/Phone/Common/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); -- Gitblit v1.8.0