From 63a1e0dd7fcda5948c26490d5d7e4c84d6dbf99f Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 16 三月 2021 17:06:19 +0800
Subject: [PATCH] 4

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/MainView.cs |  143 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 143 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/MainView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/MainView.cs
new file mode 100644
index 0000000..b0fcd2d
--- /dev/null
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/MainView.cs
@@ -0,0 +1,143 @@
+锘縰sing System;
+using HDL_ON.UI.UI2.Intelligence.Automation.LogicView;
+using Shared;
+namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice.View
+{
+    public class MainView
+    {
+        /// <summary>
+        /// 涓荤┖闂�
+        /// </summary>
+        public FrameLayout pirDeviceFLayout = new FrameLayout
+        {
+
+            Y = Application.GetRealHeight(12),
+            X = Application.GetRealWidth(16),
+            Width = Application.GetRealWidth(343),
+            Height = Application.GetRealHeight(187),
+            BackgroundColor = CSS.CSS_Color.view,
+            Radius = (uint)Application.GetRealHeight(12),
+
+        };
+        /// <summary>
+        /// 璁惧绠$悊
+        /// </summary>
+        public Button text1Btn = new Button
+        {
+            Y = Application.GetRealHeight(11),
+            X = Application.GetRealWidth(16),
+            Width = Application.GetRealWidth(120),
+            Height = Application.GetRealHeight(20),
+            TextSize = TextSize.text14,
+            TextColor = CSS.CSS_Color.textConfirmColor,
+            TextAlignment = TextAlignment.CenterLeft,
+            TextID = StringId.shebeigaunli,
+            IsBold = true,
+        };
+
+        /// <summary>
+        /// 鍥炬爣
+        /// </summary>
+        public Button pirIcon = new Button
+        {
+            Y = Application.GetRealHeight(47),
+            X = Application.GetRealWidth(28),
+            Width = Application.GetRealWidth(66),
+            Height = Application.GetRealWidth(66),
+            UnSelectedImagePath = "PirIcon/Infraredtreasure.png",
+        };
+
+        /// <summary>
+        /// mini鏅鸿兘閬ユ帶鍣�
+        /// </summary>
+        public Button text2Btn = new Button
+        {
+            Y = Application.GetRealHeight(70),
+            X = Application.GetRealWidth(112),
+            Width = Application.GetRealWidth(120),
+            Height = Application.GetRealHeight(20),
+            TextSize = TextSize.text14,
+            TextColor = CSS.CSS_Color.textTipColor,
+            TextAlignment = TextAlignment.CenterLeft,
+            Text = "mini鏅鸿兘閬ユ帶鍣�",
+        };
+
+
+        /// <summary>
+        /// 绾㈠瀹濇暟閲�
+        /// </summary>
+        public Button numberDeviceBtn = new Button
+        {
+            Y = Application.GetRealHeight(137),
+            X = Application.GetRealWidth(32),
+            Width = Application.GetRealWidth(100),
+            Height = Application.GetRealHeight(20),
+            TextSize = TextSize.text14,
+            TextColor = CSS.CSS_Color.textColor,
+            TextAlignment = TextAlignment.CenterLeft,
+            Text = "1" + Language.StringByID(StringId.ge),
+            IsBold = true,
+        };
+
+        /// <summary>
+        /// 褰撳墠绾㈠閬ユ帶璁惧
+        /// </summary>
+        public Button numberDeviceTextBtn = new Button
+        {
+            Y = Application.GetRealHeight(137 + 20) + Application.GetRealHeight(4),
+            X = Application.GetRealWidth(32),
+            Width = Application.GetRealWidth(100),
+            Height = Application.GetRealHeight(14),
+            TextSize = TextSize.text10,
+            TextColor = CSS.CSS_Color.textCancelColor,
+            TextAlignment = TextAlignment.CenterLeft,
+            TextID = StringId.dangqianhongwaishebei,
+        };
+
+        /// <summary>
+        /// 鎵�鏈夌孩澶栧疂鐨勯仴鎺у櫒鏁伴噺
+        /// </summary>
+        public Button currDeviceNumberControlBtn = new Button
+        {
+            Y = Application.GetRealHeight(137),
+            X = Application.GetRealWidth(198),
+            Width = Application.GetRealWidth(80),
+            Height = Application.GetRealHeight(20),
+            TextSize = TextSize.text14,
+            TextColor = CSS.CSS_Color.textColor,
+            TextAlignment = TextAlignment.CenterLeft,
+            Text = "1" + Language.StringByID(StringId.ge),
+            IsBold = true,
+        };
+
+        /// <summary>
+        /// 宸叉坊鍔犻仴鎺у櫒
+        /// </summary>
+        public Button currDeviceNumberControlTextBtn = new Button
+        {
+            Y = Application.GetRealHeight(137 + 20) + Application.GetRealHeight(4),
+            X = Application.GetRealWidth(198),
+            Width = Application.GetRealWidth(80),
+            Height = Application.GetRealHeight(14),
+            TextSize = TextSize.text10,
+            TextColor = CSS.CSS_Color.textCancelColor,
+            TextAlignment = TextAlignment.CenterLeft,
+            TextID = StringId.yitianjiayaokongqi,
+        };
+        ///绾㈠瀹濈偣鍑讳簨浠�
+        public Button clickBtn = new Button(); 
+        public void Show(FrameLayout middFLayout)
+        {
+            middFLayout.AddChidren(pirDeviceFLayout);
+            pirDeviceFLayout.AddChidren(text1Btn);
+            pirDeviceFLayout.AddChidren(pirIcon);
+            pirDeviceFLayout.AddChidren(text2Btn);
+            pirDeviceFLayout.AddChidren(numberDeviceBtn);
+            pirDeviceFLayout.AddChidren(numberDeviceTextBtn);
+            pirDeviceFLayout.AddChidren(currDeviceNumberControlBtn);
+            pirDeviceFLayout.AddChidren(currDeviceNumberControlTextBtn);
+            pirDeviceFLayout.AddChidren(clickBtn);
+        }
+
+    }
+}

--
Gitblit v1.8.0