| | |
| | | { |
| | | Tag = "Logic"; |
| | | } |
| | | /// <summary> |
| | | /// 默认选中是房间时:全部区域 |
| | | /// </summary> |
| | | private Entity.Room selectedRoom = new Entity.Room { roomId = "6688" }; |
| | | /// <summary> |
| | | /// 表示是(条件/目标) |
| | | /// </summary> |
| | | private string if_type = LogicMethod.condition_if; |
| | | |
| | | public void Show() |
| | | { |
| | | LogicView.TopView topView = new LogicView.TopView(); |
| | |
| | | sceneView.frameLayout.Y = timeView.frameLayout.Bottom; |
| | | sceneView.btnText.TextID = StringId.Scenes; |
| | | sceneView.btnIcon.UnSelectedImagePath = "LogicIcon/scene.png"; |
| | | viewLayout.AddChidren(sceneView.FLayoutView()); |
| | | |
| | | if (MainView.IsGatewayType) |
| | | { |
| | | viewLayout.AddChidren(sceneView.FLayoutView()); |
| | | } |
| | | //室外变化 |
| | | LogicView.SelectTypeView shiwaiView = new LogicView.SelectTypeView(); |
| | | shiwaiView.frameLayout.Y = sceneView.frameLayout.Bottom; |
| | |
| | | likiadaodaView.frameLayout.Y = shiwaiView.frameLayout.Bottom; |
| | | likiadaodaView.btnText.TextID = StringId.likiadaoda; |
| | | likiadaodaView.btnIcon.UnSelectedImagePath = "LogicIcon/location.png"; |
| | | |
| | | int count = 0;//输入类型个数 |
| | | if (MainView.IsGatewayType) |
| | | { |
| | | count = 4; |
| | | viewLayout.AddChidren(likiadaodaView.FLayoutView()); |
| | | } |
| | | ////功能 |
| | | ///产品经理君焕要求,设备功能移到这里。<2022-3-7> |
| | | new FunTpye(LogicMethod.condition_if).FunTypeView(viewLayout, likiadaodaView.frameLayout.Bottom,4); |
| | | new FunTpye(LogicMethod.condition_if).FunTypeView(viewLayout, likiadaodaView.frameLayout.Bottom, count); |
| | | |
| | | #endregion |
| | | |