From 66da3b4ab0d982d5ca9a93603790d07d746d1e4b Mon Sep 17 00:00:00 2001 From: qinjie <qinjie@163.com> Date: 星期二, 14 十一月 2023 09:38:16 +0800 Subject: [PATCH] 优化底层代码 --- Hydro.Core/Base/NodeModel.cs | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/Hydro.Core/Base/NodeModel.cs b/Hydro.Core/Base/NodeModel.cs index 14fadf1..92d6433 100644 --- a/Hydro.Core/Base/NodeModel.cs +++ b/Hydro.Core/Base/NodeModel.cs @@ -14,28 +14,18 @@ { this.X = model.X; this.Y = model.Y; - this.Demand = model.Demand; this.Elev = model.Elev; - this.PatternID = model.PatternID; } public float X { get; set; } public float Y { get; set; } /// <summary> - /// 闇�姘撮噺 - /// </summary> - public float Demand { get; set; } - - /// <summary> /// 鏍囬珮 /// </summary> public float Elev { get; set; } - /// <summary> - /// 鐢ㄦ按妯″紡缂栧彿 - /// </summary> - public string PatternID { get; set; } + public string ToCoorString() { -- Gitblit v1.9.3