From 6037b236752cc5d90457e3aed8252aa697631aab Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 22 十二月 2020 16:43:21 +0800
Subject: [PATCH] 20201222-4

---
 HDL_ON/Entity/FunctionList.cs |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index b5c9513..aaacb3c 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -91,10 +91,18 @@
         /// </summary>
         public List<Sensor> sensorsEnvironmentalScience = new List<Sensor>();
 
+        public List<Scene> scenes = new List<Scene>();
         /// <summary>
         /// 鍦烘櫙鍒楄〃
         /// </summary>
-        public List<Scene> scenes = new List<Scene>();
+        //public List<Scene> Scenes
+        //{
+        //    get
+        //    {
+        //        List.scenes = List.scenes.OrderByDescending(o => o.createTime).ToList();
+        //        return List.scenes;
+        //    }
+        //}
         /// <summary>
         /// 鍔熻兘鍒楄〃
         /// </summary>
@@ -601,6 +609,7 @@
                             {
                                 DriverLayer.Control.Ins.SendApiReadCommand(page);
                                 page.Clear();
+                                count = 0;
                             }
                         }
                         DriverLayer.Control.Ins.SendApiReadCommand(page);

--
Gitblit v1.8.0