namespace IStation.Model { /// /// 电力价格时设置 /// public class ElecPriceHourSetting { public ElecPriceHourSetting() { } public ElecPriceHourSetting(ElecPriceHourSetting rhs) { TimeFrame = rhs.TimeFrame; StartHour = rhs.StartHour; EndHour = rhs.EndHour; Price = rhs.Price; Description = rhs.Description; } /// /// 时段 /// public eTimeFrame TimeFrame { get; set; } /// /// 开始小时(0-23) /// public int StartHour { get; set; } /// /// 结束小时(1-24) /// public int EndHour { get; set; } /// /// 价格 /// public double Price { get; set; } /// /// 备注 /// public string Description { get; set; } } }