using IStation.Epanet.Enums;
|
using System;
|
using System.ComponentModel.DataAnnotations;
|
|
namespace IStation.Epanet.Analysis
|
{
|
public class OutLink
|
{
|
public OutLink() { }
|
public OutLink(OutLink rhs)
|
{
|
this.Time = rhs.Time;
|
this.ID = rhs.ID;
|
this.Index = rhs.Index;
|
this.LinkType = rhs.LinkType;
|
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;
|
this.Flow = rhs.Flow;
|
this.Velocity = rhs.Velocity;
|
this.HeadLoss = rhs.HeadLoss;
|
this.Status = rhs.Status;
|
this.Setting = rhs.Setting;
|
this.Energy = rhs.Energy;
|
}
|
|
[Display(Name = "时间")]
|
public TimeSpan Time { get; set; }
|
|
[Display(Name = "标识")]
|
public string ID { get; set; }
|
|
[Display(Name = "索引")]
|
public int Index { get; set; }
|
|
[Display(Name = "类型")]
|
public LinkType LinkType { get; set; }
|
|
[Display(Name = "直径")]
|
public decimal Diameter { get; set; }
|
|
[Display(Name = "长度")]
|
public decimal Length { get; set; }
|
|
[Display(Name = "粗糙系数长度")]
|
public decimal Roughness { get; set; }
|
|
[Display(Name = "局部损失系数")]
|
public decimal MinorLoss { get; set; }
|
|
[Display(Name = "初始管段状态")]
|
public string InitStatus { get; set; }
|
|
[Display(Name = "管道粗糙度/初始水泵转速/初始阀门设置")]
|
public string InitSetting { get; set; }
|
|
[Display(Name = "主流反应系数")]
|
public decimal Kbulk { get; set; }
|
|
[Display(Name = "管壁反应系数")]
|
public decimal Kwall { get; set; }
|
|
[Display(Name = "流量")]
|
public decimal Flow { get; set; }
|
|
[Display(Name = "流速")]
|
public decimal Velocity { get; set; }
|
|
[Display(Name = "水头损失")]
|
public decimal HeadLoss { get; set; }
|
|
[Display(Name = "当前水泵或者阀门状态")]
|
public decimal Status { get; set; }
|
|
[Display(Name = "当前水泵转速或者阀门设置")]
|
public decimal Setting { get; set; }
|
|
[Display(Name = "消耗能量,以千瓦计")]
|
public decimal Energy { get; set; }
|
|
}
|
}
|