| | |
| | | using System; |
| | | using HDL_ON.DriverLayer; |
| | | using HDL_ON.Entity; |
| | | using HDL_ON.UI.CSS; |
| | | using Shared; |
| | |
| | | Button btnSceneTilte; |
| | | |
| | | #region 场景底部切换显示区域 |
| | | FrameLayout topView; |
| | | /// <summary> |
| | | /// 场景区域,顶部区域 |
| | | /// </summary> |
| | |
| | | { |
| | | bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; |
| | | #region top |
| | | FrameLayout topView = new FrameLayout() |
| | | topView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(64), |
| | | BackgroundColor = CSS_Color.TopViewColor, |
| | |
| | | /// </summary> |
| | | void LoadSceneFunctionControlZone() |
| | | { |
| | | //topView.AddChidren(btnAddIcon); |
| | | |
| | | sceneFunctionView.RemoveAll(); |
| | | var rowView = new FrameLayout(); |
| | | try |
| | |
| | | /// </summary> |
| | | void LoadAutomationPageView() |
| | | { |
| | | //btnAddIcon.RemoveFromParent(); |
| | | |
| | | |
| | | automationPage = new FrameLayout(); |
| | | contentPageView.AddChidren(automationPage); |
| | | |
| | |
| | | { |
| | | string msg = function.name + Language.StringByID(StringId.AlreadyOpened); |
| | | new PublicAssmebly().TipMsgAutoClose(msg, true); |
| | | Control.Send(function); |
| | | Control.ins.ControlScene(function as Scene); |
| | | }; |
| | | btnCoverd.MouseUpEventHandler = eventHandler; |
| | | btnName.MouseUpEventHandler = eventHandler; |