| | |
| | | this.AddChidren(topRowLayout); |
| | | |
| | | var titleName = new Button { |
| | | TextSize = 16, |
| | | TextSize = 17, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | X = Application.GetRealWidth(176), |
| | |
| | | Text = Language.StringByID(MyInternationalizationString.timecondition), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize=15, |
| | | }; |
| | | timerow.AddChidren(btntime); |
| | | |
| | |
| | | TextID = MyInternationalizationString.device, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | }; |
| | | devicerow.AddChidren(btndevice); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID = MyInternationalizationString.security, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | }; |
| | | securityrow.AddChidren(btnsecurity); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID = MyInternationalizationString.location, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | }; |
| | | locationrow.AddChidren(btnlocation); |
| | | |
| | |
| | | X = Application.GetRealWidth(60), |
| | | TextID = MyInternationalizationString.automation, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | }; |
| | | existencerowlayout.AddChidren(btnexistence); |
| | | |
| | |
| | | Width = Application.GetRealWidth(200), |
| | | X = Application.GetRealWidth(80), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = 14, |
| | | }; |
| | | timetype.AddChidren(Btncancel); |
| | | Btncancel.MouseUpEventHandler += (sender16, e16) => |
| | |
| | | Width = Application.GetRealWidth(200), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | X = Btntitle.Right + Application.GetRealWidth(100), |
| | | TextSize = 14, |
| | | |
| | | }; |
| | | timetype.AddChidren(Btncomplete); |
| | |
| | | TextID = MyInternationalizationString.logicathomegarrison, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, |
| | | TextSize = 14, |
| | | }; |
| | | athomedefenceRowLayout.AddChidren(btnathomedefence); |
| | | |
| | |
| | | TextID = MyInternationalizationString.logicremovehomegarrison, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, |
| | | TextSize = 14, |
| | | }; |
| | | leavehomedefenceRowLayout.AddChidren(leavehomebtndefence); |
| | | var leavehomedefenceSelected = new SelectedButton(); |
| | |
| | | TextID = MyInternationalizationString.withdrawal, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, |
| | | TextSize = 14, |
| | | }; |
| | | withdrawalRowLayout.AddChidren(btnwithdrawal); |
| | | var withdrawalSelected = new SelectedButton(); |
| | |
| | | Width = Application.GetRealWidth(200), |
| | | X = Application.GetRealWidth(80), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = 14, |
| | | }; |
| | | typeRow.AddChidren(Btncancel); |
| | | Btncancel.MouseUpEventHandler += (sender16, e16) => |
| | |
| | | Width = Application.GetRealWidth(200), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | X = Btntitle.Right + Application.GetRealWidth(100), |
| | | TextSize = 14, |
| | | |
| | | }; |
| | | typeRow.AddChidren(Btncomplete); |
| | |
| | | TextID = MyInternationalizationString.athome, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, |
| | | TextSize = 14, |
| | | |
| | | |
| | | }; |
| | |
| | | TextID = MyInternationalizationString.leavehome, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, |
| | | TextSize = 14, |
| | | }; |
| | | leavehomeRowLayout.AddChidren(btnleavehome); |
| | | var leavehomeSelected = new SelectedButton(); |
| | |
| | | Width = Application.GetRealWidth(200), |
| | | X = Application.GetRealWidth(80), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = 14, |
| | | }; |
| | | timetype.AddChidren(Btncancel); |
| | | Btncancel.MouseUpEventHandler += (sender16, e16) => |
| | |
| | | Width = Application.GetRealWidth(200), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | X = Btntitle.Right + Application.GetRealWidth(100), |
| | | TextSize = 14, |
| | | |
| | | }; |
| | | timetype.AddChidren(Btncomplete); |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, |
| | | //Text="立即执行", |
| | | TextSize = 14, |
| | | }; |
| | | timerow.AddChidren(Btntimepoint); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, |
| | | //Text = "时间范围", |
| | | TextSize = 14, |
| | | }; |
| | | time1row.AddChidren(Btntime); |
| | | |