| | |
| | | /// </summary> |
| | | private Button floorBtn; |
| | | /// <summary> |
| | | /// 当前楼层id |
| | | /// </summary> |
| | | private string curFloorId; |
| | | /// <summary> |
| | | /// 选择楼层 |
| | | /// </summary> |
| | | private Button selectFloorBtn; |
| | |
| | | { |
| | | var floors = new SelectFloor(); |
| | | AddChidren(floors); |
| | | floors.changeFloor = false; |
| | | floors.CurFloorId = curFloorId; |
| | | floors.Init(580, 184, Direction.Right); |
| | | floors.FloorAction += (floorId) => |
| | | { |
| | | curFloorId = floorId; |
| | | floorBtn.Text = Config.Instance.Home.GetFloorNameById(floorId); |
| | | RefreshBodyView(floorId); |
| | | }; |
| | |
| | | Height = Application.GetRealHeight(200), |
| | | Width = Application.GetRealWidth(700), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Text = Language.StringByID(R.MyInternationalizationString.NoFunction_Tip).Replace("{\\r\\n}", "\r\n"), |
| | | Text = Language.StringByID(R.MyInternationalizationString.NoFunction).Replace("{\\r\\n}", "\r\n"), |
| | | TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor, |
| | | TextAlignment = TextAlignment.Center, |
| | | IsMoreLines = true |
| | |
| | | |
| | | var deviceName = new Button |
| | | { |
| | | Width = Application.GetRealWidth(400), |
| | | Width = Application.GetRealWidth(600), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | TextColor = ZigbeeColor.Current.GXCTextBlackColor, |
| | | TextSize = 16, |
| | |
| | | |
| | | var deviceName = new Button |
| | | { |
| | | Width = Application.GetRealWidth(400), |
| | | Width = Application.GetRealWidth(600), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | TextColor = ZigbeeColor.Current.GXCTextBlackColor, |
| | | TextSize = 16, |
| | |
| | | |
| | | var deviceName = new Button |
| | | { |
| | | Width = Application.GetRealWidth(400), |
| | | Width = Application.GetRealWidth(600), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | TextColor = ZigbeeColor.Current.GXCTextBlackColor, |
| | | TextSize = 16, |
| | |
| | | |
| | | var deviceName = new Button |
| | | { |
| | | Width = Application.GetRealWidth(400), |
| | | Width = Application.GetRealWidth(600), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | TextColor = ZigbeeColor.Current.GXCTextBlackColor, |
| | | TextSize = 16, |