namespace JiShe.CollectBus.Protocol.Models
{
    /// <summary>
    /// 报文构建参数
    /// </summary>
    public class ProtocolBuildRequest
    {
        /// <summary>
        /// 集中器地址
        /// </summary>
        public required string FocusAddress { get; set; }
         
        /// <summary>
        /// 抄读计量点，也就是终端电表对应端口
        /// </summary>
        public int Pn { get; set; }

        /// <summary>
        /// 3761协议构建组合功能码
        /// </summary>
        public required string ItemCode { get; set; }

        /// <summary>
        /// 任务时间戳
        /// </summary>
        public long TimeStamp { get; set; }

        /// <summary>
        /// 集中器转发协议构建构建参数
        /// </summary>
        public SubProtocolBuildRequest SubProtocolRequest { get; set; } 
    }
}
