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

        public int MeterType { get; set; }

        public string GatherCode { get; set; }

        public AutoReportSetDetailsInput Detail { get; set; }
    }

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

        public string Address { get; set; }
    }

    public class AutoReportSetDetailsInput
    {
        /// <summary>
        /// 是否开启自动上报
        /// </summary>
        public bool IsOpen { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public int Pn { get; set; }

    }

}
