From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs new file mode 100755 index 0000000..e6adce3 --- /dev/null +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs @@ -0,0 +1,51 @@ +锘縰sing System; +namespace Shared.Phone.Device.Logic.LogicView +{ + public class RoomClickView + { + public RoomClickView() + { + + } + /// <summary> + /// 鐖舵帶浠� + /// </summary> + public FrameLayout fra = new FrameLayout + { + Height = Application.GetRealHeight(204), + Width = Application.GetRealWidth(245), + }; + /// <summary> + /// 鑳屾櫙鍥剧墖鎺т欢 + /// </summary> + public Button roombjBtn = new Button + { + Height = Application.GetRealHeight(72), + Width = Application.GetRealWidth(170), + UnSelectedImagePath = "ZigeeLogic/iconBackgroundColor1.png", + SelectedImagePath = "ZigeeLogic/iconSelectedBackgroundColor1.png", + Y = Application.GetRealHeight(60), + X = Application.GetRealWidth(26), + }; + /// <summary> + /// 鎴块棿鍚嶅瓧鎺т欢 + /// </summary> + public Button roomnameBtn = new Button + { + Height = Application.GetRealHeight(49), + Width = Application.GetRealWidth(125), + TextColor = Common.ZigbeeColor.Current.LogicBtnCancelColor, + SelectedTextColor = Common.ZigbeeColor.Current.LogicBlankBackgroundColor, + Y = Application.GetRealHeight(72), + X = Application.GetRealWidth(26 + 22), + + }; + public void Show(HorizontalScrolViewLayout HorizontalScrolViewLayout) + { + HorizontalScrolViewLayout.AddChidren(fra); + fra.AddChidren(roombjBtn); + fra.AddChidren(roomnameBtn); + } + + } +} -- Gitblit v1.8.0