using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JiShe.CollectBus.EnergySystem.Dto
{
    /// <summary>
    /// 时段设置输入
    /// </summary>
    public class TimeSetInput
    {
        /// <summary>
        /// 集中器号
        /// </summary>
        public string FocusCode { get; set; }

        /// <summary>
        /// 电表地址
        /// </summary>
        public string MeterAddress { get; set; }

        /// <summary>
        /// 电表ID
        /// </summary>
        public int MeterID { get; set; }

        /// <summary>
        /// 采集端端口号
        /// </summary>
        public string GatherCode { get; set; }  

        public List<TimeSetDataInput> Data { get; set; }
    }

    public class TimeSetDataInput
    {
        /// <summary>
        /// 1,2,3
        /// </summary>
        public string Month { get; set; }

        public List<TimeSetMutileRateDetailInput> Data { get; set; }
    }

    public class TimeSetMutileRateDetailInput
    {
       
       public string Rate { get; set; }

       public List<TimeSetTimesInput> Times { get; set; }
    }

    public class TimeSetTimesInput
    {

        public string StartTime { get; set; }

        public string EndTime { get; set; }
    }
}
