| | |
| | | <Properties StartupConfiguration="{28EDE1FF-20EF-476B-8AF8-24A3EEB69F45}|Default"> |
| | | <MonoDevelop.Ide.ItemProperties.GateWay.Droid PreferredExecutionTarget="Android.M7BBB18B19152766" /> |
| | | <MonoDevelop.Ide.ItemProperties.ShardLib PreferredExecutionTarget="Android.SelectDevice" /> |
| | | <MonoDevelop.Ide.Workbench ActiveDocument="Shared/Phone/Device/Logic/Send.cs"> |
| | | <MonoDevelop.Ide.Workbench ActiveDocument="Shared/Phone/Device/Category/Category.cs"> |
| | | <Files> |
| | | <File FileName="Shared/Phone/Device/Category/Category.cs" Line="2263" Column="57" /> |
| | | <File FileName="Shared/Phone/Device/Logic/LogicView/mFunView.cs" /> |
| | | <File FileName="Shared/Phone/Device/Logic/DeviceTarget.cs" Line="68" Column="45" /> |
| | | <File FileName="Shared/Phone/Device/Logic/RoomAndDeviceView.cs" Line="451" Column="45" /> |
| | | <File FileName="Shared/Phone/Device/Logic/LogicCommunalPage.cs" Line="1" Column="1" /> |
| | | <File FileName="Shared/Phone/Device/Logic/CurrentDeviceState.cs" Line="1302" Column="26" /> |
| | | <File FileName="Shared/Phone/Device/Logic/Send.cs" Line="612" Column="77" /> |
| | | <File FileName="Shared/Phone/Device/Category/Category.cs" Line="2411" Column="18" /> |
| | | </Files> |
| | | <Pads> |
| | | <Pad Id="ProjectPad"> |
| | | <State name="__root__"> |
| | | <Node name="GateWay" expanded="True"> |
| | | <Node name="Home.IOS" expanded="True"> |
| | | <Node name="Resources" expanded="True"> |
| | | <Node name="Phone" expanded="True" /> |
| | | </Node> |
| | | </Node> |
| | | <Node name="Shared" expanded="True"> |
| | | <Node name="Phone" expanded="True"> |
| | | <Node name="Device" expanded="True"> |
| | | <Node name="Category" expanded="True" /> |
| | | <Node name="Logic" expanded="True"> |
| | | <Node name="DoorLockLogic" expanded="True" /> |
| | | <Node name="Send.cs" selected="True" /> |
| | | </Node> |
| | | </Node> |
| | | <Node name="Device" expanded="True" /> |
| | | <Node name="Login" selected="True" /> |
| | | </Node> |
| | | </Node> |
| | | </Node> |
| | |
| | | </Pad> |
| | | </Pads> |
| | | </MonoDevelop.Ide.Workbench> |
| | | <MonoDevelop.Ide.ItemProperties.Home.IOS PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneDeviceTarget.913cb77b0eef11c9119c61a02bc00fec01bf67d6" /> |
| | | <MonoDevelop.Ide.ItemProperties.Home.IOS PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneSimulatorTarget.9992EB40-E6DD-48F4-AFED-CEB5E811ACDD" /> |
| | | <MonoDevelop.Ide.DebuggingService.PinnedWatches /> |
| | | <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhone" /> |
| | | <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhoneSimulator" /> |
| | | <MonoDevelop.Ide.DebuggingService.Breakpoints> |
| | | <BreakpointStore /> |
| | | </MonoDevelop.Ide.DebuggingService.Breakpoints> |
| | |
| | | |
| | | var logicswitchBtn = new Button |
| | | { |
| | | Width = Application.GetRealWidth(104), |
| | | Height = Application.GetRealHeight(63), |
| | | Width = Application.GetMinRealAverage(104), |
| | | Height = Application.GetMinRealAverage(63), |
| | | UnSelectedImagePath = "ZigeeLogic/logicclose.png", |
| | | SelectedImagePath = "ZigeeLogic/logicopen.png", |
| | | X = logicRowlayout.Width - Application.GetRealWidth(104 + 58), |
| | |
| | | Height = Application.GetMinRealAverage(82), |
| | | X = Application.GetRealWidth(58) + Application.GetRealWidth(12 + (12 + 82 + 45 + 12) * i), |
| | | Y = Application.GetRealHeight(58 + 30 + 30), |
| | | Radius = (uint)Application.GetRealHeight(41), |
| | | Radius = (uint)Application.GetMinRealAverage(41), |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | }; |
| | | logicRowlayout.AddChidren(typebjBtn); |
| | |
| | | X = Application.GetRealWidth(35 * j) + Application.GetRealWidth(100 * (j - 1)), |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | SelectedTextColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(50), |
| | | Radius = (uint)Application.GetMinRealAverage(50), |
| | | BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor, |
| | | SelectedBackgroundColor = ZigbeeColor.Current.LogicAddColor, |
| | | Tag = k, |
| | |
| | | |
| | | public Button switchBtn = new Button |
| | | { |
| | | Width = Application.GetRealWidth(104), |
| | | Height = Application.GetRealHeight(63), |
| | | Width = Application.GetMinRealAverage(104), |
| | | Height = Application.GetMinRealAverage(63), |
| | | UnSelectedImagePath = "ZigeeLogic/logicclose.png", |
| | | SelectedImagePath = "ZigeeLogic/logicopen.png", |
| | | X = Application.GetRealWidth(1080 - 58 - 104), |
| | |
| | | |
| | | Width = Application.GetRealWidth(58 +58+40), |
| | | Height = Application.GetRealHeight(160), |
| | | X = Application.GetRealWidth(1080 - 58 - 58), |
| | | X = Application.GetRealWidth(1080 - 58 - 58-40), |
| | | }; |
| | | |
| | | public FrameLayout AddDeviceView() |
| | |
| | | custompushview.iconBtn.Visible = true; |
| | | custompushview.iconBtn.UnSelectedImagePath = "ZigeeLogic/next.png"; |
| | | custompushview.titleBtn.TextID = MyInternationalizationString.custompush; |
| | | custompushview.lineBtn.BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor; |
| | | middle.AddChidren(custompushview.AddDeviceView()); |
| | | |
| | | EventHandler<MouseEventArgs> customclick = (sender, e) => |
| | |
| | | LogicView.IfString.Tag = true; |
| | | custompushview.frameLayout.Height = Application.GetRealHeight(160); |
| | | Common.Logic.CurrentLogic.LogicIsCustomPushText = 1; |
| | | pushview.lineBtn.BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor; |
| | | |
| | | } |
| | | else |
| | |
| | | LogicView.IfString.Tag = false; |
| | | custompushview.frameLayout.Height = Application.GetRealHeight(0); |
| | | Common.Logic.CurrentLogic.LogicIsCustomPushText = 0; |
| | | pushview.lineBtn.BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor; |
| | | } |
| | | Send.Zj(LogicView.IfString.Tag, Common.Logic.CurrentLogic); |
| | | }; |
| | |
| | | LogicView.IfString.Tag = false; |
| | | pushview.switchBtn.IsSelected = false; |
| | | custompushview.frameLayout.Height = Application.GetRealHeight(0); |
| | | pushview.lineBtn.BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor; |
| | | } |
| | | else |
| | | { |
| | | LogicView.IfString.Tag = true; |
| | | pushview.switchBtn.IsSelected = true; |
| | | custompushview.frameLayout.Height = Application.GetRealHeight(160); |
| | | pushview.lineBtn.BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor; |
| | | } |
| | | } |
| | | /// <summary> |
| | |
| | | |
| | | var backgroundColor = new Button |
| | | { |
| | | Width = Application.GetRealWidth(156), |
| | | Height = Application.GetRealHeight(180), |
| | | Width = Application.GetMinRealAverage(156), |
| | | Height = Application.GetMinRealAverage(180), |
| | | X = Application.GetRealWidth(10), |
| | | UnSelectedImagePath = "ZigeeLogic/deviceunselectedbackgroundcolor.png", |
| | | SelectedImagePath = "ZigeeLogic/deviceselectedbackgroundcolor.png", |