duheng
2024-11-17 a2a57963e160a319276c5c8499f16c9809056e4c
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
using HStation.Assets;
using System.ComponentModel;
 
namespace HStation.WinFrmUI
{
    public class ExchangerCoefficientViewModel
    {
        public ExchangerCoefficientViewModel()
        { }
 
        public ExchangerCoefficientViewModel(Vmo.AssetsExchangerCoefficientVmo rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Material = rhs.Material;
            this.MinorLoss = rhs.MinorLoss;
        }
 
        /// <summary>
        /// id
        /// </summary>
        public long ID { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        [DisplayName("名称")]
        [Browsable(true)]
        public string Name { get; set; }
 
        /// <summary>
        /// 材料
        /// </summary>
        [DisplayName("材料")]
        [Browsable(true)]
        public string Material { get; set; }
 
        /// <summary>
        /// 局阻系数
        /// </summary>
        [DisplayName("局阻系数")]
        [Browsable(true)]
        public double MinorLoss { get; set; }
    }
}