ningshuxia
2024-04-25 769413fc5ff52240f001fb4bcfcca21728fb275a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
using IStation.Epanet.Enums;
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; }
 
    }
}