From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期一, 14 十二月 2020 09:59:01 +0800
Subject: [PATCH] 请合并代码,完成晾衣架最终功能。
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/AirerTimeBaseLayout.cs | 94 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/AirerTimeBaseLayout.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/AirerTimeBaseLayout.cs
new file mode 100644
index 0000000..75a0f50
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/AirerTimeBaseLayout.cs
@@ -0,0 +1,94 @@
+锘縰sing System;
+using Newtonsoft.Json.Linq;
+using Shared.Common;
+using ZigBee.Device;
+namespace Shared.Phone.UserCenter
+{
+ /// <summary>
+ /// 鏅捐。鏋舵椂闂磋缃殑鍩虹被
+ /// </summary>
+ public class AirerTimeBaseLayout : FrameRowControl
+ {
+ /// <summary>
+ /// 鏅捐。鏋舵椂闂磋缃殑鎺т欢
+ /// </summary>
+ /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(銆愬垪琛ㄦ帶浠剁殑rowSpace/2銆戝嵆鍙�,涓嶆噦榛樿涓�0鍗冲彲)</param>
+ public AirerTimeBaseLayout(int i_ChidrenYaxis = 0) : base(i_ChidrenYaxis)
+ {
+ }
+
+ /// 鑳屾櫙闃村奖鐣岄潰
+ /// </summary>
+ public FrameLayout shadowRadiusFrameLayout = new FrameLayout { BackgroundColor = 0x0f000000 };
+ /// <summary>
+ /// 璁剧疆鍦嗚鐨勭晫闈�
+ /// </summary>
+ public FrameLayout bottomRadiusFrameLayout = new FrameLayout()
+ {
+ Height = Application.GetRealHeight(714),
+ Y = Application.GetRealHeight(1207),
+ BackgroundColor = ZigbeeColor.Current.XMWhite,
+ };
+ /// <summary>
+ /// 搴曢儴鍦嗚涓殑鍙栨秷鎸夐挳
+ /// </summary>
+ public Button btnCancel = new Button
+ {
+ X = Application.GetRealWidth(81),
+ Y = Application.GetRealHeight(40),
+ Height = Application.GetRealHeight(58),
+ Width = Application.GetRealWidth(101),
+ Text = Language.StringByID(R.MyInternationalizationString.Cancel),
+ TextColor = Shared.Common.ZigbeeColor.Current.XMGray3,
+ TextSize = 14,
+ };
+ /// <summary>
+ /// 搴曢儴鍦嗚涓殑鏍囬鏍�
+ /// </summary>
+ public Button btnBottomTitle = new Button
+ {
+ X = Application.GetRealWidth(446 - 50),
+ Y = Application.GetRealHeight(35),
+ Height = Application.GetRealHeight(63),
+ Width = Application.GetRealWidth(284),
+ TextColor = Shared.Common.ZigbeeColor.Current.XMBlack,
+ TextSize = 16,
+ };
+ /// <summary>
+ /// 搴曢儴鍦嗚涓殑纭鎸夐挳
+ /// </summary>
+ public Button btnFinish = new Button
+ {
+ X = Application.GetRealWidth(919),
+ Y = Application.GetRealHeight(40),
+ Height = Application.GetRealHeight(58),
+ Width = Application.GetRealWidth(101),
+ Text = Language.StringByID(R.MyInternationalizationString.Complete),
+ TextColor = Shared.Common.ZigbeeColor.Current.XMOrange,
+ TextSize = 14,
+ };
+ /// <summary>
+ /// 搴曢儴鍦嗚涓殑鏍囬鏍忎笅鐨勭嚎鏉�
+ /// </summary>
+ public Button line = new Button()
+ {
+ Y = Application.GetRealHeight(138),
+ Height = 1,
+ BackgroundColor = Shared.Common.ZigbeeColor.Current.XMRowLine,
+ };
+
+ /// <summary>
+ /// 闂ㄩ攣搴曢儴甯﹀渾瑙掑竷灞�
+ /// </summary>
+ /// <param name="frameLayout"></param>
+ public void BottomRadiusFrameLayout(FrameLayout frameLayout)
+ {
+ this.shadowRadiusFrameLayout.AddChidren(this.bottomRadiusFrameLayout);
+ this.bottomRadiusFrameLayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
+ this.bottomRadiusFrameLayout.AddChidren(btnCancel);
+ this.bottomRadiusFrameLayout.AddChidren(btnBottomTitle);
+ this.bottomRadiusFrameLayout.AddChidren(btnFinish);
+ this.bottomRadiusFrameLayout.AddChidren(line);
+ }
+ }
+}
--
Gitblit v1.8.0