Пример #1
0
                public measResult_Type Decode(BitArrayInputStream input)
                {
                    measResult_Type type = new measResult_Type();

                    type.InitDefaults();
                    input.ReadBit();
                    type.rssi = input.ReadBits(6);
                    return(type);
                }
Пример #2
0
                public measResult_Type Decode(BitArrayInputStream input)
                {
                    measResult_Type type = new measResult_Type();

                    type.InitDefaults();
                    BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1);

                    if (stream.Read())
                    {
                        type.pilotPnPhase = input.ReadBits(15);
                    }
                    type.pilotStrength = input.ReadBits(6);
                    return(type);
                }
Пример #3
0
                public measResult_Type Decode(BitArrayInputStream input)
                {
                    BitMaskStream   stream2;
                    measResult_Type type = new measResult_Type();

                    type.InitDefaults();
                    bool          flag   = input.ReadBit() != 0;
                    BitMaskStream stream = new BitMaskStream(input, 2);

                    if (stream.Read())
                    {
                        type.utra_RSCP = input.ReadBits(7) + -5;
                    }
                    if (stream.Read())
                    {
                        type.utra_EcN0 = input.ReadBits(6);
                    }
                    if (flag)
                    {
                        stream2 = new BitMaskStream(input, 1);
                        if (stream2.Read())
                        {
                            type.additionalSI_Info_r9 = AdditionalSI_Info_r9.PerDecoder.Instance.Decode(input);
                        }
                    }
                    if (flag)
                    {
                        stream2 = new BitMaskStream(input, 1);
                        if (stream2.Read())
                        {
                            int nBits = 1;
                            type.primaryPLMN_Suitable_r12 = (primaryPLMN_Suitable_r12_Enum)input.ReadBits(nBits);
                        }
                    }
                    return(type);
                }
Пример #4
0
 public measResult_Type Decode(BitArrayInputStream input)
 {
     measResult_Type type = new measResult_Type();
     type.InitDefaults();
     input.readBit();
     type.rssi = input.readBits(6);
     return type;
 }
Пример #5
0
 public measResult_Type Decode(BitArrayInputStream input)
 {
     BitMaskStream stream2;
     measResult_Type type = new measResult_Type();
     type.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         type.rsrpResult = input.readBits(7);
     }
     if (stream.Read())
     {
         type.rsrqResult = input.readBits(6);
     }
     if (flag)
     {
         stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             type.additionalSI_Info_r9 = AdditionalSI_Info_r9.PerDecoder.Instance.Decode(input);
         }
     }
     if (flag)
     {
         stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             int nBits = 1;
             type.primaryPLMN_Suitable_r12 = (primaryPLMN_Suitable_r12_Enum)input.readBits(nBits);
         }
     }
     return type;
 }
Пример #6
0
 public measResult_Type Decode(BitArrayInputStream input)
 {
     measResult_Type type = new measResult_Type();
     type.InitDefaults();
     BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1);
     if (stream.Read())
     {
         type.pilotPnPhase = input.readBits(15);
     }
     type.pilotStrength = input.readBits(6);
     return type;
 }