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

namespace JiShe.CollectBus.Protocol.Contracts.Protocol.Dto
{
    public class AFN12_F33_AnalysisDto
    {
        /// <summary>
        /// 终端抄表时间
        /// </summary>
        public string ReadTime { get; set; }

        /// <summary>
        /// 费率数M（1≤M≤12）
        /// </summary>
        public int RatingCount { get; set; }
        /// <summary>
        /// 当前正向有功总电能示值
        /// </summary>
        public ParentNodes F_A_Kwh { get; set; }
        /// <summary>
        /// 当前正向无功（组合无功1）总电能示值
        /// </summary>
        public ParentNodes R_R_Kvarh { get; set; }

        /// <summary>
        /// 当前一象限无功总电能示值
        /// </summary>
        public ParentNodes Q1_R_Kvarh { get; set; }
        /// <summary>
        /// 当前四象限无功总电能示值
        /// </summary>
        public ParentNodes Q4_R_Kvarh { get; set; }
    }

    public class ParentNodes
    {
        /// <summary>
        /// 总电能示值
        /// </summary>
        public decimal Total_Value { get; set; }
        public List<ChildNodes> childNodes { get; set; }
    }
    public class ChildNodes
    {
        /// <summary>
        /// 费率总电能示值
        /// </summary>
        public decimal Value { get; set; }

    }
}
