From e87985ec1dcb69beedaf9f95e8e7aba14b7c08d6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 09 十二月 2020 18:50:14 +0800
Subject: [PATCH] 2020-12-09 1.信息中心,增加下划线和点击Alter提醒详情。
---
HDL_ON/Entity/FunctionList.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index 5f27046..37990d5 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -370,8 +370,9 @@
// }
//})
//{ IsBackground = true }.Start();
- foreach (var localFunction in List.GetAllDeviceFunctionList())
+ for (int i =0;i < List.GetAllDeviceFunctionList().Count;)
{
+ var localFunction = List.GetAllDeviceFunctionList()[0];
var newFunction = deviceList.list.Find((obj) => obj.deviceId == localFunction.deviceId);
if (newFunction == null)//濡傛灉浜戠鏈�鏂版暟鎹病鏈夎鏉℃暟鎹紝鍒欐湰鍦伴渶瑕佸垹鎺夎鏁版嵁璁板綍
{
@@ -379,6 +380,7 @@
}
else
{
+ i++;
if (localFunction.modifyTime != newFunction.modifyTime)
{
localFunction.name = newFunction.name;
@@ -431,8 +433,9 @@
// }
//})
//{ IsBackground = true }.Start();
- foreach (var localScene in List.scenes)
+ for(int i=0;i<List.scenes.Count;)
{
+ var localScene = List.scenes[i];
var newScene = sceneList.Find((obj) => obj.userSceneId == localScene.userSceneId);
if (newScene == null)//濡傛灉浜戠鏈�鏂版暟鎹病鏈夎鏉℃暟鎹紝鍒欐湰鍦伴渶瑕佸垹鎺夎鏁版嵁璁板綍
{
@@ -440,6 +443,7 @@
}
else
{
+ i++;
if (localScene.modifyTime != newScene.modifyTime)
{
localScene.name = newScene.name;
--
Gitblit v1.8.0