.vs/HDL_APP_Project/xs/UserPrefs.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.vs/HDL_APP_Project/xs/sqlite3/storage.ide | 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputView.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeHorizonView.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.vs/HDL_APP_Project/xs/UserPrefs.xml
@@ -1,11 +1,14 @@ <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/TargetDeviceFunList.cs"> <Properties StartupConfiguration="{D998E133-F0DD-4760-BE3C-461632F54DA4}|Default"> <MonoDevelop.Ide.ItemProperties.HDL-ON__iOS PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneDeviceTarget.00008030-00014C392121802E" /> <MonoDevelop.Ide.Workbench ActiveDocument="HDL_ON/Entity/Function/Function.cs"> <Files> <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/FunTpye.cs" Line="233" Column="10" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs" Line="438" Column="58" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs" Line="89" Column="73" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs" Line="89" Column="20" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs" Line="77" Column="41" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeHorizonView.cs" Line="71" Column="52" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs" Line="56" Column="59" /> <File FileName="HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs" Line="199" Column="59" /> <File FileName="HDL_ON/Entity/Function/Function.cs" Line="101" Column="37" /> </Files> <Pads> <Pad Id="ProjectPad"> @@ -16,19 +19,24 @@ <Node name="DAL" expanded="True"> <Node name="Server" expanded="True" /> </Node> <Node name="Entity" expanded="True" /> <Node name="Entity" expanded="True"> <Node name="Function" expanded="True"> <Node name="Function.cs" selected="True" /> </Node> </Node> <Node name="UI" expanded="True"> <Node name="UI0-Public" expanded="True" /> <Node name="UI2" expanded="True"> <Node name="3-Intelligence" expanded="True"> <Node name="Automation" expanded="True"> <Node name="TargetDeviceFunList.cs" selected="True" /> <Node name="LogicView" expanded="True" /> </Node> </Node> <Node name="FuntionControlView" expanded="True" /> </Node> </Node> </Node> <Node name="HDL-ON_Android" expanded="True" /> <Node name="HDL-ON_iOS" expanded="True"> <Node name="Resources" expanded="True"> <Node name="Phone" expanded="True" /> @@ -48,7 +56,9 @@ <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhone" /> <MonoDevelop.Ide.ItemProperties.HDL-ON__Android PreferredExecutionTarget="Android.4b65c4650918" /> <MonoDevelop.Ide.DebuggingService.Breakpoints> <BreakpointStore /> <BreakpointStore> <Breakpoint file="/Users/hdl/Desktop/wjc/HDL_APP_Project/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs" relfile="HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs" line="201" column="1" /> </BreakpointStore> </MonoDevelop.Ide.DebuggingService.Breakpoints> <MultiItemStartupConfigurations /> </Properties> .vs/HDL_APP_Project/xs/sqlite3/storage.ideBinary files differ
HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs
@@ -57,7 +57,6 @@ MainPage.BasePageView.AddChidren(funTpye); funTpye.Show(LogicMethod.condition_if); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; #endregion HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs
@@ -124,7 +124,7 @@ LogicView.LogicTypeTitleView cyclicTitle = new LogicView.LogicTypeTitleView(); cyclicTitle.frameLayout.Height = Application.GetRealHeight(50); cyclicTitle.frameLayout.Radius = (uint)Application.GetRealHeight(12); cyclicTitle.btnText.TextID = StringId.days; cyclicTitle.btnText.Text = MainView.GetWeekText(Logic.currlogic); viewLayout.AddChidren(cyclicTitle.FLayoutView()); cyclicTitle.btnClick.MouseUpEventHandler += (sender, e) => { @@ -232,7 +232,7 @@ //定义一个局部变量记录选中文本状态 string weekName = ""; //定义一个局部Btn用来记录选中Btn; var selecetdBtn = new Button(); var selecetdBtn = new Button() { Text=""}; for (int i = 0; i < 4; i++) { LogicView.SelectTypeView dateTypeView = new LogicView.SelectTypeView(); @@ -320,35 +320,31 @@ { dateTypeView.btnText.TextColor = CSS.CSS_Color.textConfirmColor; selecetdBtn = dateTypeView.btnText; } else if (button.Text == weekName) { dateTypeView.btnText.TextColor = CSS.CSS_Color.textConfirmColor; selecetdBtn = dateTypeView.btnText; } } //确定保存 dateView.btnConfirm.MouseUpEventHandler += (sender3, e3) => { if (weekName == Language.StringByID(StringId.monthly)|| weekName== Language.StringByID(StringId.weekly)) { if (selecetdBtn.Text == Language.StringByID(StringId.monthly)|| selecetdBtn.Text == Language.StringByID(StringId.weekly)) { //提示:还未选 return; } if (weekName == Language.StringByID(StringId.performA)) if (selecetdBtn.Text == Language.StringByID(StringId.performA)) { //执行一次 Logic.currlogic.cycle.type = "once"; } else if (weekName == Language.StringByID(StringId.days)) else if (selecetdBtn.Text == Language.StringByID(StringId.days)) { //每天 Logic.currlogic.cycle.type = "day"; } //选中保存之后显示文本 button.Text = weekName; button.Text = selecetdBtn.Text; //移除fLayout界面 fLayout.RemoveFromParent(); }; HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
@@ -196,7 +196,7 @@ /// <returns></returns> public static HDL_ON.Entity.Function GetDevice(string sid) { HDL_ON.Entity.Function device = new Entity.Function() { name= "Unknown",sid="设备不存在"}; HDL_ON.Entity.Function device = new Entity.Function() { name= "Unknown"}; List<HDL_ON.Entity.Function> deviceLists = GetGatewayDeviceList(); foreach (var dev in deviceLists) { @@ -216,7 +216,7 @@ /// <returns></returns> public static HDL_ON.Entity.Scene GetSecne(string sid) { HDL_ON.Entity.Scene scene = new Entity.Scene() { name = "Unknown", sid = "场景不存在" }; HDL_ON.Entity.Scene scene = new Entity.Scene() { name = "Unknown"}; List<HDL_ON.Entity.Scene> sceneLists = GetSceneList(); foreach (var sce in sceneLists) { HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputView.cs
@@ -94,8 +94,6 @@ TextID = StringId.Del, TextSize = LogicView.TextSize.text16, TextColor = CSS.CSS_Color.view, Gravity = Gravity.Center, TextAlignment = TextAlignment.Center, }; public Button btnClick = new Button HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeHorizonView.cs
@@ -68,6 +68,7 @@ Height = Application.GetRealHeight(17), X = Application.GetRealWidth(20), Y = Application.GetRealHeight(58), TextAlignment=TextAlignment.CenterLeft, }; /// <summary> HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs
@@ -15,17 +15,18 @@ Width = Application.GetRealWidth(343), X = Application.GetRealWidth(16), BackgroundColor = CSS.CSS_Color.view, Radius=(uint)Application.GetRealHeight(12), Radius =(uint)Application.GetRealHeight(12), }; /// <summary> /// 时间控件UIPickerView /// </summary> public UIPickerView mUIPickerView = new UIPickerView { //Y = Application.GetRealHeight(44), X= Application.GetRealWidth(12), Height = Application.GetRealHeight(297), Width = Application.GetRealWidth(343), BackgroundColor = CSS.CSS_Color.viewTranslucence, Width = Application.GetRealWidth(343-12*2), BackgroundColor =CSS.CSS_Color.viewTranslucence, Radius = (uint)Application.GetRealHeight(12), }; /// <summary> @@ -39,7 +40,8 @@ Width = Application.GetRealWidth(52), Height = Application.GetRealHeight(32), Y = Application.GetRealHeight(6), X = Application.GetRealWidth(8) X = Application.GetRealWidth(8), }; /// <summary> /// 确定Btn @@ -62,7 +64,8 @@ BackgroundColor = CSS.CSS_Color.viewLine, Width = Application.GetRealWidth(343), Height = 1, Y = Application.GetRealWidth(44) Y = Application.GetRealWidth(44), }; /// <summary> /// 时间View的方法 @@ -70,11 +73,12 @@ /// <returns></returns> public void FLayoutView(FrameLayout fLayout) { fLayout.AddChidren(frameLayout); frameLayout.AddChidren(mUIPickerView); frameLayout.AddChidren(btnCancel); frameLayout.AddChidren(btnConfirm); frameLayout.AddChidren(btnLine); fLayout.AddChidren(frameLayout); } /// <summary> /// 获取1-24小时列表 HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs
@@ -96,7 +96,7 @@ fLayout.RemoveFromParent(); }; //取消点击事件 timePointView.btnCancel.MouseUpEventHandler += removefLayout; timePointView.btnCancel.MouseUpEventHandler += removefLayout; //加载数据界面的设置方法(列表互不联动) timePointView.mUIPickerView.setNPicker(timePointView.GethStringList(), timePointView.GetmStringList(), null);