ningshuxia
2023-03-14 076301ec9c2c2fc117a062231c4c5f0e8ea6c23c
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Model
{
    /// <summary>
    /// 电力价格月设置
    /// </summary>
    public class ElecPriceMonthSetting
    {
        /// <summary>
        /// 
        /// </summary>
        public ElecPriceMonthSetting() { }
 
        /// <summary>
        /// 
        /// </summary>
        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; }
    }
}