| | |
| | | btnDevie.TextSize = 15;
|
| | | //这个坐标有点特殊
|
| | | btnDevie.Y = Application.GetRealHeight(12) + this.chidrenYaxis;
|
| | | frameTable.AddChidren(btnDevie, ChidrenBindMode.BindEventOnly);
|
| | | frameTable.AddChidren(btnDevie, ChidrenBindMode.BindEvent);
|
| | | if (tempDevice != null)
|
| | | {
|
| | | btnDevie.Text = Common.LocalDevice.Current.GetDeviceEpointName(tempDevice);
|
| | |
| | | btnRoom.Y = Application.GetRealHeight(72) + this.chidrenYaxis;
|
| | | btnRoom.TextSize = 12;
|
| | | btnRoom.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly);
|
| | | frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEvent);
|
| | | if (tempDevice != null)
|
| | | {
|
| | | btnRoom.Text = HdlRoomLogic.Current.GetRoomNameByDevice(tempDevice);
|