qin
2025-03-20 330002911a64ea58d6834b64228870228eb75391
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
using System.Collections.Generic;
using System.Linq;
 
namespace PBS.Model
{
    /// <summary>
    /// 电力价格月设置
    /// </summary>
    public class ElecPriceMonthSetting
    {
        public ElecPriceMonthSetting() { }
 
        public ElecPriceMonthSetting(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; }
    }
}