using IStation.Epanet.Enums; using System.ComponentModel.DataAnnotations; namespace IStation.Epanet.Analysis { public class InputLink { public InputLink() { } public InputLink(InputLink rhs) { this.ID = rhs.ID; this.Index = rhs.Index; this.Diameter = rhs.Diameter; this.Length = rhs.Length; this.Roughness = rhs.Roughness; this.MinorLoss = rhs.MinorLoss; this.InitStatus = rhs.InitStatus; this.InitSetting = rhs.InitSetting; this.Kbulk = rhs.Kbulk; this.Kwall = rhs.Kwall; } [Display(Name = "标识")] public string ID { get; set; } [Display(Name = "索引")] public int Index { get; set; } [Display(Name = "直径")] public float Diameter { get; set; } [Display(Name = "长度")] public float Length { get; set; } [Display(Name = "粗糙系数长度")] public float Roughness { get; set; } [Display(Name = "局部损失系数")] public float MinorLoss { get; set; } [Display(Name = "初始管段状态")] public float InitStatus { get; set; } [Display(Name = "管道粗糙度/初始水泵转速/初始阀门设置")] public float InitSetting { get; set; } [Display(Name = "主流反应系数")] public float Kbulk { get; set; } [Display(Name = "管壁反应系数")] public float Kwall { get; set; } } }