// FUNCTIONS
 public List<byte> toBytes()
 {
     List<byte> byteFile = new List<byte>();
     foreach (DDD_inventory_Command entry in entries)
     {
         byteFile.AddRange(BinaryWrapper.toBytes(entry));
     }
     return byteFile;
 }
Ejemplo n.º 2
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            List <byte> byteFile = new List <byte>();

            foreach (DDD_spirit_Entry entry in entries)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry));
            }
            return(byteFile);
        }
Ejemplo n.º 3
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            List <byte> byteFile = new List <byte>();

            foreach (DDD_lboard_Entry entry in entries)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry));
            }
            //byteFile.AddRange(BinaryHelper.hexStringAsBytes(HEX_EOF));
            return(byteFile);
        }
Ejemplo n.º 4
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            List <byte> byteFile = new List <byte>();

            recalcCounts();
            byteFile.AddRange(BinaryWrapper.toBytes(header));

            foreach (DDD_tboxdt_Entry entry in entries)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry));
            }
            return(byteFile);
        }
Ejemplo n.º 5
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            List <byte> byteFile = new List <byte>();

            recalcCounts();
            byteFile.AddRange(BinaryWrapper.toBytes(header));

            foreach (DDD_itemdata_Entry entry in entries)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry));
            }
            byteFile.AddRange(BinaryHelper.hexStringAsBytes(HEX_EOF));
            return(byteFile);
        }
Ejemplo n.º 6
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            List <byte> byteFile = new List <byte>();

            recalcCounts();
            byteFile.AddRange(BinaryWrapper.toBytes(header));

            foreach (DDD_lbtList_Board board in boards)
            {
                byteFile.AddRange(board.toBytes());
            }
            byteFile.AddRange(filePadding);
            return(byteFile);
        }
Ejemplo n.º 7
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            List <byte> byteFile = new List <byte>();

            foreach (DDD_inventory_Entry entry in entries)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry));
            }
            foreach (DDD_inventory_EntryStack entry in entriesStack)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry));
            }
            return(byteFile);
        }
Ejemplo n.º 8
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            recalcCounts();

            List <byte> byteFile = new List <byte>();

            byteFile.AddRange(BinaryWrapper.toBytes(header));

            foreach (DDD_lboard_Board board in boards)
            {
                byteFile.AddRange(board.toBytes());
            }
            byteFile.AddRange(BinaryHelper.hexStringAsBytes(HEX_EOF));
            return(byteFile);
        }
Ejemplo n.º 9
0
        // FUNCTIONS

        public List <byte> toBytes()
        {
            List <byte> byteFile = new List <byte>();

            byteFile.AddRange(BinaryWrapper.toBytes(header));

            foreach (DDD_spcom_Count count in counts)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(count)); Console.WriteLine("count");
            }
            foreach (DDD_spcom_CombinationA entry in entriesA)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry)); Console.WriteLine("entryA");
            }
            foreach (DDD_spcom_CombinationB entry in entriesB)
            {
                byteFile.AddRange(BinaryWrapper.toBytes(entry)); Console.WriteLine("entryB");
            }

            return(byteFile);
        }