Esempio n. 1
0
 public DeltaFList_PUCCH Decode(BitArrayInputStream input)
 {
     DeltaFList_PUCCH t_pucch = new DeltaFList_PUCCH();
     t_pucch.InitDefaults();
     int nBits = 2;
     t_pucch.deltaF_PUCCH_Format1 = (deltaF_PUCCH_Format1_Enum)input.ReadBits(nBits);
     nBits = 2;
     t_pucch.deltaF_PUCCH_Format1b = (deltaF_PUCCH_Format1b_Enum)input.ReadBits(nBits);
     nBits = 2;
     t_pucch.deltaF_PUCCH_Format2 = (deltaF_PUCCH_Format2_Enum)input.ReadBits(nBits);
     nBits = 2;
     t_pucch.deltaF_PUCCH_Format2a = (deltaF_PUCCH_Format2a_Enum)input.ReadBits(nBits);
     nBits = 2;
     t_pucch.deltaF_PUCCH_Format2b = (deltaF_PUCCH_Format2b_Enum)input.ReadBits(nBits);
     return t_pucch;
 }
Esempio n. 2
0
            public DeltaFList_PUCCH Decode(BitArrayInputStream input)
            {
                DeltaFList_PUCCH t_pucch = new DeltaFList_PUCCH();

                t_pucch.InitDefaults();
                int nBits = 2;

                t_pucch.deltaF_PUCCH_Format1 = (deltaF_PUCCH_Format1_Enum)input.ReadBits(nBits);
                nBits = 2;
                t_pucch.deltaF_PUCCH_Format1b = (deltaF_PUCCH_Format1b_Enum)input.ReadBits(nBits);
                nBits = 2;
                t_pucch.deltaF_PUCCH_Format2 = (deltaF_PUCCH_Format2_Enum)input.ReadBits(nBits);
                nBits = 2;
                t_pucch.deltaF_PUCCH_Format2a = (deltaF_PUCCH_Format2a_Enum)input.ReadBits(nBits);
                nBits = 2;
                t_pucch.deltaF_PUCCH_Format2b = (deltaF_PUCCH_Format2b_Enum)input.ReadBits(nBits);
                return(t_pucch);
            }