From 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期二, 21 七月 2020 09:46:53 +0800
Subject: [PATCH] 请合并最新多功能面板代码

---
 ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs |   69 ++++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs
new file mode 100755
index 0000000..0ac3aeb
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs
@@ -0,0 +1,69 @@
+锘縰sing System;
+using System.Collections.Generic;
+using Shared.Common;
+using Shared.R;
+using ZigBee.Device;
+namespace Shared.Phone.Device.Logic
+{
+    public class FunView
+    {
+        #region  ----鍔熻兘鍧楁帶浠�----
+        public FrameLayout funFrameLayout = new FrameLayout
+        {
+            Height = Application.GetRealHeight(160),
+            BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor,
+        };
+        public Button iconBtn = new Button
+        {
+            Width = Application.GetMinRealAverage(81),
+            Height = Application.GetMinRealAverage(81),
+            X = Application.GetRealWidth(58),
+            Y = Application.GetRealHeight(55),
+            //UnSelectedImagePath = $"ZigeeLogic/{iocn}.png",
+        };
+        public Button funnameBtn = new Button
+        {
+            //Text = Language.StringByID(MyInternationalizationString.timecondition),
+            TextAlignment = TextAlignment.CenterLeft,
+            TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+            TextSize = 15,
+            Y = Application.GetRealHeight(30),
+            X = Application.GetRealWidth(176),
+            Height = Application.GetRealHeight(130),
+            Width = Application.GetRealWidth(400),
+        };
+        public Button funnextBtn = new Button
+        {
+            Width = Application.GetMinRealAverage(58),
+            Height = Application.GetMinRealAverage(58),
+            UnSelectedImagePath = "ZigeeLogic/next.png",
+            X = Application.GetRealWidth(789 + 176),
+            Y = Application.GetRealHeight(30 + 36),
+        };
+        public Button lineBtn = new Button
+        {
+            Width = Application.GetRealWidth(850),
+            Height =1,
+            X = Application.GetRealWidth(176),
+            BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor,
+        };
+        public Button clickviewBtn = new Button
+        {
+            Height = Application.GetRealHeight(160),
+        };
+
+        public FrameLayout FunFrameView()
+        {
+            funFrameLayout.AddChidren(iconBtn);
+            funFrameLayout.AddChidren(funnameBtn);
+            funFrameLayout.AddChidren(funnextBtn);
+            lineBtn.Y = funFrameLayout.Height - 1;
+            funFrameLayout.AddChidren(lineBtn);
+            funFrameLayout.AddChidren(clickviewBtn);
+            return funFrameLayout;
+        }
+
+        
+        #endregion
+    }
+}

--
Gitblit v1.8.0