old mode 100755
new mode 100644
File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs |
| | |
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | |
|
| | | namespace Shared.Phone.UserCenter
|
| | | namespace Shared.Phone |
| | | {
|
| | | /// <summary>
|
| | | /// 所属区域的控件
|
| | |
| | | /// <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);
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | //标题
|
| | | 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);
|