| | |
| | | using Shared.Common; |
| | | using Shared.Phone; |
| | | using Shared.R; |
| | | //if (Application.DeviceType == Device.Android) { |
| | | //} |
| | | //using UIKit;//ios平台才有,android没有; |
| | | using ZigBee.Device; |
| | | |
| | | |
| | |
| | | |
| | | var titleName = new Button |
| | | { |
| | | TextSize = 16, |
| | | TextSize = 17, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | X = Application.GetRealWidth(176), |
| | |
| | | Y = blancolor.Bottom + Application.GetRealHeight(50), |
| | | TextID =MyInternationalizationString.createtimetext, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextSize = 15, |
| | | |
| | | }; |
| | | middle.AddChidren(titleText); |
| | | |
| | |
| | | BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | }; |
| | | middle.AddChidren(PickerViewfra); |
| | | |
| | | |
| | | PickerViewfra.SetCornerWithSameRadius(20, HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); |
| | | |
| | | |
| | | var mUIPickerView = new UIPickerView |
| | | { |
| | |
| | | ///完成点击事件 |
| | | btnsave.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | |
| | | if (timevalue == 0) |
| | | { |
| | | return; |
| | | } |
| | | if (selectde != ""|| timevalue==5) |
| | | { |
| | | Dictionary<string, object> actionsInfo = new Dictionary<string, object>(); |