From 761fc6621ed9d54b520dcf0f0ce6158e050e2214 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 03 三月 2021 20:16:03 +0800
Subject: [PATCH] 2021-3-3-3

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaSettingDevicePage.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaSettingDevicePage.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaSettingDevicePage.cs
index 30a3430..c3d6d50 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaSettingDevicePage.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaSettingDevicePage.cs
@@ -201,6 +201,9 @@
         {
             deviceScrolView.RemoveAll ();
             foreach (Function function in CommonConfig.Current.FunctionList) {
+                //杩囨护閫氱敤寮�鍏充笉鍏佽鏄剧ず鍜屾坊鍔�
+                if (function.spk == SPK.UniversalDevice) continue;
+
                 AddRowView (function);
             }
 
@@ -276,8 +279,8 @@
             
             deviceRow.AddChidren (btnChoose);
 
-            var sceneData = targetInfoList.Find ((obj) => obj.targetId == function.deviceId);
-            btnChoose.IsSelected = sceneData != null;
+            var sceneData1 = targetInfoList.Find ((obj) => obj.targetId == function.deviceId);
+            btnChoose.IsSelected = sceneData1 != null; 
 
 
             btnChoose.MouseUpEventHandler += (sendere, ee) => {

--
Gitblit v1.8.0