ningshuxia
2025-04-16 a67da735b33be01b24845ce03ae7551cf55ddbbc
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
namespace IStation.Model
{
    /// <summary>
    /// 电力价格时设置
    /// </summary>
    public class ElecPriceHourSetting
    {
        public ElecPriceHourSetting() { }
 
        public ElecPriceHourSetting(ElecPriceHourSetting rhs)
        {
            TimeFrame = rhs.TimeFrame;
            StartHour = rhs.StartHour;
            EndHour = rhs.EndHour;
            Price = rhs.Price;
            Description = rhs.Description;
        }
 
        /// <summary>
        /// 时段
        /// </summary>    
        public eTimeFrame TimeFrame { get; set; }
 
        /// <summary>
        /// 开始小时(0-23)
        /// </summary>    
        public int StartHour { get; set; }
 
        /// <summary>
        /// 结束小时(1-24)
        /// </summary>    
        public int EndHour { get; set; }
 
        /// <summary>
        /// 价格
        /// </summary>    
        public double Price { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>    
        public string Description { get; set; }
    }
}