Beispiel #1
0
        public override List <byte[]> SerializationStatements()
        {
            var listOfSerializations = new List <byte[]>();

            listOfSerializations.AddRange(resetState.SerializationStatements());
            listOfSerializations.AddRange(acts.SerializationStatements());

            return(listOfSerializations);
        }
        public override List <byte[]> SerializationStatements()
        {
            var listOfSerializations = new List <byte[]>();

            listOfSerializations.AddRange(state.SerializationStatements());
            listOfSerializations.AddRange(shoulderImage.SerializationStatements());
            listOfSerializations.AddRange(gripperImage.SerializationStatements());
            listOfSerializations.AddRange(a.SerializationStatements());
            listOfSerializations.Add(BitConverter.GetBytes(this.timestep));
            listOfSerializations.Add(BitConverter.GetBytes(this.data_arrival_time));
            listOfSerializations.Add(BitConverter.GetBytes(this.data_processed_time));
            listOfSerializations.Add(BitConverter.GetBytes(this.beat_sent_time));
            listOfSerializations.Add(BitConverter.GetBytes(this.act_begin_time));
            listOfSerializations.Add(BitConverter.GetBytes(this.model_processed_time));

            return(listOfSerializations);
        }