old mode 100755
new mode 100644
| | |
| | | //应该是body吧
|
| | | this.bodyFrameLayout = new FrameLayout();
|
| | | bodyFrameLayout.Y = topFrameLayout.Bottom;
|
| | | bodyFrameLayout.Height = Application.GetRealHeight(1549);
|
| | | bodyFrameLayout.Height = this.Height - topFrameLayout.Bottom;
|
| | | bodyFrameLayout.BackgroundColor = ZigbeeColor.Current.GXCGrayBackgroundColor;
|
| | | this.AddChidren(bodyFrameLayout);
|
| | |
|
| | |
| | | functionSceneBodyView.Height = functionSceneAutoBodyView.Height - roomSwitchContr.Bottom;
|
| | | functionSceneAutoBodyView.AddChidren(functionSceneBodyView);
|
| | |
|
| | | //执行初始化
|
| | | //执行初始化 |
| | | roomSwitchContr.InitControl();
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | cardContr = new Controls.DeviceFreshAirRowControl();
|
| | | }
|
| | | //彩灯(调光器)
|
| | | // PM2.5
|
| | | else if (device.Type == DeviceType.PMSensor)
|
| | | { |
| | | } |
| | | //彩灯(调光器) |
| | | else if (device.Type == DeviceType.DimmableLight)
|
| | | {
|
| | | cardContr = new Controls.DeviceColorLightRowControl();
|
| | |
| | | {
|
| | | listview2 = new VerticalListControl();
|
| | | functionSceneBodyView.AddChidren(listview2);
|
| | | }
|
| | |
|
| | | } |
| | | |
| | | foreach (var scene in listScene)
|
| | | {
|
| | | //场景卡片控件
|