From 24fb6d95e0416ac3c00a93b87359567e45568a89 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期二, 17 十二月 2024 10:07:13 +0800 Subject: [PATCH] 曲线关联 bug更新 --- Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeMain.cs | 27 ++++++++++++++++++++++++--- 1 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeMain.cs b/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeMain.cs index 9490eeb..db4d1ba 100644 --- a/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeMain.cs +++ b/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeMain.cs @@ -6,7 +6,7 @@ /// 绠¢亾绠$悊 /// </summary> [SysType("assets_pipe_main")] - public class AssetsPipeMain : BaseModel, ISorter, System.ICloneable + public class AssetsPipeMain : BaseModel, ISorter, IFlags, IParas, ITagName, System.ICloneable { /// <summary> /// @@ -25,6 +25,9 @@ this.Darcy = rhs.Darcy; this.Manning = rhs.Manning; this.KeyWord = rhs.KeyWord; + 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; } @@ -41,6 +44,9 @@ this.Darcy = rhs.Darcy; this.Manning = rhs.Manning; this.KeyWord = rhs.KeyWord; + 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; } @@ -69,6 +75,21 @@ /// 璇嗗埆鍏抽敭瀛� /// </summary> public List<string> KeyWord { get; set; } + + /// <summary> + /// 鍙傛暟 + /// </summary> + public Dictionary<string, string> Paras { get; set; } + + /// <summary> + /// 鏍囩 + /// </summary> + public List<string> Flags { get; set; } + + /// <summary> + /// 鏍囧織 + /// </summary> + public string TagName { get; set; } /// <summary> /// 绯绘暟 @@ -103,9 +124,9 @@ /// <summary> /// /// </summary> - public AssetsPumpGroupAndMainMap Clone() + public AssetsPumpGroupAndMainMapping Clone() { - return (AssetsPumpGroupAndMainMap)this.MemberwiseClone(); + return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone(); } object ICloneable.Clone() -- Gitblit v1.9.3