Beispiel #1
0
        // FUNCTIONS

        public void loadFile(List <byte> byteFile)
        {
            DDD_spcom_File readFile = new DDD_spcom_File(byteFile);

            file.header = readFile.header;
            file.counts.Clear();
            file.entriesA.Clear();
            file.entriesB.Clear();
            foreach (DDD_spcom_Count count in readFile.counts)
            {
                file.counts.Add(count);
            }
            foreach (DDD_spcom_CombinationA entry in readFile.entriesA)
            {
                file.entriesA.Add(entry);
            }
            foreach (DDD_spcom_CombinationB entry in readFile.entriesB)
            {
                file.entriesB.Add(entry);
            }
        }
Beispiel #2
0
        // CONSTRUCTORS

        public DDD_spcomHandler(MainSocket mainSocketIn) : base(mainSocketIn, Enums.ProcessType.DDD_EGS)
        {
            file = new DDD_spcom_File();
        }