using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GWSocketClient.xml.dataItem;
using GWSocketClient.xml.dataItem.data;

namespace GWSocketClient.xml
{
    class AFN
    {
        public int afn;
        public int respAfnId;
        public int cmdId;
        public int type;
        public int check;
        public int isPT;
        public int dir;
        public int ack;
        public int status;
        public int mq;

        public List<DataElementType> DataElement = new List<DataElementType>();
        public List<DataType2> data = new List<DataType2>();

        public override string ToString()
        {
            return "afn=" + afn +
                   ",respAfnId=" + respAfnId +
                   ",cmdId=" + cmdId +
                   ",type=" + type +
                   ",check=" + check +
                   ",isPT=" + isPT +
                   ",dir=" + dir +
                   ",ack=" + ack +
                   ",status=" + status +
                   ",mq=" + mq +
                   ",DataElement.Count=" + DataElement.Count +
                   ",data.Count=" + data.Count;
        }
    }
}