From 785c92f5078cb7aeb05b13f6da627defb6525b36 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期三, 20 三月 2024 13:09:40 +0800 Subject: [PATCH] 代码修改 --- IStation.Application.Core/1-dispatch/1-solution/dto/output/StationDispatchOutput.cs | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/IStation.Application.Core/1-dispatch/1-solution/dto/output/StationDispatchOutput.cs b/IStation.Application.Core/1-dispatch/1-solution/dto/output/StationDispatchOutput.cs index 88310cd..576d0b5 100644 --- a/IStation.Application.Core/1-dispatch/1-solution/dto/output/StationDispatchOutput.cs +++ b/IStation.Application.Core/1-dispatch/1-solution/dto/output/StationDispatchOutput.cs @@ -6,6 +6,27 @@ public class StationDispatchOutput { /// <summary> + /// + /// </summary> + public StationDispatchOutput() { } + + /// <summary> + /// + /// </summary> + public StationDispatchOutput(StationDispatchOutput rhs) + { + this.Id = rhs.Id; + this.Index = rhs.Index; + this.Q = rhs.Q; + this.H = rhs.H; + this.E = rhs.E; + this.P = rhs.P; + this.WP = rhs.WP; + this.UWP = rhs.UWP; + this.Pumps = rhs.Pumps?.ToList(); + } + + /// <summary> /// 娉电珯鏍囪瘑 /// </summary> public string Id { get; set; } -- Gitblit v1.9.3