예제 #1
0
            public LoggedMeasurementConfiguration_r10_IEs Decode(BitArrayInputStream input)
            {
                LoggedMeasurementConfiguration_r10_IEs es = new LoggedMeasurementConfiguration_r10_IEs();

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 2);

                es.traceReference_r10           = TraceReference_r10.PerDecoder.Instance.Decode(input);
                es.traceRecordingSessionRef_r10 = input.readOctetString(2);
                es.tce_Id_r10           = input.readOctetString(1);
                es.absoluteTimeInfo_r10 = input.ReadBitString(0x30);
                if (stream.Read())
                {
                    es.areaConfiguration_r10 = AreaConfiguration_r10.PerDecoder.Instance.Decode(input);
                }
                int nBits = 3;

                es.loggingDuration_r10 = (LoggingDuration_r10)input.ReadBits(nBits);
                nBits = 3;
                es.loggingInterval_r10 = (LoggingInterval_r10)input.ReadBits(nBits);
                if (stream.Read())
                {
                    es.nonCriticalExtension = LoggedMeasurementConfiguration_v1080_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
예제 #2
0
 public LoggedMeasurementConfiguration_r10_IEs Decode(BitArrayInputStream input)
 {
     LoggedMeasurementConfiguration_r10_IEs es = new LoggedMeasurementConfiguration_r10_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     es.traceReference_r10 = TraceReference_r10.PerDecoder.Instance.Decode(input);
     es.traceRecordingSessionRef_r10 = input.readOctetString(2);
     es.tce_Id_r10 = input.readOctetString(1);
     es.absoluteTimeInfo_r10 = input.ReadBitString(0x30);
     if (stream.Read())
     {
         es.areaConfiguration_r10 = AreaConfiguration_r10.PerDecoder.Instance.Decode(input);
     }
     int nBits = 3;
     es.loggingDuration_r10 = (LoggingDuration_r10)input.ReadBits(nBits);
     nBits = 3;
     es.loggingInterval_r10 = (LoggingInterval_r10)input.ReadBits(nBits);
     if (stream.Read())
     {
         es.nonCriticalExtension = LoggedMeasurementConfiguration_v1080_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }