From 944b87b6bcccb095cd73f13f4410fb20faf48f74 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期三, 25 十二月 2019 11:21:06 +0800
Subject: [PATCH] 2019.12.25

---
 ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs
old mode 100755
new mode 100644
index 6e89f8d..b992f88
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs
@@ -162,6 +162,8 @@
                 BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor
             };
             bodyFrameLayout.AddChidren(infoFL);
+            var rectCornerID = HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight;
+            infoFL.SetCornerWithSameRadius(Application.GetRealHeight(50), rectCornerID);
 
             var tipBtn = new Button
             {
@@ -223,7 +225,7 @@
                 functionTypeRow.ClickBtn.MouseUpEventHandler += (sender, e) =>
                 {
                     var DfunctionType = device.CommonDevice.DfunctionType;
-                    
+
                     //鍔熻兘绫诲瀷鐨勭炕璇戝悕瀛�
                     int nowSelectNo = 1;
                     string strType = string.Empty;
@@ -250,7 +252,7 @@
                                                                                                //鏍囬:閫夋嫨鍔熻兘绫诲瀷
                     var title = Language.StringByID(R.MyInternationalizationString.uSelectFunctionType);
 
-                    var form = new BottomDialogSelectForm();
+                    var form = new BottomItemSelectForm();
                     form.AddForm(title, listText, nowSelectNo);
                     form.FinishSelectEvent += (selectNo) =>
                     {
@@ -272,19 +274,19 @@
                     };
                 };
 
-                sharedRow = new DeviceInfoRow(723);
-                sharedRow.Init();
-                sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
-                sharedRow.SetTitle("2浜�");
-                infoFL.AddChidren(sharedRow);
+                //sharedRow = new DeviceInfoRow(723);
+                //sharedRow.Init();
+                //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
+                //sharedRow.SetTitle("2浜�");
+                //infoFL.AddChidren(sharedRow);
             }
             else
             {
-                sharedRow = new DeviceInfoRow(585);
-                sharedRow.Init();
-                sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
-                sharedRow.SetTitle("2浜�");
-                infoFL.AddChidren(sharedRow);
+                //sharedRow = new DeviceInfoRow(585);
+                //sharedRow.Init();
+                //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
+                //sharedRow.SetTitle("2浜�");
+                //infoFL.AddChidren(sharedRow);
             }
 
             var confirmBtn = new CommonForm.CompleteButton(962, 907, 127);

--
Gitblit v1.8.0