using System;
using System.Runtime.Serialization;

namespace WCS.Entity.Protocol.DataStructure
{
    /// <summary>
    ///  设备数据包
    /// </summary>
    [DataContract]
    public class DeviceDataPack
    {
        /// <summary>
        ///  堆垛机数据集
        /// </summary>
        [DataMember(Order = 0)]
        public DeviceDataCollection<SRMData> SRMDatas { get; set; }

        /// <summary>
        ///  穿梭车数据集
        /// </summary>
        [DataMember(Order = 1)]
        public DeviceDataCollection<RGVData> RGVDatas { get; set; }

        /// <summary>
        ///  站台数据集
        /// </summary>
        [DataMember(Order = 2)]
        public DeviceDataCollection<StationData> StationDatas { get; set; }

        ///// <summary>
        /////  扫码器数据
        ///// </summary>
        //[DataMember(Order = 3)]
        //public DeviceDataCollection<BCRData> BcrDatas { get; set; }

        /// <summary>
        ///  机器人数据集
        /// </summary>
        [DataMember(Order = 4)]
        public DeviceDataCollection<RobotData> RobotData { get; set; }

        /// <summary>
        ///  产线数据集
        /// </summary>
        [DataMember(Order = 5)]
        public DeviceDataCollection<ProdLineData> ProdLineData { get; set; }

        /// <summary>
        ///  时间
        /// </summary>
        [DataMember(Order = 6)]
        public DateTime Frame { get; set; }

        /// <summary>
        /// 回放最早时间
        /// </summary>
        [DataMember(Order = 7)]
        public int PlaybackSeconds { get; set; }
    }
}
