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("房间")] public string Room { get; set; } [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"; } } }