From 4917fb959e2befec07a693e72d7010c09494ec7c Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期四, 03 四月 2025 15:38:34 +0800 Subject: [PATCH] 1.新增二输水流量压力偏差曲线 --- 02-desktop/Desktop/IStation.Desktop.Ch2/Func/FuncElement.cs | 52 ++++++++++++++++++++++++++-------------------------- 1 files changed, 26 insertions(+), 26 deletions(-) diff --git a/02-desktop/Desktop/IStation.Desktop.Ch2/Func/FuncElement.cs b/02-desktop/Desktop/IStation.Desktop.Ch2/Func/FuncElement.cs index 547d952..2d3d329 100644 --- a/02-desktop/Desktop/IStation.Desktop.Ch2/Func/FuncElement.cs +++ b/02-desktop/Desktop/IStation.Desktop.Ch2/Func/FuncElement.cs @@ -13,49 +13,49 @@ public FuncElement(string name) { - this.Id = Guid.NewGuid().ToString(); - this.Name = name; - this.IsGroup = true; + Id = Guid.NewGuid().ToString(); + Name = name; + IsGroup = true; } public FuncElement(string name, List<FuncElement> elements = null) { - this.Id = Guid.NewGuid().ToString(); - this.Name = name; - this.IsGroup = true; - this.FuncElements = elements; + Id = Guid.NewGuid().ToString(); + Name = name; + IsGroup = true; + FuncElements = elements; } public FuncElement(string name, List<FuncElement> elements = null, Image img = null) { - this.Id = Guid.NewGuid().ToString(); - this.Name = name; - this.IsGroup = true; - this.Image = img; - this.FuncElements = elements; + Id = Guid.NewGuid().ToString(); + Name = name; + IsGroup = true; + Image = img; + FuncElements = elements; } public FuncElement(string name, string dllFileName, string controlFullName, WinFrmUI.eModular modular, Image img = null) { - this.Id = Guid.NewGuid().ToString(); - this.Name = name; - this.DllFileName = dllFileName; - this.ControlFullName = controlFullName; - this.SurfaceGuid = new WinFrmUI.SurfaceGuid(modular, name); - this.Image = img; - this.IsGroup = false; + Id = Guid.NewGuid().ToString(); + Name = name; + DllFileName = dllFileName; + ControlFullName = controlFullName; + SurfaceGuid = new WinFrmUI.SurfaceGuid(modular, name); + Image = img; + IsGroup = false; } public FuncElement(string name, string dllFileName, string controlFullName, WinFrmUI.SurfaceGuid sguid, Image img = null) { - this.Id = Guid.NewGuid().ToString(); - this.Name = name; - this.DllFileName = dllFileName; - this.ControlFullName = controlFullName; - this.SurfaceGuid = sguid; - this.Image = img; - this.IsGroup = false; + Id = Guid.NewGuid().ToString(); + Name = name; + DllFileName = dllFileName; + ControlFullName = controlFullName; + SurfaceGuid = sguid; + Image = img; + IsGroup = false; } /// <summary> -- Gitblit v1.9.3