From cf3d4880046912f8b46c9e54769986a179faa26c Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 08 四月 2021 18:01:13 +0800
Subject: [PATCH] 2021-04-08 1.更新音箱功能

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs |   52 ++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 36 insertions(+), 16 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
index 961e9fe..0b28ac8 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
@@ -1,4 +1,5 @@
 锘縰sing System;
+using System.Collections.Generic;
 using HDL_ON.DAL.Server;
 using HDL_ON.Entity;
 using Shared;
@@ -23,6 +24,7 @@
                 LoadEvent_SkipResdentialManagePage();
                 LoadEvent_GoMemberManagement();
                 LoadEvent_SkipbtnAddFunctionPage();
+                LoadEvent_SkipSmartSpeakerPage();
             }
         }
 
@@ -264,17 +266,6 @@
                 MainPage.BasePageView.AddChidren(page);
                 page.LoadPage();
                 MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
-                //鑾峰彇鍒楄〃
-                //HDL_ON.UI.UI2.PersonalCenter.PirDevice.Method.GetPirDeviceList(this, () =>
-                //{
-                //    Application.RunOnMainThread(() =>
-                //    {
-                //        var page = new UI2.PersonalCenter.PirDevice.PirMain();
-                //        MainPage.BasePageView.AddChidren(page);
-                //        page.Show();
-                //        MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
-                //    });
-                //});
             };
             btnResidenceAddFunctionIcon.MouseUpEventHandler = eventHandler;
             btnResidenceAddFunctionText.MouseUpEventHandler = eventHandler;
@@ -302,11 +293,7 @@
         {
             btnSupportText.MouseUpEventHandler = (sender, e) =>
             {
-                //var getsupportPage = new GetSupportPage();
-                //MainPage.BasePageView.AddChidren(getsupportPage);
-                //getsupportPage.LoadPage();
-                //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
-
+                //throw new Exception("寮傚父娴嬭瘯");
                 
                 var getsupportPage = new FAQHelpPage();
                 MainPage.BasePageView.AddChidren(getsupportPage);
@@ -314,6 +301,39 @@
                 MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
             };
         }
+
+        /// <summary>
+        /// 璺宠浆鏅鸿兘闊崇椤甸潰
+        /// </summary>
+        void LoadEvent_SkipSmartSpeakerPage()
+        {
+            btnSmartSpeakerText.MouseUpEventHandler = (sender, e) =>
+            {
+
+                //var page = new SmartSpeakerListPage();
+                //MainPage.BasePageView.AddChidren(page);
+                //page.LoadPage();
+                //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+
+                var mList = new List<string>();
+                mList.Add("骞夸笢");
+                mList.Add("婀栧崡");
+                mList.Add("骞胯タ");
+
+                var mList2 = new List<List<string>>();
+                mList2.Add(new List<string> { "骞垮窞", "娣卞湷", "涓滆帪", "浣涘北", "鎯犲窞" });
+                mList2.Add(new List<string> { "闀挎矙", "宀抽槼", "鏍床", "鏍床" });
+                mList2.Add(new List<string> { "妗傛灄", "鍗楀畞", "鐜夋灄" });
+                //PickerView.ShowOneList(mList, null);
+
+                PickerView.ShowSecondary(mList, mList2, (selectIndex1, selectIndex2) =>
+                {
+                    System.Console.WriteLine("selectIndex锛�" + mList[selectIndex1] + " - " + mList2[selectIndex1][selectIndex2]);
+
+                    //textView.Text = "selectIndex锛�" + mList[selectIndex1] + " - " + mList2[selectIndex1][selectIndex2];
+                }, 1, 3, "璇烽�夋嫨0", "纭0", "鍙栨秷0");
+            };
+        }
         #endregion
 
 

--
Gitblit v1.8.0