ningshuxia
2025-03-24 f7d479db638f3d9e3aeb05ec82dc2818f14bf903
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
namespace PBS.Vmo
{
    /// <summary>
    /// 电力价格月设置
    /// </summary>
    public class ElecPriceMonthSetting
    {
        public ElecPriceMonthSetting()
        { }
 
        public ElecPriceMonthSetting(Dto.ElecPriceMonthSetting rhs)
        {
            this.Name = rhs.Name;
            this.StartMonth = rhs.StartMonth;
            this.EndMonth = rhs.EndMonth;
            this.HourList = rhs.HourList?.Select(x => new ElecPriceHourSetting(x)).ToList();
            this.Description = rhs.Description;
        }
 
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// 开始月份(1-12)
        /// </summary>
        public int StartMonth { get; set; }
 
        /// <summary>
        /// 结束月份(1-12)
        /// </summary>
        public int EndMonth { get; set; }
 
        /// <summary>
        /// 时列表
        /// </summary>
        public List<ElecPriceHourSetting> HourList { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }
    }
}