| | |
| | | using HDL_ON.UI.CSS; |
| | | using Shared; |
| | | |
| | | namespace HDL_ON.UI |
| | | namespace HDL_ON.UI |
| | | { |
| | | public partial class IntelligencePage : FrameLayout |
| | | { |
| | |
| | | |
| | | #endregion |
| | | |
| | | sceneFunctionView = new VerticalScrolViewLayout() { |
| | | sceneFunctionView = new VerticalScrolViewLayout() |
| | | { |
| | | Y = floorChangeView.Bottom, |
| | | Height = Application.GetRealHeight(667 - 64 - 49 - 52 + 30), |
| | | }; |
| | |
| | | function.collection = btnCollection.IsSelected = !btnCollection.IsSelected; |
| | | function.SaveFunctionData(); |
| | | }; |
| | | LoadEvent_ControlScene(btnCoverd,btnName,btnZone, function); |
| | | LoadEvent_ControlScene(btnCoverd, btnName, btnZone, function); |
| | | btnSettingIcon.MouseUpEventHandler = (sender, e) => { |
| | | Action backAction = () => { |
| | | LoadSceneFunctionControlZone(); |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region 自动化部分 |
| | | /// <summary> |
| | | /// 加载自动化列表界面 |
| | | /// </summary> |
| | | void LoadAutomationPageView() |
| | | void LoadAutomationPageView() |
| | | { |
| | | //btnAddIcon.RemoveFromParent(); |
| | | automationPage = new FrameLayout(); |
| | |
| | | btnName.MouseUpEventHandler = eventHandler; |
| | | btnZone.MouseUpEventHandler = eventHandler; |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |