From ac909072af41b3dcb05d4a7df3d27a8e85e4e7e2 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期日, 28 六月 2020 17:43:18 +0800
Subject: [PATCH] 2020-06-28-1

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs
index 6cc04a2..108bb85 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs
@@ -1205,6 +1205,14 @@
                         };
                     }
                     break;
+                case DeviceType.ColorTemperatureLight: {
+                        flMain.RemoveFromParent();
+                        var nightlight = new Nightlight();
+                        UserView.HomePage.Instance.AddChidren(nightlight);
+                        UserView.HomePage.Instance.PageIndex += 1;
+                        nightlight.Show(common, false);
+                    }
+                    break;
             }
             completeView.Btncomplete.MouseUpEventHandler += (sender, e) =>
             {

--
Gitblit v1.8.0