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 AutoReportCollectionItemsSetInput
    {
        public List<AutoReportCollectionItemsSetCodeInput> Codes { get; set; }

        public int MeterType { get; set; }

        public string GatherCode { get; set; }

        public AutoReportCollectionItemsSetDetailsInput Detail { get; set; }
    }

    public class AutoReportCollectionItemsSetCodeInput
    {
        public string AreaCode { get; set; }    

        public string Address { get; set; }
    }

    public class AutoReportCollectionItemsSetDetailsInput
    {
        public int Cycle { get; set; }

        public int Unit { get; set; }   

        public DateTime BaseTime { get; set; }

        public int CurveRatio { get; set; }

        public int Pn { get; set; }

        public List<AutoReportCollectionItemsSetDetailsPnFnInput> Details { get; set; }  

    }

    public class AutoReportCollectionItemsSetDetailsPnFnInput
    {
        public int Pn { get; set; }

        public int Fn { get; set; }
    }

}
