| | |
| | | using Hydro.CommonBase; |
| | | using Hydro.CommonBase; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | using Yw.WinFrmUI.Q3d; |
| | | using Yw.WinFrmUI.Q3d; |
| | | using Yw.WinFrmUI.Q3d; |
| | | //using System.Windows.Forms.DataVisualization.Charting; |
| | | using static Hydro.Core.ObjectEnum; |
| | | using static Yw.WinFrmUI.Q3d.ObjectEnum; |
| | | |
| | | namespace Hydro.MapView |
| | | namespace Yw.WinFrmUI.Q3d |
| | | { |
| | | [Serializable] |
| | | public class PumpViewModel : LinkViewModel |
| | | { |
| | | public static List<string> CurveStrings=new List<string> { "流量扬程曲线", "流量功率曲线", "流量效率曲线" }; |
| | | public static List<string> CurveStrings = new List<string> { "流量扬程曲线", "流量功率曲线", "流量效率曲线" }; |
| | | |
| | | [Browsable(false)] |
| | | public new string Name |
| | |
| | | } |
| | | [Browsable(false)] |
| | | [JsonIgnore] |
| | | |
| | | |
| | | public Factory factory { get; set; } = null; |
| | | |
| | | |
| | |
| | | { |
| | | if (!p.Datasets.ContainsKey(str)) |
| | | { |
| | | p.Datasets.Add(str, new Dataset(str,p)); |
| | | p.Datasets.Add(str, new Dataset(str, p)); |
| | | } |
| | | } |
| | | |