| | |
| | | btnRoom.Y = btnDeviceName.Bottom + Application.GetRealHeight(12);
|
| | | btnRoom.TextSize = 12;
|
| | | btnRoom.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | btnRoom.Text = Common.Room.CurrentRoom.GetRoomNameByDevice(device);
|
| | | btnRoom.Text = HdlRoomLogic.Current.GetRoomNameByDevice(device);
|
| | | frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly);
|
| | | rowInfo.btnRoom = btnRoom;
|
| | | //摄氏度
|
| | |
| | | {
|
| | | var contr = dicControl[this.actionDeviceKeys];
|
| | | contr.btnDeviceName.Text = Common.LocalDevice.Current.GetDeviceEpointName(device);
|
| | | contr.btnRoom.Text = Common.Room.CurrentRoom.GetRoomNameByDevice(device);
|
| | | contr.btnRoom.Text = HdlRoomLogic.Current.GetRoomNameByDevice(device);
|
| | | }
|
| | | }
|
| | | this.actionDeviceKeys = null;
|