From e9775d3013567b4f06ed5af72f02396f742af3bf Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 06 九月 2023 11:59:52 +0800
Subject: [PATCH] 编辑群控增加线程

---
 HDL_ON/Entity/Function/Function.cs |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs
index 557e8fa..711418f 100644
--- a/HDL_ON/Entity/Function/Function.cs
+++ b/HDL_ON/Entity/Function/Function.cs
@@ -867,6 +867,10 @@
 
             foreach (var attr in list)
             {
+                if(attr.key == FunctionAttributeKey.ColorfulBegin || attr.key == FunctionAttributeKey.ColorfulEnd || attr.key == FunctionAttributeKey.ColorfulTime)
+                {
+                    continue;
+                }
                 //绐楀笜鍚屾椂鍙戦�佸紑鍏宠窡鐧惧垎姣斾細鏈夐棶棰橈紝
                 if(spk == SPK.CurtainRoller || spk == SPK.CurtainTrietex || spk == SPK.CurtainDream)
                 {
@@ -888,13 +892,13 @@
                         var tt = GetAttribute(FunctionAttributeKey.TempType);
                         if (tt == null)
                         {
-                            attr.unit = "掳";
+                            attr.unit = "掳C";
                         }
                         else
                         {
                             if (tt.unit == string.Empty)
                             {
-                                attr.unit = "掳";
+                                attr.unit = "掳C";
                             }
                             else
                             {
@@ -1013,6 +1017,11 @@
         /// 鏇存柊鏃堕棿
         /// </summary>
         public DateTime refreshTime = DateTime.MinValue;
+        /// <summary>
+        /// 鏈�鍚庢洿鏂扮姸鎬佺殑鏃堕棿
+        /// </summary>
+        [Newtonsoft.Json.JsonIgnore]
+        public DateTime updateTime = DateTime.MinValue;
 
         /// <summary>
         /// 鑾峰彇鏈湴鎺у埗鏁版嵁

--
Gitblit v1.8.0