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.addtime, |
| | | IsBold = true, |
| | | }; |
| | | topRowLayout.AddChidren(titleName); |
| | | |
| | |
| | | BackgroundColor = ZigbeeColor.Current.LogicBtnSaveBackgroundColor, |
| | | TextID = MyInternationalizationString.Save, |
| | | TextColor = ZigbeeColor.Current.LogicBtnSaveTextColor, |
| | | TextSize = 16, |
| | | }; |
| | | fra.AddChidren(btnsave); |
| | | #endregion |
| | |
| | | Text = Language.StringByID(MyInternationalizationString.type), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | Width = Application.GetRealWidth(265) |
| | | Width = Application.GetRealWidth(265), |
| | | TextSize = 14, |
| | | }; |
| | | typeRowlayout.AddChidren(btnTypeTextTitle); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextID = MyInternationalizationString.timeframe, |
| | | TextSize = 14, |
| | | }; |
| | | typeRowlayout.AddChidren(btnimmediateexecution); |
| | | |
| | |
| | | Text = Language.StringByID(MyInternationalizationString.starttime), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | Width = Application.GetRealWidth(265) |
| | | Width = Application.GetRealWidth(265), |
| | | TextSize = 14, |
| | | |
| | | }; |
| | | timestartrow.AddChidren(btnstarttimetext); |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | Tag = "0", |
| | | TextSize = 14, |
| | | }; |
| | | timestartrow.AddChidren(btnstarttime); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | Width = Application.GetRealWidth(265), |
| | | TextSize = 14, |
| | | |
| | | }; |
| | | timeendrow.AddChidren(btnendtimetext); |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | Tag = "0", |
| | | TextSize = 14, |
| | | }; |
| | | timeendrow.AddChidren(btnendtime); |
| | | |
| | |
| | | { |
| | | var alert = new Alert(Language.StringByID(MyInternationalizationString.Prompt), |
| | | Language.StringByID(MyInternationalizationString.completeNext), |
| | | Language.StringByID(MyInternationalizationString.complete)); |
| | | Language.StringByID(MyInternationalizationString.confrim)); |
| | | alert.Show(); |
| | | return; |
| | | } |
| | |
| | | { |
| | | var alert = new Alert(Language.StringByID(MyInternationalizationString.Prompt), |
| | | Language.StringByID(MyInternationalizationString.sametime), |
| | | Language.StringByID(MyInternationalizationString.complete)); |
| | | Language.StringByID(MyInternationalizationString.confrim)); |
| | | alert.Show(); |
| | | return; |
| | | } |