using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hydro.MapView { [Serializable] public class NozzleViewModel:NodeViewModel { [Category("计算参数")] [Description("流量系数")] [DisplayName("流量系数K")] public float FlowCoefficient { get; set; } public override string ToString() { if (string.IsNullOrEmpty(PatternID)) PatternID = ""; return $"{ID}\t{Elev}\t{Demand}\t{PatternID}\t;\t"; } } }