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 AmmeterArchivesMatchInput
    {
        public string AreaCode { get; set; }

        public string Address { get; set; }

        public string GatherCode { get; set; }

        public AmmeterArchivesMatchDetailsInput Details { get; set; }
    }

    public class AmmeterArchivesMatchDetailsInput
    {
        public List<AmmeterArchivesMatchDetailsDataInput> Data { get; set; }
    }

    public class AmmeterArchivesMatchDetailsDataInput
    {
        /// <summary>
        /// 波特率
        /// </summary>
        public int BaudRate { get; set; }

        /// <summary>
        /// 端口号
        /// </summary>
        public int Port { get; set; }

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