Ejemplo n.º 1
0
            public SoundingRS_UL_ConfigDedicated Decode(BitArrayInputStream input)
            {
                SoundingRS_UL_ConfigDedicated dedicated = new SoundingRS_UL_ConfigDedicated();

                dedicated.InitDefaults();
                switch (input.ReadBits(1))
                {
                case 0:
                    dedicated.release = new object();
                    return(dedicated);

                case 1:
                    dedicated.setup = setup_Type.PerDecoder.Instance.Decode(input);
                    return(dedicated);
                }
                throw new Exception(GetType().Name + ":NoChoice had been choose");
            }
Ejemplo n.º 2
0
            public SoundingRS_UL_ConfigDedicated Decode(BitArrayInputStream input)
            {
                SoundingRS_UL_ConfigDedicated dedicated = new SoundingRS_UL_ConfigDedicated();
                dedicated.InitDefaults();
                switch (input.ReadBits(1))
                {
                    case 0:
                        dedicated.release=new object();
                        return dedicated;

                    case 1:
                        dedicated.setup = setup_Type.PerDecoder.Instance.Decode(input);
                        return dedicated;
                }
                throw new Exception(GetType().Name + ":NoChoice had been choose");
            }