| | |
| | | frameWhiteBack.AddChidren(btnLight); |
| | | |
| | | //设置LED灯 |
| | | btnSetLight = new NormalViewControl(175, 49, true); |
| | | btnSetLight = new NormalViewControl(175+94, 49, true); |
| | | btnSetLight.Y = Application.GetRealHeight(1270 - 35); |
| | | btnSetLight.TextID = R.MyInternationalizationString.SetAirQualitySensorLight; |
| | | btnSetLight.TextSize = 12; |
| | |
| | | frameTemperaturePic.X = Application.GetRealWidth(518); |
| | | frameTemperaturePic.Y = frameHumidityPic.Y; |
| | | frameTemperaturePic.Width = Application.GetMinRealAverage(321); |
| | | frameTemperaturePic.BackgroundColor = 0xffff0000; |
| | | frameTemperaturePic.Height = Application.GetMinRealAverage(351); |
| | | frameTemperaturePic.BackgroundImagePath = "PM2.5Sensor/TemperaturePic.png"; |
| | | frameWhiteBack.AddChidren(frameTemperaturePic); |