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