duheng
2025-02-07 c5136b7517998a076f1bd2e4abdda01decae8b6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System.Collections.Generic;
using System.Linq;
 
namespace IStation.Model
{
    /// <summary>
    /// 电力价格设置
    /// </summary>
    public class ElecPriceSetting : JsonModel<ElecPriceSetting>
    {
        public ElecPriceSetting() { }
 
        public ElecPriceSetting(ElecPriceSetting rhs)
        {
            this.MonthList = rhs.MonthList?.Select(x => new ElecPriceMonthSetting(x)).ToList();
        }
 
        /// <summary>
        /// 月份列表
        /// </summary>
        public List<ElecPriceMonthSetting> MonthList { get; set; }
    }
}