Beispiel #1
0
 public AC_BarringConfig Decode(BitArrayInputStream input)
 {
     AC_BarringConfig config = new AC_BarringConfig();
     config.InitDefaults();
     int nBits = 4;
     config.ac_BarringFactor = (ac_BarringFactor_Enum)input.readBits(nBits);
     nBits = 3;
     config.ac_BarringTime = (ac_BarringTime_Enum)input.readBits(nBits);
     config.ac_BarringForSpecialAC = input.readBitString(5);
     return config;
 }
            public static AC_BarringConfig Decode(BitArrayInputStream input)
            {
                var config = new AC_BarringConfig();

                InitDefaults();
                var nBits = 4;

                config.ac_BarringFactor = (ac_BarringFactor_Enum)input.readBits(nBits);
                nBits = 3;
                config.ac_BarringTime         = (ac_BarringTime_Enum)input.readBits(nBits);
                config.ac_BarringForSpecialAC = input.readBitString(5);
                return(config);
            }