From 52c84c10c3f77156f73566cb9793616e2a25dddd Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 08 十二月 2020 16:08:55 +0800 Subject: [PATCH] 2020-12-08-001 --- HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs | 40 ++++++++++++++++++++-------------------- .vs/HDL_APP_Project/xs/UserPrefs.xml | 14 +++++++------- HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs | 2 +- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.vs/HDL_APP_Project/xs/UserPrefs.xml b/.vs/HDL_APP_Project/xs/UserPrefs.xml index c328e47..0169d85 100644 --- a/.vs/HDL_APP_Project/xs/UserPrefs.xml +++ b/.vs/HDL_APP_Project/xs/UserPrefs.xml @@ -1,11 +1,12 @@ 锘�<Properties StartupConfiguration="{09712674-2A38-407B-B1E2-560B2C352F9A}|Default"> <MonoDevelop.Ide.ItemProperties.HDL-ON__iOS PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneDeviceTarget.00008020-001674E61438002E" /> - <MonoDevelop.Ide.Workbench ActiveDocument="HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs"> + <MonoDevelop.Ide.Workbench ActiveDocument="HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs"> <Files> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs" Line="857" Column="133" /> - <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs" Line="15" Column="27" /> - <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs" Line="44" Column="55" /> - <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs" Line="60" Column="32" /> + <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs" Line="162" Column="97" /> + <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs" Line="30" Column="13" /> + <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs" Line="293" Column="32" /> + <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs" Line="50" Column="15" /> </Files> <Pads> <Pad Id="ProjectPad"> @@ -23,8 +24,7 @@ <Node name="2-Classification" expanded="True" /> <Node name="3-Intelligence" expanded="True"> <Node name="Automation" expanded="True"> - <Node name="LogicView" expanded="True" /> - <Node name="LogicMethod.cs" selected="True" /> + <Node name="AddTarget.cs" selected="True" /> </Node> </Node> <Node name="FuntionControlView" expanded="True"> @@ -52,7 +52,7 @@ <String>Shared.IOS/Shared.IOS.csproj</String> </DisabledProjects> <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhone" /> - <MonoDevelop.Ide.ItemProperties.HDL-ON__Android PreferredExecutionTarget="Android.4b65c4650918" /> + <MonoDevelop.Ide.ItemProperties.HDL-ON__Android PreferredExecutionTarget="Android.Android_Accelerated_Oreo" /> <MonoDevelop.Ide.DebuggingService.Breakpoints> <BreakpointStore /> </MonoDevelop.Ide.DebuggingService.Breakpoints> diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs index a8cb866..2944bae 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs @@ -140,26 +140,26 @@ #endregion #region 鎵ц鎺ㄩ�� 鍙戦�侀�氱煡 - ///涓婁笅闂撮殧12鍍忕礌 - viewLayout.AddChidren(new FrameLayout { Height = Application.GetRealHeight(12) }); - ///鎵ц鎺ㄩ�乮ew - LogicView.LogicTypeTitleView push = new LogicView.LogicTypeTitleView(); - push.frameLayout.Height = Application.GetRealHeight(50); - push.frameLayout.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); - push.btnText.TextID = StringId.push; - push.btnNextIcon.Width = Application.GetMinRealAverage(36); - push.btnNextIcon.Height = Application.GetMinRealAverage(36); - push.btnNextIcon.X = Application.GetRealWidth(305); - push.btnNextIcon.UnSelectedImagePath = "LogicIcon/off.png"; - push.btnNextIcon.SelectedImagePath = "LogicIcon/on.png"; - viewLayout.AddChidren(push.FLayoutView()); - ///鍙戦�侀�氱煡View - LogicView.LogicTypeTitleView notification = new LogicView.LogicTypeTitleView(); - notification.frameLayout.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerBottomRight); - notification.btnText.TextID = StringId.notification; - viewLayout.AddChidren(notification.FLayoutView()); - ///涓婁笅闂撮殧62鍍忕礌 - viewLayout.AddChidren(new FrameLayout { Height = Application.GetRealHeight(62) }); + /////涓婁笅闂撮殧12鍍忕礌 + //viewLayout.AddChidren(new FrameLayout { Height = Application.GetRealHeight(12) }); + /////鎵ц鎺ㄩ�乮ew + //LogicView.LogicTypeTitleView push = new LogicView.LogicTypeTitleView(); + //push.frameLayout.Height = Application.GetRealHeight(50); + //push.frameLayout.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); + //push.btnText.TextID = StringId.push; + //push.btnNextIcon.Width = Application.GetMinRealAverage(36); + //push.btnNextIcon.Height = Application.GetMinRealAverage(36); + //push.btnNextIcon.X = Application.GetRealWidth(305); + //push.btnNextIcon.UnSelectedImagePath = "LogicIcon/off.png"; + //push.btnNextIcon.SelectedImagePath = "LogicIcon/on.png"; + //viewLayout.AddChidren(push.FLayoutView()); + /////鍙戦�侀�氱煡View + //LogicView.LogicTypeTitleView notification = new LogicView.LogicTypeTitleView(); + //notification.frameLayout.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerBottomRight); + //notification.btnText.TextID = StringId.notification; + //viewLayout.AddChidren(notification.FLayoutView()); + /////涓婁笅闂撮殧62鍍忕礌 + //viewLayout.AddChidren(new FrameLayout { Height = Application.GetRealHeight(62) }); #endregion #region 淇濆瓨 diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs index f839d4c..fca082a 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs @@ -47,7 +47,7 @@ delayView.frameLayout.Y = sceneView.frameLayout.Bottom; delayView.btnText.TextID = StringId.delayLogic; delayView.btnIcon.UnSelectedImagePath = "LogicIcon/delayed.png"; - viewLayout.AddChidren(delayView.FLayoutView()); + //viewLayout.AddChidren(delayView.FLayoutView()); #endregion #region 鎵�鏈夌偣鍑讳簨浠� -- Gitblit v1.8.0