From 6cda0d2b32827b4b35086ea73a2d50145177ac43 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 26 三月 2021 14:45:21 +0800
Subject: [PATCH] 2021-3-26-2

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/AddSchedule.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/AddSchedule.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/AddSchedule.cs
index 5fcefb0..0aaa983 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/AddSchedule.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/AddSchedule.cs
@@ -485,7 +485,7 @@
 
             MainPage.Loading.Start ("Please wait...");
             SmartHome.Method mMthod = new SmartHome.Method ();
-            var devList = mMthod.GetRoomDeviceList ("ALL");
+            var devList = mMthod.GetRoomDeviceList (timerTemp.RoomName);
             InitDeviceListView (devList);
             #region -----Room 鐐瑰嚮浜嬩欢
             btnRoomChoose.MouseUpEventHandler += (sender, e) => {
@@ -540,6 +540,8 @@
                     roomListView.AddChidren (btnLine);
 
                     btnRoomNameChoose.MouseUpEventHandler += (sd, ds) => {
+                        //鍒囨崲鎴块棿娓呯┖涔嬪墠閫夋嫨鏁版嵁;
+                        selectedDeviceList.Clear ();
                         btnRoomChoose.Text = (sd as Button).Text;
                         //鑾峰彇璁惧鍒楄〃
                         var deviceList = mMthod.GetRoomDeviceList (btnRoomChoose.Text);

--
Gitblit v1.8.0