duheng
2025-03-24 6e1dd6f75cd7265f549a8b9e4d77ff5d88da9651
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
namespace PBS.Dto
{
    /// <summary>
    /// 电力价格时设置
    /// </summary>
    public class ElecPriceHourSetting
    {
        public ElecPriceHourSetting()
        { }
 
        public ElecPriceHourSetting(Model.ElecPriceHourSetting rhs)
        {
            this.TimeFrame = rhs.TimeFrame;
            this.StartHour = rhs.StartHour;
            this.EndHour = rhs.EndHour;
            this.Price = rhs.Price;
            this.Description = rhs.Description;
        }
 
        /// <summary>
        /// 时段
        /// </summary>
        public Model.eTimeFrame TimeFrame { get; set; }
 
        public string Name { get; set; }
 
        /// <summary>
        /// 开始小时(0-23)
        /// </summary>
        public int StartHour { get; set; }
 
        /// <summary>
        /// 结束小时(0-23)
        /// </summary>
        public int EndHour { get; set; }
 
        /// <summary>
        /// 价格
        /// </summary>
        public double Price { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }
    }
}