From 320d7cc8feb394d0ce3db2ec1d01593b554d990f Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 23 十二月 2020 10:57:13 +0800
Subject: [PATCH] 2020-12-23 1.更新

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

diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index 87bb532..b5c9513 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -207,7 +207,7 @@
             }
             try
             {
-                deviceFunctionList.OrderByDescending(o => o.usageCount).ToList();
+                deviceFunctionList = deviceFunctionList.OrderByDescending(o => o.controlCounter).ToList();
             }
             catch (Exception ex)
             {
@@ -399,10 +399,10 @@
                                 }
                                 else
                                 {
+                                    MainPage.Log($"deviceType:{localFunction.spk} local:{localFunction.modifyTime} server:{newFunction.modifyTime}");
                                     i++;
                                     if (localFunction.modifyTime != newFunction.modifyTime)
                                     {
-                                        MainPage.Log($"local:{localFunction.modifyTime}\r\n server:{newFunction.modifyTime}");
                                         localFunction.name = newFunction.name;
                                         localFunction.collect = newFunction.collect;
                                         localFunction.modifyTime = newFunction.modifyTime;

--
Gitblit v1.8.0