| | |
| | | using Hydro.CommonBase; |
| | | using CommonBase; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | |
| | | |
| | | namespace Hydro.MapView |
| | | { |
| | | public class PumpViewModel:LinkViewModel |
| | | public class PumpViewModel : LinkViewModel |
| | | { |
| | | [Browsable(false)] |
| | | public override string Name { get; set; } |
| | | public new string Name |
| | | { |
| | | get { return base.Name; } |
| | | set { base.Name = value; } |
| | | } |
| | | [Category("1、基本信息")] |
| | | [DisplayName("水泵类型")] |
| | | public PumpType Type { get; set; } |
| | | public new PumpType Type { get; set; } |
| | | |
| | | [Browsable(false)] |
| | | public Dictionary<string, Dataset> Datasets { get; set; } = new Dictionary<string, Dataset>(); |
| | |
| | | [Browsable(false)] |
| | | public string factoryName |
| | | { |
| | | set;get; |
| | | set; get; |
| | | //get |
| | | //{ |
| | | // if (factory != null) |
| | |
| | | [Category("3、计算结果")] |
| | | [DisplayName("2)扬程")] |
| | | [Browsable(true)] |
| | | public float EN_HEADLOSS { get { return -base.EN_HEADLOSS; } } |
| | | public new float EN_HEADLOSS { get { return -base.EN_HEADLOSS; } } |
| | | |
| | | [Browsable(false)] |
| | | public float EN_VELOCITY { get { return base.EN_VELOCITY; } } |
| | | public new float EN_VELOCITY { get { return base.EN_VELOCITY; } } |
| | | |
| | | |
| | | public override string ToString() |