old mode 100755
new mode 100644
| | |
| | | |
| | | var titleName = new Button |
| | | { |
| | | TextSize = 16, |
| | | TextSize = 17, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | X = Application.GetRealWidth(176), |
| | | Width = Application.GetRealWidth(400), |
| | | Width = Application.GetRealWidth(600), |
| | | Height = Application.GetRealHeight(69), |
| | | Y = Application.GetRealHeight(92), |
| | | TextID = MyInternationalizationString.addaction, |
| | | IsBold = true, |
| | | }; |
| | | topRowLayout.AddChidren(titleName); |
| | | |
| | |
| | | }; |
| | | #endregion |
| | | |
| | | |
| | | |
| | | var middle = new FrameLayout |
| | | { |
| | | Y = topRowLayout.Bottom, |
| | |
| | | }; |
| | | this.AddChidren(middle); |
| | | |
| | | #region ----- 设备------ |
| | | #region ----- 设备------ |
| | | var deviceframelayout = new FrameLayout |
| | | { |
| | | Height = Application.GetRealHeight(160), |
| | |
| | | TextID = MyInternationalizationString.device, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize=15, |
| | | }; |
| | | devicerow.AddChidren(btndevice); |
| | | |
| | |
| | | TextID = MyInternationalizationString.scene, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | }; |
| | | sceneRowLayout.AddChidren (scene); |
| | | |
| | |
| | | sceneiconBtn.MouseUpEventHandler += sceneclick; |
| | | #endregion |
| | | |
| | | #region ----- 安防模式------ |
| | | #region ----- 安防模式------ |
| | | var securityframelayout = new FrameLayout |
| | | { |
| | | Height = Application.GetRealHeight(160), |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID = MyInternationalizationString.securitymode, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | }; |
| | | securityrow.AddChidren(btnsecurity); |
| | | |
| | |
| | | securityrow.MouseUpEventHandler += securityclick; |
| | | #endregion |
| | | |
| | | #region ----- 已有自动化------ |
| | | #region ----- 已有自动化------ |
| | | |
| | | ///已有自动化 |
| | | var existenceRowLayout = new RowLayout |
| | |
| | | Width = Application.GetRealWidth(400), |
| | | TextID = MyInternationalizationString.Alreadyautomated, |
| | | //Text = "已有自动化", |
| | | TextSize = 16, |
| | | TextSize = 15, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | X = Application.GetRealWidth(40), |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID = MyInternationalizationString.delayed, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | }; |
| | | delayedRowLayout.AddChidren(delayed); |
| | | |
| | |
| | | #endregion |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |