From a5872f7ed264a634c809b026d4d181f99a78db1d Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期二, 10 十二月 2024 16:48:54 +0800
Subject: [PATCH] ResetMonitorValue bug修复

---
 Service/HStation.Service.Assets.Core/02-model/12-Compressor/AssetsCompressorSeries.cs |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/02-model/12-Compressor/AssetsCompressorSeries.cs b/Service/HStation.Service.Assets.Core/02-model/12-Compressor/AssetsCompressorSeries.cs
index 54782d2..6f38411 100644
--- a/Service/HStation.Service.Assets.Core/02-model/12-Compressor/AssetsCompressorSeries.cs
+++ b/Service/HStation.Service.Assets.Core/02-model/12-Compressor/AssetsCompressorSeries.cs
@@ -19,9 +19,10 @@
         {
             this.ID = rhs.ID;
             this.ParentIds = rhs.ParentIds;
+            this.CatalogID = rhs.CatalogID;
             this.Name = rhs.Name;
-            this.Paras = rhs.Paras;
-            this.Flags = rhs.Flags;
+            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
+            this.Flags = rhs.Flags?.ToList();
             this.TagName = rhs.TagName;
             this.SortCode = rhs.SortCode;
             this.Description = rhs.Description;
@@ -31,9 +32,10 @@
         {
             this.ID = rhs.ID;
             this.ParentIds = rhs.ParentIds;
+            this.CatalogID = rhs.CatalogID;
             this.Name = rhs.Name;
-            this.Paras = rhs.Paras;
-            this.Flags = rhs.Flags;
+            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
+            this.Flags = rhs.Flags?.ToList();
             this.TagName = rhs.TagName;
             this.SortCode = rhs.SortCode;
             this.Description = rhs.Description;
@@ -45,6 +47,11 @@
         public List<long> ParentIds { get; set; }
 
         /// <summary>
+        /// 鎵�灞炵被鍒獻D
+        /// </summary>
+        public long CatalogID { get; set; }
+
+        /// <summary>
         /// 鍚嶇О
         /// </summary>
         public string Name { get; set; }

--
Gitblit v1.9.3